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

Clear Cache Link on the Toolbar
Clear Cache Link on the Toolbar

One of the ways to clear cache is clicking on the link which exists on the admin toolbar. By default,…

Placeholder Image
Redirect Loop

WP Fastest Cache adds 301 redirection rule into htaccess file. It causes redirect loop sometimes. If you have such issue,…

Placeholder Image
Hide Admin Toolbar Link

https://www.wpfastestcache.com/features/clear-cache-link-at-the-toolbar/

Ready to get started?

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