Note that there are some explanatory texts on larger screens.

plurals
  1. POTrack domain from subdomain (Google analytics)
    primarykey
    data
    text
    <p>I've added this code on a subdomain of my domain to track some pages but I don't know why it doesn't work.</p> <p>I would like to mention that the tracked pages are on the domain, not on the subdomain. </p> <pre><code>&lt;script type="text/javascript"&gt; window.onload = function () { var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-15318659-1']); _gaq.push(['_setDomainName', 'savoyhotel.ro']); var hdStep = parseInt(document.getElementById('hdStep').value); switch (hdStep) { case 1: { _gaq.push(['_trackPageview', '/alege-data']); if(document.location.hash == '#test-lucian-20130401') { alert('alege-data') } break; } case 2: { _gaq.push(['_trackPageview', '/alege-camera']); if(document.location.hash == '#test-lucian-20130401') { alert('alege-camera') } break; } case 3: { _gaq.push(['_trackPageview', '/date-personale']); if(document.location.hash == '#test-lucian-20130401') { alert('date-personale') } break; } case 4: { _gaq.push(['_trackPageview', '/finalizare-fara-garantare']); if(document.location.hash == '#test-lucian-20130401') { alert('finalizare-fara-garantare') } break; } case 5: { _gaq.push(['_trackPageview', '/finalizare']); if(document.location.hash == '#test-lucian-20130401') { alert('finalizare') } break; } } (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); })(); } &lt;/script&gt; </code></pre> <p>Anybody have any idea?</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.
 

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