Knowledge Base      


What should I know if my Wordpress site uses WPRocket?


WP Rocket is a popular WordPress caching plugin, often included as part of certain themes as well as used on its own.

If you are using WPRocket on your site, you'll need to add ClickMagick as an exception to your plugin's settings, so that your Click Tracking Code and Conversion Tracking Code work correctly.

To do that, follow these steps:
 
  1. In your WordPress dashboard, click on WP Rocket in the left sidebar.
     
  2. Choose "File Optimization"
     
  3. Copy the following exceptions exactly as below:
     
    clkmc.com
    clickmagick
    cmc.js
     
  4. Find the Minify JavaScript files setting, and paste the exceptions you copied to the "Excluded Javascript Files" box.
     
     

     
  5. Find the Delay JavaScript execution setting, and paste the exceptions you copied to the "Excluded Javascript Files" box.
     
     

     
  6. Save your changes, and click on WP Rocket in the left sidebar again. From the WP Rocket dashboard, click on the "Clear & Pre-Load Cache" button to reload your site's cache.


Article 906 Last updated: 01/18/2024 8:51:55 AM
https://www.clickmagick.com/kb/?article=906