Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>If people visited the site before you added the <code>_setDomainName</code> call then it's possible they have tracking cookies set for both the subdomain and main domain. For example, if you remove the function call then visit <code>beachresort.purimas-lombok.com</code> you will get a <code>__utma</code> cookie for <code>beachresort.purimas-lombok.com</code>. If you then add the code again and visit the site you will get another <code>__utma</code> cookie for <code>.purimas-lombok.com</code>. </p> <p>When the GA JavaScript runs it will pick up the first set of cookies but when the user browses to another subdomain it won't recognize the cookies from the old domain and set new ones. For example, using the same situation as above, when you visit <code>sparesort.purimas-lombok.com</code> from <code>beachresort.purimas-lombok.com</code> it will look for cookies from <code>.purimas-lombok.com</code> but not find them because only the cookies from <code>beachresort.purimas-lombok.com</code> will be present on the browser (in fact the script won't even have access to them because of the cross domain security policy). When the new cookies are created, the <code>__utmz</code> cookie will be set with the new referrer (<code>beachresort.purimas-lombok.com</code>).</p> <p>This problem should reduce over time but if it's a serious issue then you could write a script that removes the old cookies before running the GA code. The JavaScript would need to go through cookies on a page and delete ones named using the GA <code>__utm</code> scheme and linked to the full domain name.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload