Archived and Closed
This conversation is no longer open for comments or replies and is no longer visible to community members. The community moderator provided the following reason for archiving: Archived
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>
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>
Drew N, Community Manager
Pat6389
can you explain how to add the code to the footer... I'd like to give that a try
Thanks again
Drew N, Community Manager
Pat6389
the install instruction specify this.... "It's very important to install StatCounter in the correct place on your website i.e. just inside the closing "body" tag -
</body>
"so is there any other option you are of that might work?
Thanks
Drew N, Community Manager
Pat6389
cheers
Drew N, Community Manager
Pat6389
Drew N, Community Manager
Pat6389
cheers