kaic Posted August 3, 2016 Share Posted August 3, 2016 Hello colleagues, I want to add counter visits Prestashop 1.6... use http://tyxo.com code is: <script> (function(i,s,o,g,r,a,m){i['TyxoObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//s.tyxo.com/c.js','tx'); tx('create', 'TX-728759229555726080'); tx('pageview'); </script> I tried to put it in site/theme/themename/footer.tpl - a failure global.tpl - a failure Where can I put it and how? Thanks! Excuse me for my bad english Link to comment Share on other sites More sharing options...
vekia Posted August 3, 2016 Share Posted August 3, 2016 hello what you mean by failure? you've got some errors? try to put code between {literal} {/literal} tags: {literal} <script> (function(i,s,o,g,r,a,m){i['TyxoObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//s.tyxo.com/c.js','tx'); tx('create', 'TX-728759229555726080'); tx('pageview'); </script> {/literal} Link to comment Share on other sites More sharing options...
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