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 Tracking Code lost after updating the theme

google analytics tracking code
    • 6 years, 5 months ago brnEnvato
      Participant

      Expired

      Hello. With the Tower theme upload, the problem with Google Analytics remains. Please, looking for solutions, I tried to remove the script tags, and now, in Tower\Tracking Code

      BEFORE

      <!– Global site tag (gtag.js) – Google Analytics –>
      <script async src=”https://www.googletagmanager.com/gtag/js?id=UA-39250536-4″></script&gt;

      <script>
      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag(‘js’, new Date());

      gtag(‘config’, ‘UA-39250536-4’);
      </script>

      —

      and NOW I use only

      window.dataLayer = window.dataLayer || [];
      function gtag(){dataLayer.push(arguments);}
      gtag(‘js’, new Date());
      gtag(‘config’, ‘UA-39250536-4’);

      If I look the page sorce, it seems all right, but there is no data in the Google admin panel.

      https://www.palestradellascrittura.it/

      I do not want to face the same problem for every Tower update (I bought three themes and I’m online), I have to solve using the properties of the Tower panel, to not have the same problem with every theme update.

      Thanks a lot for your support. Best regards. Bruno

    • 6 years, 5 months ago brnEnvato
      Participant

      Expired

      Excuse me, is it possible to have the solution to the problem with Google Analytics code? Thanks a lot. Best regards. Bruno

    • 6 years, 5 months ago Mirela
      Participant

      Hello,

      Can you please send us some valid wp credentials in a private reply? So we can check this closely.

      Best regards!

    • 6 years, 5 months ago brnEnvato
      Participant

      Expired

      This reply has been marked as private.
    • 6 years, 5 months ago Mirela
      Participant

      Hello,

      Sorry for the late reply.
      I checked the site and the code is placed where it should. See screenshot: https://ibb.co/dcjwzcK
      What problem are you having with it?

      Best regards!

    • 6 years, 5 months ago brnEnvato
      Participant

      Expired

      Yes Mihaila, I had also checked and I do not understand where is the error that blocks Google Analytics data. the problem is that Google Analytics, since I updated the theme, does not detect any data. But as you saw, the code is positioned right. This is the problem: the code is right, but it does not work, Google Analytics does not see the users connected.  Where could the anomaly be found to be resolved? Thanks a lot for your support Mihaila. Best regards

    • 6 years, 5 months ago Ruco
      Keymaster

      Hello,

      Please try to use this plugin instead: https://wordpress.org/plugins/google-analytics-dashboard-for-wp/

      If you also can’t activated it, i think that the hosting itself is unreachable by google.

      Let us know.

      Regards!

Viewing 6 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