friends_tracking_parameters - akirk/friends GitHub Wiki

Filter the list of exact tracking parameters to strip from URLs.

Auto-generated Example

add_filter(
   'friends_tracking_parameters',
    function( array $params ) {
        // Your code here.
        return $params;
    }
);

Parameters

  • array $params List of exact parameter names to strip.

Files

apply_filters(
			'friends_tracking_parameters',
			array(
				'fbclid',    // Facebook.
				'gclid',     // Google Ads.
				'gclsrc',    // Google Ads.
				'dclid',     // Google Display Network.
				'gbraid',    // Google Ads (iOS).
				'wbraid',    // Google Ads (web-to-app).
				'msclkid',   // Microsoft Ads.
				'twclid',    // Twitter.
				'igshid',    // Instagram.
				'mc_eid',    // Mailchimp.
				'mc_cid',    // Mailchimp.
				'oly_enc_id', // Omeda.
				'oly_anon_id', // Omeda.
				'vero_id',   // Vero.
				'_hsenc',    // HubSpot.
				'_hsmi',     // HubSpot.
				'hsCtaTracking', // HubSpot.
				'ref',       // Generic referrer.
				'ref_src'
// ...

← All Hooks