This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Analytics code

  • Creator
  • #3649

    Strange thing happened.. When I places the analytics code on the configuration page at the theme option it appear at the bottom left on the start page… check out

    Please advice!


Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #3667
    Jason Bobich

    Hello Niklas,

    You’re putting you in your specific Google Analytics profile ID, but what you need to put in is the code snippet Google gives you to put in your site.

    It’ll look something like this:

    <script type="text/javascript">
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-XXXXX-X']);
      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

    The reason the theme is setup like this is because the theme is not limited to only Google Analytics. You can put in Analytics code from any service you want. If the theme accepted just the Google profile ID, then people would be limited to just Google.


    that did it! – thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The forum ‘Alyeska Responsive WordPress Theme’ is closed to new topics and replies.