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
(Deprecated) Hide or Disable Clear Cache Button

We removed the clear cache button from column so there is no need to hide the button. https://www.wpfastestcache.com/tutorial/clear-cache-for-specific-page/

Placeholder Image
Clear Cache After Activate/Deactivate a Plugin

When you activate or deactivate a plugin, you might ask for the entire cache to be cleared.

Preload Settings
Preload Settings

A cached file is typically generated after a user initially visits a page. This creates a delay for the very…

Ready to get started?

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