AndyC Posted June 17, 2019 Posted June 17, 2019 Hi Yet again Can anyone help with my stat counter code... The instructions are to place it just before the header on the footer.tpl. I have done that and it doesn't work. I've even gone as far as placing it in the header , global and various other places and it just doesn't work I have even gone as far as placing literal tags around it as 1 post suggested ,still no go ... My code looks something like this <!-- Default Statcounter code for my website https://www.my website.co.uk, www.mywebsite.co.uk --> <script type="text/javascript"> var sc_project=00000000; var sc_invisible=1; var sc_security="00000000"; var sc_https=1; </script> <script type="text/javascript" async></script> <noscript><div class="statcounter"><a title="web counter" href="https://statcounter.com/" target="_blank"><img class="statcounter" src="https://c.statcounter.com/041095/0/099ef/1/" alt="web counter"></a></div></noscript> <!-- End of Statcounter Code --> tia
wakabayashi Posted June 17, 2019 Posted June 17, 2019 Well the {literal}{/literal} stuff should actually help. Have you checked what is the output on the browser? Does the html code have your js code? In general I am a bit confused, what this is. Is this a counter how many visits your shop has? IMHO this is very outdated... I used this as a kid in the early 2000 🙂
AndyC Posted June 17, 2019 Author Posted June 17, 2019 (edited) lol... Yes it is , the code hasn't changed since I started using it in 2011 ,but it shows where people are visiting ,pages visited etc ,much like google analytics except it is almost instant Edited June 17, 2019 by AndyC
datakick Posted June 18, 2019 Posted June 18, 2019 10 hours ago, AndyC said: <!-- Default Statcounter code for my websitehttps://www.my website.co.uk, www.mywebsite.co.uk --> <script type="text/javascript"> var sc_project=00000000; var sc_invisible=1; var sc_security="00000000"; var sc_https=1; </script><script type="text/javascript" async></script> <noscript><div class="statcounter"><a title="web counter" href="https://statcounter.com/" target="_blank"><img class="statcounter" src="https://c.statcounter.com/041095/0/099ef/1/" alt="web counter"></a></div></noscript> <!-- End of Statcounter Code --> I think the problem is in the highlighted section -- there's no src attribute in this <script> tag, so the whole snippet doesn't do anything. It just declares few variables, but doesn't utilize them in any way
Factor Posted June 19, 2019 Posted June 19, 2019 On 6/17/2019 at 2:33 PM, AndyC said: I started using it in 2011 A Lot has changed in 8 years. That is like Ancient History in IT years...😎 1
AndyC Posted June 23, 2019 Author Posted June 23, 2019 lol ... Are there any alternatives that would work with TB ..
colorful-ant Posted June 23, 2019 Posted June 23, 2019 Sorry, I also consider this function to be totally obsolete. the customers / visitors of the page / shops do not have to see that. This may negatively affect actual orders.
AndyC Posted June 23, 2019 Author Posted June 23, 2019 Hi Customers don't see it at all and is similar to google analytics . By showing where customers come from who is viewing what . What screens they are using etc etc A lot of useful info
AndyC Posted June 23, 2019 Author Posted June 23, 2019 yeah but not so expensive.. Statcount was £4.99 a month which is why I stayed with it
colorful-ant Posted June 23, 2019 Posted June 23, 2019 I did not know that piwik costs something. So far, I only had to install it on my server and integrate it into the respective system.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now