Plugin Directory


Ignore:
Timestamp:
11/03/2026 07:56:50 AM (3 weeks ago)
Author:
emrevona
Message:
  • Fixed Google Analytics campaign parameters (utm_source, utm_medium, utm_campaign, utm_term, and utm_content) not being served from the main page cache via .htaccess
  • Fixed the Google Analytics exclusion rule not being added to the Start WPFC Exclude section in .htaccess
File:
1 edited

Legend:

Unmodified
Added
Removed
  • wp-fastest-cache/trunk/wpFastestCache.php

    r3780060 r3781308  
    23162316                                                if(isset($value->prefix) && $value->prefix == "yandexclickid"){
    23172317                                                        $htaccess_page_rules .= "RewriteCond %{QUERY_STRING} !(?:^|&)(?:yclid|yadclid|ymclid|ysclid|yzclid|yqrid|ybaip|etext)= [NC]\n";
     2318                                                }
     2319
     2320                                                if(isset($value->prefix) && $value->prefix == "googleanalytics"){
     2321                                                        $htaccess_page_rules .= "RewriteCond %{QUERY_STRING} !(?:^|&)utm_(?:source|medium|campaign|term|content)= [NC]\n";
    23182322                                                }
    23192323
Note: See TracChangeset for help on using the changeset viewer.