[Plugin: Google Analytics for WordPress] Appending a dot to domain name
-
Hi, if I specify a domain name, a dot gets added:
“www.name.com” –> “.www.name.com”.I think that this adding of a dot should be removed, as the Google’s help site (the link at the option) suggest when it should be used and what it does. This way I don’t have an option to set the cookie on a specific domain without including subdomains.
In googleanalytics.php, line 820. This should be removed:
if (substr($options[‘domain’],0,1) != “.” && $options[‘domain’] != ‘none’)
$options[‘domain’] = “.”.$options[‘domain’];
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Google Analytics for WordPress] Appending a dot to domain name’ is closed to new replies.