PushEngage + Drupal
Add web push notifications to a Drupal site by placing the PushEngage installation code in your site header with the JS Injector module. You do not need to touch theme files or write code.
What you can do with Drupal
Install without theme access
The JS Injector module adds the PushEngage script for you, so you never open a theme file.
Load the code in your header
You save the installation code as a JS Injector entry and set its placement to Header.
Test with a welcome notification
Set up a welcome notification in Installation Settings, then subscribe on your own site to confirm everything works.
How to set it up
- Create a PushEngage account and add your logo and site URL under Settings > Site Settings > Installation Settings.
- Copy the installation code from the HTTPS or HTTP tab on the same screen.
- In the Drupal admin, install both the Chaos Tools and JS Injector modules.
- Go to Configuration > Development > JS injector, add a new entry, paste the PushEngage code, set the placement to Header, and save.
- Back in PushEngage, customize your opt-in under Settings > Subscription Settings > Subscription Dialogbox.
- Set up a welcome notification and subscribe on your own site to test it.
Full guide: Drupal push notifications walkthrough
Good to know
- You need both the Chaos Tools and JS Injector modules. The guide says the method will not work with only one of them.
- You can start on the PushEngage free plan. Paid plans add more campaign options and larger subscriber lists.
- PushEngage's own guide installs through the code snippet and JS Injector.
About the partnership
- This is a code-based install.
- Drupal is listed on the PushEngage integrations page.
PushEngage Partner Directory
Ready to connect Drupal? Start with the setup guide.
PushEngage has a free plan, so you can install it and send your first campaign before you pay anything.