Inserting Script For Google

CountryfiedCountryfied Registered Users Posts: 38 Big grins
edited April 28, 2011 in SmugMug Support
Signed up for google analytics. It is telling me to add a tracking script to my site. What page or where do I place this. The script is:

<script type="text/javascript">

var _gaq = _gaq || [];
_gaq.push();
_gaq.push();

(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

</script>

Comments

  • bwgbwg Registered Users, Retired Mod Posts: 2,119 SmugMug Employee
    edited April 28, 2011
    Signed up for google analytics. It is telling me to add a tracking script to my site. What page or where do I place this. The script is:

    no need for scripts here. we make it easy for you to add google analytics; just put your analytics id in the google analytics box in the settings tab of your control panel.

    more help here:
    http://www.smugmug.com/help/acctreport#google
    Pedal faster
  • CountryfiedCountryfied Registered Users Posts: 38 Big grins
    edited April 28, 2011
    bwg wrote: »
    no need for scripts here. we make it easy for you to add google analytics; just put your analytics id in the google analytics box in the settings tab of your control panel.

    more help here:
    http://www.smugmug.com/help/acctreport#google


    Thanks. Done.
Sign In or Register to comment.