How do I configure my Wordpress site using WP Rocket to work with Web Push Notifications?

WP Rocket is a paid Wordpress plugin that helps your website load as fast as possible meaning people spend less time waiting and more time engaging with your content. This will help prevent any prolonged load times for your website visitors.

In this article, we'll cover the settings needed in order to utilize Web Push Notifications with your Wordpress pages using WP Rocket, or a similar page optimization plugin.

Step by Step Instructions

  1. After installing WP Rocket, you'll find it as a selectable menu item under 'Settings'.

    Screen_Shot_2021-01-15_at_2.43.46_PM.png

  2. Once you've accessed the WP Rocket Dashboard, select 'File Optimization'.

    Screen_Shot_2021-01-15_at_2.47.15_PM.png

  3. On the resulting page, under the 'JavaScript Files' section, enable the setting labeled 'Combine Javascript files'.

    Screen_Shot_2021-01-15_at_3.15.40_PM.png

  4. Then, paste the following into the text areas labeled 'Excluded Inline Javascript' and 'Excluded Javascript Files'.
    assets.aweber-static.com/aweberjs/aweber.js

    Screen_Shot_2021-01-15_at_3.16.58_PM.png

  5. Once completed, select the 'Save Changes' button found at the very bottom of the page.

Now you can enjoy short load times on your Wordpress pages while offering a way for your website visitors to opt into your Push Notifications! If you have not already done so, make sure you complete the setup instructions to enable Push Notifications. 

 

Have more questions? Submit a request
Powered by Zendesk