pat6389's profile

22 Messages

 • 

1.2K Points

Monday, July 31st, 2017 6:48 PM

Closed

how to install statcounter

I'm trying to add 3rd party analytics (statcounter) to my website but for some reason it just doesn't work, It was very easy to do in the old sitebuilder, all I did was add the code into an HTML element

but with the new homesteadcloud when I embed the code in an HTML element it doesn't track

Here is the code, can someone please tell be what to do to make it work (I removed my ID and replaced it with XXXXX for privacy reasons)

<script type="text/javascript">
var sc_project=XXXXXXXX; 
var sc_invisible=1; 
var sc_security="XXXXXXXX"; 
var scJsHost = (("https:" == document.location.protocol) ?
"https://secure."; : "http://www.");
document.write("<sc"+"ript type='text/javascript' src='" +
scJsHost+
"statcounter.com/counter/counter.js'></"+"script>");
</script>

This conversation is no longer open for comments or replies and is no longer visible to community members.

No Responses!