How to unify Tracking ID prefix
If you use the same Publisher ID on several WordPress installs (separate domains, subdomains, subdirectories) you have to use a unique tracking prefix for each site.
Add in functions.php file of your theme:
1
function my_cbtrkr_subid_prefix()
2
{
3
return 'yourprefix';
4
}
5
add_filter('cbtrkr_subid_prefix', 'my_cbtrkr_subid_prefix');
Copied!
Please use only letters (a-z) for a new prefix.
Last modified 1yr ago
Copy link