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:
- Add an iTracker360 JS cache exclusion
- 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
Navigate to:
WP Admin → Settings → WP Rocket → File Optimization
Then:
- Scroll to JavaScript Files
- Locate the field:
- “Excluded JavaScript Files”
- 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.
- Go to:
WP Rocket → File Optimization - Find:
- “Delay JavaScript Execution”
- 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
Navigate to:
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
Cookie Name:
iTracker360_
Note: Use “iTracker360_” as the cookie name
Step 3: Clear Cache
After making changes:
- Go to WP Rocket Dashboard
- Click “Clear Cache”
- 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.