• 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

Google Analytics – Not Implementing

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 › General Discussion › Google Analytics – Not Implementing

This topic is: not resolved

Tagged: going green, google analytics, not working

  • This topic has 2 replies, 3 voices, and was last updated 10 years, 5 months ago by flakkam.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 26, 2015 at 9:56 am #163579
    Honor90
    Member

    Hi,

    I've use the code Google Analytics gave me (.js), the full code:

    <script>
      (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
    
      ga('create', 'UA-MY-ID', 'auto');
      ga('send', 'pageview');
    
    </script>

    But I'm failing to see in my source code my Google Analyitcs information and Google's tag assistant is showing that Google Analytics isn't running on my website.

    I've put the code in Genesis Theme Settings - > Header Footer Scripts - > Enter scripts or code you would like output to wp_head():

    Any ideas?

    Container Gardening

    Thanks!

    http://www.markscontainergardening.com/
    August 26, 2015 at 9:38 pm #163689
    Christoph
    Member

    Hi,

    it looks like you have solved the issue.
    The GA code is showing in the source code and Google Analytics Debugger looks good, too.


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    August 27, 2015 at 12:14 am #163699
    flakkam
    Member

    Hope that works

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 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