Jump to content

[SOLVED]Adding alexa tracking code on every page of my website.


Recommended Posts

Hi people,

 

I just opened Alexa pro account and I about to insert their tracking code to my website.

They specifically indicated that I should add this code on to every page of the website, but manually that's not an easy task.

 

Is there some module or widget for doing that automatically?

 

Ty

Dean

Link to comment
Share on other sites

Hi Dean,

Yes, Waldi is right, the footer is the most logic place to put it:

/themes/<your theme folder>/footer.php

 

You have to tell us a little more if there's any visible block or so that comes with the tracking code, as it may need some layout definitions (css code) to make it nicely fit into your footer.

 

pascal

Link to comment
Share on other sites

tracking code is usually a part of external website. It mean that browser need to connect to DNS servers, and load new website contents (tracking pixel)

 

in some cases, when it is in header, may affect website load speed. It's because all things in header are loaded first (before other elements).

 

if you paste it in footer - it will be loaded as "last" element so it will not affect website load speed.

Link to comment
Share on other sites

  • 2 weeks later...
×
×
  • Create New...