Jump to content

[SOLVED]Adding alexa tracking code on mobile theme.


Recommended Posts

Hello,

I inserted this code on to footer.tpl as footer displayes on every page.

That was the suggestion to my original question:
 

http://www.prestashop.com/forums/topic/270032-solvedadding-alexa-tracking-code-on-every-page-of-my-website/?do=findComment&comment=1351058

This is Alexa.com code that I need to insert into my mobile theme:
 

<!-- Start Alexa Certify Javascript -->
<script type="text/javascript">
_atrk_opts = { atrk_acct:"2eP5i1acVE00Uq", domain:"dekom.co.rs",dynamic: true};
(function() { var as = document.createElement('script'); as.type = 'text/javascript'; as.async = true; as.src = "https://d31qbv1cthcecs.cloudfront.net/atrk.js"; var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(as, s); })();
</script>
<noscript><img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=2eP5i1acVE00Uq" style="display:none" height="1" width="1" alt="" /></noscript>
<!-- End Alexa Certify Javascript -->

In that case I will have 100% coverage of that code on my website and Alexa will be able to track everything.

 

Thanks
Dean

Edited by Dolke (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...