Note that there are some explanatory texts on larger screens.

plurals
  1. POGoogle analytics put "internal pages" as traffic coming from referrals
    text
    copied!<p>I have a technically 5 in 1 website:</p> <p>the 5 links are: www.purimas-lombok.com (landing page in HTML) beachresort.purimas-lombok.com (wordpress 3.0.4) sparesort.purimas-lombok.com (wordpress 3.0.4) etc</p> <p>In wordpress i'm using the plugin google analytics for wordpress.</p> <p>In google analytics, I want those 5 website to appear like 1 website. I am using the setDomainName in the google code (see below). It's working but "sometimes" I still get the different websites in traffic source from refferals. I write "sometimes" because it's not all the time (between 0 and 4 max a day).</p> <p>Do you have any ideas why it's like that ? The code generated by the plugin is (almost) the same (see below) I checked it's present on all pages with sitescanga.com and it's oke</p> <p>Thank you</p> <p>GA code:</p> # <pre><code>var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-XXXXXXXX-1']); _gaq.push(['_setDomainName', '.purimas-lombok.com']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </code></pre> # <p>Code generated by the plugin in wordpress (for me is the same):</p> # <pre><code>&lt;script type="text/javascript"&gt;//&lt;![CDATA[ // Google Analytics for WordPress by Yoast v4.0.13 | http://yoast.com/wordpress/google-analytics/ var _gaq = _gaq || []; _gaq.push(['_setAccount','UA-17865992-1']); _gaq.push(['_setDomainName','.purimas-lombok.com'],['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); //]]&gt;&lt;/script&gt; </code></pre> #
 

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