• Hi!
    I have recently moved from an old fashioned html-website to a wordpress site, (but the domain is still the same) and I wonder: What shoud I do with my old Google tracking codes (from Google Analytics and Search Console)? Do I have to insert them in my new wordpress site? I have not done so yet, but the strange thing is that my Google Analytics is still recording traffic, does this mean that I don’t have to add the tracking code to my new wordpress site?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator bcworkz

    (@bcworkz)

    Yes, you need GA code on your site to properly track it. If your code is just to track visits to any page, it can be placed in your theme’s footer template. To avoid needing to reapply the code after theme updates, create a child theme. Any other code placement would depend on what you are tracking.

    There are plugins that help you place tracking code without editing template files.

    The traffic you are seeing could be from pages cached in user’s browsers, or it may be from “ghost referrers” that register visits without actually visiting your site. They are a type of spam that throws off your GA statistics.

    Thread Starter irik

    (@irik)

    Thanks a lot, bcworkz ??
    My GA and Search Console configurations were made some years ago, and I think they are somewhat messy, so I’m considering to create a new fresh account with GA and Seach Console. Will this be unwise? Will this be bad for my SEO? (I need to sumbmit a new sitemap anyway, for my new site). Or should I try to “clean” up my existing configuration?

    Moderator bcworkz

    (@bcworkz)

    I don’t think GA accounts affect SEO at all, but then no one truly knows what goes into Google search ranking except for a few Google engineers. I’m not that familiar with GA, so I may phrase the following incorrectly, but hopefully you understand my intent and do what’s required even if it’s not what I said ??

    I don’t see the need to start a new account, just start new views for your data collection and generate fresh code for those views. Delete all existing GA code from your site and place the fresh code for the new views. You can delete the old views if you want, or just ignore them.

    Thread Starter irik

    (@irik)

    Ok. Thanks for your reply!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Google Analytics and Search Console’ is closed to new replies.