Viewing 9 replies - 1 through 9 (of 9 total)
  • Why do you need any plugin for placing the analytics code in a WP file? Paste the code G. gives you in the footer and it should work. It works for me…

    Thread Starter armored

    (@armored)

    I’m afraid this is not a plug-in issue but more a WP setting I’m unable to find. I’m using the plug-in because this give me more options.

    Thanks for replying thou ??

    thats not the result of any WP setting. WP doesnt do magic goobly goop when it comes to determining, or more importantly, setting the referer — thats a PHP predefined variable and as such a host thing more than likely.

    Unless that plugin you are using is using register globals to determine the referer, and then somehow passing the data to the google code (in which case it ought to be shitcanned or rewritten). Until you do the normal thing, and put the google code in the “right” way, you wont ever know.

    Thread Starter armored

    (@armored)

    Until you do the normal thing, and put the google code in the “right” way, you wont ever know.

    I’m sorry but I don’t see what you mean… what “right place”?

    Thread Starter armored

    (@armored)

    Any further idea? Thanks!

    Thread Starter armored

    (@armored)

    Sorry for bumping it but I really need help with this… Thanks!

    First, are you using the code Google gave you, i.e.,

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

    Second, would you please compare the Google Analytics code you pasted in the plugin’s admin area and what appears on the HTML source code of the pages of your blog? If there’s a difference then the plugin is breaking the GA code. Ask Aaron to fix it.

    Let me know here what you discover.

    In the future, to ask for support on one particular plugin, start the topic on the plugin’s page, e.g., “Write a new topic” on https://www.ads-software.com/extend/plugins/wp-google-analytics/ .

    Thread Starter armored

    (@armored)

    Thanks for the tips! I never noticed there is a plug-in specific forum. Thanks for that too! ??

    I checked again and the code is the same in the page source as it is in the admin panel.

    I must have missed this thread somehow. Anyway, the plugin set to it’s simplest settings, just adds the Google Analytics code to the footer of your blog. Some of the more advanced settings ignore certain user types (in conjunction with role-manager, you can ignore/watch any user), track 404s in a friendly way (so you can find them and fix them), and even rewrite outgoing links to log them as well. However, it never touches the referrer. Are you positive that you have traffic coming from those links? If you are testing it by clicking them yourself, are you ignoring your user level?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Google Analytics not showing referring source’ is closed to new replies.