Support » Plugin: Site Kit by Google - Analytics, Search Console, AdSense, Speed » there’s already an existing Analytics tag on your site (ID UA-437

  • Resolved lulua88

    (@lulua88)


    Hello dear wordpress Expert,

    I am writing you because, I am desperate. My google analytics on site kit keep showing “We’ve detected there’s already an existing Analytics tag on your site (ID UA-43776399-4)”.

    Because of that,I removed monsterinsight, then I had the bad idea to deleted my first google analytics account property (but I used a backup account to have it back). So, I am still using the same email.

    Clearly, after that, I delete the property; I then lost all my previous data analysis and the probleme is not solve, the message keep showing.

    I then create a new property yesterday (and download monsterinsights) but, I dont know if, it is connect to my Site. Can somebody check my site or help me fix it.

    I am trying to do my site on my own though, I am not a web developper, but this one, is complicated.

    thank you!!

    • This topic was modified 1 month, 3 weeks ago by lulua88.
    • This topic was modified 1 month, 3 weeks ago by lulua88.
Viewing 7 replies - 16 through 22 (of 22 total)
  • Thread Starter lulua88

    (@lulua88)

    <!DOCTYPE html>
    <html <?php language_attributes(); ?> class=”no-js no-svg”>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
    <meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″>
    <meta http-equiv=”X-UA-Compatible” content=”IE=edge”>
    <!– Google Tag Manager –>
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
    new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
    https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,’script’,’dataLayer’,’GTM-PBHLGFL’);</script>
    <!– End Google Tag Manager –>
    <link rel=”profile” href=”http://gmpg.org/xfn/11″&gt;
    <?php wp_head(); ?>
    <?php echo alia_option(‘asalah_custom_header_code’); ?>
    </head>
    <?php global $alia_header_h1_tag; $alia_header_h1_tag = 0; ?>
    <body <?php body_class(); ?>>
    <div id=”page” class=”site”>
    <!– Google Tag Manager (noscript) –>
    <noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-PBHLGFL&#8221;
    height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
    <!– End Google Tag Manager (noscript) –>
    <?php if (alia_option(‘alia_enable_sticky_header’)) { ?>
    <div class=”sticky_header_nav_wrapper header_nav_wrapper”>
    <div class=”header_nav”>
    <?php
    get_template_part( ‘template-parts/header/header_bar’ );
    ?>
    </div><!– end .header_nav –>
    </div><!– end .header_nav_wrapper –>
    <?php } ?>
    <div class=”site_main_container”>

    <header class=”site_header”>

    <?php if (alia_cross_option(‘alia_show_top_header_area’, ”, 1) && !(!is_home() && alia_cross_option(‘alia_show_top_header_homepage_area’) == true )): ?>

    <?php
    $custom_header_attr = ”;
    if(get_custom_header() && get_header_image()) {
    $custom_header_attr .= ‘ style=background-image:url(‘.get_header_image().’)’;
    }
    ?>
    <div class=”gray_header” <?php echo esc_attr($custom_header_attr); ?> >
    <div class=”container site_header”>
    <?php get_template_part( ‘template-parts/header/site’, ‘branding’ ); ?>
    </div>
    </div>
    <?php endif; ?>
    <div class=”header_nav_wrapper unsticky_header_nav_wrapper”>
    <div class=”header_nav”>
    <?php
    $alia_header_h1_tag = 1;
    get_template_part( ‘template-parts/header/header_bar’ );
    ?>
    </div><!– end .header_nav –>
    </div><!– end .header_nav_wrapper –>
    </header>

    <main id=”content” class=”site-content”>

    Thread Starter lulua88

    (@lulua88)

    I finally copying

    <!DOCTYPE html>
    <html <?php language_attributes(); ?> class=”no-js no-svg”>
    <head>
    <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
    <meta name=”viewport” content=”width=device-width, initial-scale=1, maximum-scale=1″>
    <meta http-equiv=”X-UA-Compatible” content=”IE=edge”>
    <!– Google Tag Manager –>
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
    new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
    https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,’script’,’dataLayer’,’GTM-PBHLGFL’);</script>
    <!– End Google Tag Manager –>
    <link rel=”profile” href=”http://gmpg.org/xfn/11″&gt;
    <?php wp_head(); ?>
    <?php echo alia_option(‘asalah_custom_header_code’); ?>
    </head>
    <?php global $alia_header_h1_tag; $alia_header_h1_tag = 0; ?>
    <body <?php body_class(); ?>>
    <div id=”page” class=”site”>
    <!– Google Tag Manager (noscript) –>
    <noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-PBHLGFL&#8221;
    height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
    <!– End Google Tag Manager (noscript) –>
    <?php if (alia_option(‘alia_enable_sticky_header’)) { ?>
    <div class=”sticky_header_nav_wrapper header_nav_wrapper”>
    <div class=”header_nav”>
    <?php
    get_template_part( ‘template-parts/header/header_bar’ );
    ?>
    </div><!– end .header_nav –>
    </div><!– end .header_nav_wrapper –>
    <?php } ?>
    <div class=”site_main_container”>

    <header class=”site_header”>

    <?php if (alia_cross_option(‘alia_show_top_header_area’, ”, 1) && !(!is_home() && alia_cross_option(‘alia_show_top_header_homepage_area’) == true )): ?>

    <?php
    $custom_header_attr = ”;
    if(get_custom_header() && get_header_image()) {
    $custom_header_attr .= ‘ style=background-image:url(‘.get_header_image().’)’;
    }
    ?>
    <div class=”gray_header” <?php echo esc_attr($custom_header_attr); ?> >
    <div class=”container site_header”>
    <?php get_template_part( ‘template-parts/header/site’, ‘branding’ ); ?>
    </div>
    </div>
    <?php endif; ?>
    <div class=”header_nav_wrapper unsticky_header_nav_wrapper”>
    <div class=”header_nav”>
    <?php
    $alia_header_h1_tag = 1;
    get_template_part( ‘template-parts/header/header_bar’ );
    ?>
    </div><!– end .header_nav –>
    </div><!– end .header_nav_wrapper –>
    </header>

    <main id=”content” class=”site-content”>

    Plugin Support James Osborne

    (@jamesosborne)

    @lulua88 Thanks for providing an update. It looks like Google Tag Manager has been added to your site, with your Analytics snippets contained within your connected Tag Manager container (GTM-PBHLGFL).

    In order to solve this you can access Google Tag Manager directly and remove any Universal Analytics tags, before publishing the latest version of this container – which doesn’t include any Universal Analytics tags. If you run into any trouble the product experts at the Tag Manager Help Center should be able to assist.

    If you prefer to remove the manually inserted Tag Manager snippets and you’re comfortable editing your header.php file I’ve highlighted the snippets to be removed below. I would recommend doing a backup of this file first and if you haven’t made edits previously contact whoever inserted this Tag Manager container for you.

    <!– Google Tag Manager –>
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({‘gtm.start’:
    new Date().getTime(),event:’gtm.js’});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!=’dataLayer’?’&l=’+l:”;j.async=true;j.src=
    ‘https://www.googletagmanager.com/gtm.js?id=’+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,’script’,’dataLayer’,’GTM-PBHLGFL’);</script>
    <!– End Google Tag Manager –>
    <!– Google Tag Manager (noscript) –>
    <noscript><iframe src=”https://www.googletagmanager.com/ns.html?id=GTM-PBHLGFL”
    height=”0″ width=”0″ style=”display:none;visibility:hidden”></iframe></noscript>
    <!– End Google Tag Manager (noscript) –>

    After doing so please revisit the Analytics setup screen within Site Kit (you may need to existing and reload once more).

    Thread Starter lulua88

    (@lulua88)

    thank you, try that !

    Plugin Support James Osborne

    (@jamesosborne)

    Great, let me know how you get on after giving it a try.

    Thread Starter lulua88

    (@lulua88)

    So I finally did nothing. I couldnt, because, I wasnt confident about removing.
    I am so sorry:

    Plugin Support James Osborne

    (@jamesosborne)

    No problem at all, totally understand.

    If you happen to know who does have access to the Analytics property you referenced you can request access, at which point this notice should no longer occur.

    Likewise if happen to avail of an IT contact who can assist you with removing the Tag Manager container code from your site that should allow you to setup Analytics within Site Kit using your preferred account and property.

    One last thing you can check is that Tag Manager container (GTM-PBHLGFL). If you are a contact you know has access to that container you can remove the Analytics tag for that container.

    Sorry we can’t be of more assistance on this. I’ll close this support topic as we’ve identified the source of the existing Analytics snippet, it’s just a matter of removing it or gaining access to it from your side.

Viewing 7 replies - 16 through 22 (of 22 total)
  • You must be logged in to reply to this topic.