Before you ask please READ THIS

google analytics won't work?

edited April 2012 in Airlock Posts: 15
Hi. Sorry again,

but I wonder why weird things are coming around after upgradation.
Now, I copied and pasted Google Analytics code in ur setting page and also checked inserting it in header.php but I can;t see the reflection either in view source or in dashboard of google. I took the help of a plugin and same...

could u help? plzzzz....

http://kreativmaestro.me

Comments

  • we already discussed over it and nothing came. remember? http://support.apollo13.eu/discussion/156

    -x-x-x---
    same again, I can;t find the best place to insert or a reason why it won't reflect in view-source at all.

    and yes, if you are not right with the place, read : https://support.google.com/analytics/bin/answer.py?hl=en&utm_id=ad&answer=1008080
  • AirAir
    edited April 2012 Posts: 10,970

    For the best performance across all browsers we suggest you position other scripts in your site in one of these ways:

    • before the tracking code snippet in the <head> section of your HTML
    • after both the tracking code snippet and all page content (e.g. at the bottom of the HTML body)

    Copy from page you have linked, so everything is OK in Airlock theme

     

    Now copy form SOURCE of your page

    <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script><script type="text/javascript"> try { var pageTracker = _gat._getTracker("UA-28273573-1"); pageTracker._trackPageview(); } catch(err) {}</script>

    So how can I help you couse i don't understand?

    Post edited by Air on
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!