snipt

Ctrl+h for KB shortcuts

HTML

Google Analytics code

1
2
3
4
5
6
7
<!-- Change UA-XXXXX-X to be your site's ID -->
<script>
	window._gaq = [['_setAccount','UAXXXXXXXX1'],['_trackPageview'],['_trackPageLoadTime']];
    		Modernizr.load({
      	load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
    	});
</script>
https://snipt.net/embed/a76ede378ea868b76ff12b545be3639d/
/raw/a76ede378ea868b76ff12b545be3639d/
a76ede378ea868b76ff12b545be3639d
html
HTML
7
2019-06-18T18:15:17
True
False
False
/api/public/snipt/31747/
google-analytics-code
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a> <a href="#L-7">7</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="c">&lt;!-- Change UA-XXXXX-X to be your site&#39;s ID --&gt;</span> </span><span id="L-2"><a name="L-2"></a><span class="p">&lt;</span><span class="nt">script</span><span class="p">&gt;</span> </span><span id="L-3"><a name="L-3"></a> <span class="nb">window</span><span class="p">.</span><span class="nx">_gaq</span> <span class="o">=</span> <span class="p">[[</span><span class="s1">&#39;_setAccount&#39;</span><span class="p">,</span><span class="s1">&#39;UAXXXXXXXX1&#39;</span><span class="p">],[</span><span class="s1">&#39;_trackPageview&#39;</span><span class="p">],[</span><span class="s1">&#39;_trackPageLoadTime&#39;</span><span class="p">]];</span> </span><span id="L-4"><a name="L-4"></a> <span class="nx">Modernizr</span><span class="p">.</span><span class="nx">load</span><span class="p">({</span> </span><span id="L-5"><a name="L-5"></a> <span class="nx">load</span><span class="o">:</span> <span class="p">(</span><span class="s1">&#39;https:&#39;</span> <span class="o">==</span> <span class="nx">location</span><span class="p">.</span><span class="nx">protocol</span> <span class="o">?</span> <span class="s1">&#39;//ssl&#39;</span> <span class="o">:</span> <span class="s1">&#39;//www&#39;</span><span class="p">)</span> <span class="o">+</span> <span class="s1">&#39;.google-analytics.com/ga.js&#39;</span> </span><span id="L-6"><a name="L-6"></a> <span class="p">});</span> </span><span id="L-7"><a name="L-7"></a><span class="p">&lt;/</span><span class="nt">script</span><span class="p">&gt;</span> </span></pre></div> </td></tr></table>
analytics, google, javascript