Dynamic number insertion and caching plugins

CallRail’s JavaScript snippet allows you to integrate call tracking on your website using dynamic number insertion (DNI).

If you notice that your tracking numbers aren't swapping, it may be a good idea to check your plugins.

Certain plugins can cause the JavaScript snippet to fail. Plugins like WP Rocket work by removing code that is deemed unnecessary to improve a page’s load time. This can often cause our JavaScript snippet to be removed from your website. When this happens, the CallRail JavaScript no longer loads on your website, and numbers will not swap properly.

Utilizing a tool like Yoast SEO in addition to optimization plugins like WP Rocket can also cause issues, because WP Rocket will often cache the sitemap of the website. We suggest preventing sitemaps from being cached by these plugins, or excluding cdn.callrail.com from plugins like WP Rocket so our JavaScript snippet is not cached.



Was this article helpful?
0 out of 2 found this helpful

Articles in this section

See more
Ask the Community
Find best practices, post, and learn from CallRail users.
CallRail Support Hours
Weekdays 9:00am - 9:00pm EST