Cache Url with Google Analytics Parameters QueryString

Cache Url with Google Analytics Parameters QueryString

by admin

If a url contains a query string, the url is not cached but the situation is different for the urls which contains google analytics parameters.

Google Analytics allows adding campaign parameters to the destination URLs to collect information about the overall efficacy of the campaigns.

If a url contains any google analytics parameters such as utm_source, utm_medium, utm_campaign, utm_term, utm_content, the url is served via main page cache. You don’t need to do any extra action.

Example

https://www.example.com/mypost/?utm_source=summer-mailer&utm_medium=email&utm_campaign=summer-sale

This url is served via the cache of https://www.example.com/mypost/

How To Disable

If you want to disable this feature, you can exclude via “exclude” tab as below.

Related articles

Placeholder Image
Clear Cache of All Sites

If you use the MultiSite installation on your wordpress, separate cache is created for each site. When you click on…

Cache Url with Yandex Click ID Parameters QueryString
Cache Url with Yandex Click ID Parameters QueryString

If a url contains a query string, the url is not served via cache but the situation is different for…

Exclude Page
Exclude Page

Although WP Fastest Cache works flawlessly, sometimes optimizing pages can cause errors. In this case, instead of disabling the plugin…

Ready to get started?

Purchase your first license and see why 1,500,000+ websites globally around the world trust us.