Alexa Code

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Feb 05, 2014 3:58 am
Reply with quote
Report this post
I want to use alexa for metrics and statistics, where I should paste the code that alexa needs to do the work. I know is on Index.php and components.php, but not able jet to make it work. I also try default.php on layouts it doesn't work ether. Please help to figure where to paste the script, and where fiscally those files are located.
User avatar
Junior Boarder

GK User
Wed Feb 05, 2014 8:32 am
Reply with quote
Report this post
Could you post any information about the code you need to insert and post a link to any information about it?
User avatar
Moderator

GK User
Sun Feb 09, 2014 9:26 pm
Reply with quote
Report this post
I'm including the script that needs to be paste on somewhere to make alexa to work:

<!-- Start Alexa Certify Javascript -->
<script type="text/javascript">
_atrk_opts = { atrk_acct:"4C1Ui1a4ZP00Od", domain:"metronoticia.com",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=4C1Ui1a4ZP00Od" style="display:none" height="1" width="1" alt="" /></noscript>
<!-- End Alexa Certify Javascript -->


here is the link for alexa:

http://www.alexa.com


More info about alexa:

Alexa is the leading provider of free, global web metrics. Search Alexa to discover the most successful sites on the web by keyword, category, or country. Use our analytics for competitive analysis, benchmarking, market research, or business development. Use Alexa's Pro tools to optimize your company's presence on the web.
User avatar
Junior Boarder

GK User
Mon Feb 10, 2014 8:52 am
Reply with quote
Report this post
You need to paste this code into this file:
templates/gk_news/layouts/default.php
and paste the code where you decide (above ir ubder opening body tag, or just before closing body tag.
User avatar
Moderator

GK User
Wed Feb 12, 2014 7:34 am
Reply with quote
Report this post
I did as you suggest unfortunately it doesn't work, alexa is not able to see the script. Please help.

Thanks in Advance
User avatar
Junior Boarder

GK User
Wed Feb 12, 2014 8:49 am
Reply with quote
Report this post
Could You please post an url to your site?
User avatar
Moderator

GK User
Thu Feb 13, 2014 4:59 am
Reply with quote
Report this post
User avatar
Junior Boarder

GK User
Thu Feb 13, 2014 8:52 am
Reply with quote
Report this post
I don't see this code in the source code of your site. You either use some strange cache plugin that prevents changes from displaying, or you didn't uploaded those changes back to server.
User avatar
Moderator


cron