• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Adding Analytics Code Snippet – Conflicting Question

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Adding Analytics Code Snippet – Conflicting Question

This topic is: resolved

Tagged: analytics

  • This topic has 4 replies, 3 voices, and was last updated 4 years, 11 months ago by Scott G..
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • October 21, 2018 at 3:09 pm #223901
    Scott G.
    Member

    I have a question regarding entering Google Analytics code.

    Google says to add it to every page I want to track.
    I've also been told to go to Genesis --> Theme Settings --> Header and Footer Scripts --> Header Scripts, and paste the code there

    My questions is, can I do it through Genesis as described above, and cover all pages and posts? Or do I still need to enter it on every page and post as Google instructs?

    Currently, I have it in the Genesis theme settings AND on pages and posts... is that duplicity a problem?

    Thank you!
    Scott

    https://batteryreconditioningkit.com/
    October 22, 2018 at 5:03 am #223905
    Victor Font
    Moderator

    Entering it the Genesis way places it on all pages. Google's instructions are generic, intended for a wide audience and assumes no theme framework in use.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    October 22, 2018 at 5:12 am #223908
    andytc
    Participant

    Currently, I have it in the Genesis theme settings AND on pages and posts... is that duplicity a problem?

    Don't know if it is , probably not , but you DO have it appearing twice in the head , so do as Victor suggests and just enter it in the genesis theme settings only.

    October 22, 2018 at 5:18 am #223909
    andytc
    Participant

    Probably is ....

    https://webmasters.stackexchange.com/questions/54134/how-does-duplicate-google-analytics-tracking-code-affect-a-site

    October 22, 2018 at 9:51 am #223910
    Scott G.
    Member

    Thank you both!!

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Adding Analytics Code Snippet – Conflicting Question’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble