Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Google Analytics – Status: Tracking Not Installed

google analytics
    • 9 years, 10 months ago Portmantech
      Participant

      Expired

      Hi,

      Like other posts I have found in this forum I am unable to get Google to recognise that I have tracking installed. This is the code that Google provide:

      <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-XXXXXXXX-X’, ‘auto’);

      ga(‘send’, ‘pageview’);

       

      </script>

       

      I have pasted the following into the Specular Tracking Code section

       

      jQuery(document).ready(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-XXXXXXXX-X’, ‘auto’);

      ga(‘send’, ‘pageview’);

       

      The panel reports a missing semicolon on line 3, I have put this through a couple of different validators and can’t see what the error is.

       

      Any thoughts on what I need to do to get this to work?

       

      Thanks, Alan

    • 9 years, 10 months ago Portmantech
      Participant

      Expired

      Just looking through the console for errors I have found the following

      [Error] ReferenceError: Can’t find variable: jQuery

      global code (www.mysitename.com, line 300)

       

    • 9 years, 10 months ago alokj999
      Participant

      Expired

      Hi: I have the same problem anybody has solution to this issues ?

    • 9 years, 10 months ago Ruco
      Keymaster

      Hello,

      You must paste the google tracking code without the script tag. Just the google code.

      I can check it if you can write the credentials of an admin user in your site.

      Best regards!

      • This reply was modified 9 years, 10 months ago by Ruco.
Viewing 3 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password