1. Home
  2. Testing / Troubleshooting
  3. How to Use iTracker360 with WP Rocket on WordPress (Fix Caching Conflicts)
  1. Home
  2. Advanced Topics / Tracking
  3. How to Use iTracker360 with WP Rocket on WordPress (Fix Caching Conflicts)

How to Use iTracker360 with WP Rocket on WordPress (Fix Caching Conflicts)

When running iTracker360 on a WordPress website that uses WP Rocket, you may run into tracking issues caused by aggressive caching and optimization settings. While WP Rocket is excellent for improving performance, its features can sometimes interfere with tracking scripts and cookies—especially those used by iTracker360.

This guide walks you through how to properly configure WP Rocket so iTracker360 works reliably without sacrificing site speed.


In the WP Rocket plugin settings, you must add some cache exclusion rules:

  1. Add an iTracker360 JS cache exclusion
  2. Add a cache exclusion for the iTracker360 cookie

Why WP Rocket Can Break Tracking

WP Rocket applies several optimizations such as:

  • JavaScript minification and concatenation
  • Delayed or deferred JS execution
  • Page caching
  • Cookie caching rules

These features can prevent iTracker360 scripts from firing correctly or delay them to the point where tracking becomes inaccurate. Additionally, cached pages may ignore or overwrite tracking cookies.


Step 1: Exclude iTracker360 JavaScript

WP Admin → Settings → WP Rocket → File Optimization

Then:

  1. Scroll to JavaScript Files
  2. Locate the field:
    • “Excluded JavaScript Files”
  3. Add your iTracker360 script URL or keyword

Here is the WP Rocket documentation: https://docs.wp-rocket.me/article/39-excluding-external-js-from-concatenation

Example:

https://d2ieqaiwehnqqp.cloudfront.net/t21x36e840ca7d92db703a08f3fdf18b1.js

If “Delay JavaScript Execution” is Enabled

WP Rocket may delay scripts until user interaction, which can break tracking.

  1. Go to:
    WP Rocket → File Optimization
  2. Find:
    • “Delay JavaScript Execution”
  3. Add iTracker360 to the exclusion list

Here is the WP Rocket documentation: https://docs.wp-rocket.me/article/1349-delay-javascript-execution

https://d2ieqaiwehnqqp.cloudfront.net/t21x36e840ca7d92db703a08f3fdf18b1.js

Step 2: Exclude iTracker360 Cookies from Cache

WP Admin → Settings → WP Rocket → Advanced Rules

Under:

“Never Cache Cookies”

Add your iTracker360 cookie names.

Here is the WP Rocket documentation: https://docs.wp-rocket.me/article/1382-never-cache-cookies

iTracker360_

Note: Use “iTracker360_” as the cookie name


Step 3: Clear Cache

After making changes:

  1. Go to WP Rocket Dashboard
  2. Click “Clear Cache”
  3. Also clear:
    • CDN cache (if applicable)
    • Browser cache

Step 4: Test Tracking

After configuration:

  • Open your site in an incognito window
  • Use browser developer tools to confirm:
    • iTracker360 script loads immediately
    • Cookies are being set correctly
  • Verify tracking inside your iTracker360 dashboard

Final Thoughts

WP Rocket is a powerful caching plugin, but its aggressive optimization settings can conflict with tracking platforms like iTracker360. By excluding the necessary JavaScript files and cookies, you can maintain both accurate tracking and high performance.

Updated on March 27, 2026
Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support