How to add Statcounter?

Other Information

I’m trying to add Statcounter to my site. I’ve added the code to the index page which I believe I’ve done correctly. On Statcounter’s end they seem to not be able to detect the code on the index page. I think the problem is that I don’t have the correct Infinity site address for Statcounter to use. What is the correct site address so that Statcounter will be able to find it?

Hi and welcome to the forum

I had this code a long time ago (without counters and hidden)
at the bottom of the page just before the closed </body>

<script>var sc_project=YOURNUMBHERE; var sc_invisible=1; var sc_security="SECURNUMBHERE"; </script><script src="" async></script><noscript><img width="1" height="1" alt="" src="" /></noscript>

in addition, make sure that your browser does not block it - if you do not see visits

also, you have templates and codes on your stat project

you will get everything you need here (SEC NUMB, etc)

I have only modified my code to be fast and unnoticeable and without tooltips…etc.


Thanks for the tips but nothing shows up in Statcounter for hits. I think it might be where the index file is located that Statcounter can’t find. Would this be the proper location of the index file http:/www./ ? redirects to
therefore, any visit is unable to load statcounter.JS, which I assume you have in the index file code.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.