WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics for WordPress
Appending a dot to domain name (1 post)

  1. DSmidge
    Member
    Posted 3 years ago #

    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'];

    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic