Could anyone be so kind as to show me a screen shot of where google Analytics code is placed

5 replies
Hi guys,
Could anyone show me a screenshot of where google analytics code is placed ? I`m just not sure if its on the homepage html or in the editor ?

Please help someone

Jim
#analytics #code #google #kind #screen #shot #show
  • Profile picture of the author Andyhenry
    It goes in the 'head' section on any page you want to track....
    Signature

    nothing to see here.

    {{ DiscussionBoard.errors[3476260].message }}
    • Profile picture of the author jimkirk1943
      I`m sorry what do you mean `head` section ? On googles page it says paste before </head> does this just mean just my h1 tag? example blue widgets and on my homepage was..

      <h1>blue widgets</h1>

      So i paste the code like inbetween `widgets(code here)</h1>

      Thanks
      {{ DiscussionBoard.errors[3476290].message }}
      • Profile picture of the author Kev Stevenson
        @Jim

        No - not (code here)</h1>

        but

        (code here)</head>

        --------------------------
        Some of the first code on your page - near the top but exactly where depends on platform - will be

        Code:
        <head>
        meta stuff
        other stuff
        some other stuff
        </head>
        The 'other stuff' agains depends on how your site is set up.
        BUT
        The <head></head> tags will be there.

        Hope this helps,
        K

        P.S
        I also paste mine just before the </body> tag near the bottom of the page and it works fine there too.
        EDIT
        I'm guessing from your queston that you are using WordPress.
        If so,
        you need to go to the Editor and open header.php

        You should find the header tags in there...
        Signature

        {{ DiscussionBoard.errors[3476383].message }}
  • Profile picture of the author ChadOath
    Place it in the head of the page, right before the end < / head > tag.
    {{ DiscussionBoard.errors[3476269].message }}
    • Profile picture of the author Shaun OReilly
      Originally Posted by jimkirk1943 View Post

      Hi guys,
      Could anyone show me a screenshot of where google analytics code is placed ? I`m just not sure if its on the homepage html or in the editor ?

      Please help someone

      Jim
      As your sites seem to be driven by WordPress, here's
      a post you may find useful:

      How to Install Google Analytics in WordPress (no affil.)

      Rather than using plug-ins for this, I prefer to paste the
      Google Analytics code into footer.php (before the closing
      body tag: </body> ).

      Dedicated to mutual success,

      Shaun
      Signature

      .

      {{ DiscussionBoard.errors[3476287].message }}

Trending Topics