Google Analytics by MonsterInsights
[Plugin: Google Analytics for WordPress] Appending a dot to domain name (1 post)

  1. DSmidge
    Posted 5 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'];


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Analytics by MonsterInsights
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic