Google跟踪代码管理器在页面底部导致空白图像

时间:2019-07-15 13:19:07

标签: html css wordpress

将Google标记添加到我的Wordpress网站时,页面底部的屏幕上将显示空白图像。我该如何隐藏或消除该图像,因为它没有类别或ID?

我尝试将Google标记放置在代码的不同部分(页眉,正文,页脚等)中。

我希望页面能够正常显示,而在页面底部无需添加额外的图像。该页面在页面底部包括一个不需要的空白图像。

这是页面:https://wearewaterproofing.com。标头中的代码:

    <!-- Placement: Paste this code as high in the <head> of the page as 
    possible. -->  

    <!-- 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-WDGLSGL');</script> 
    <!-- End Google Tag Manager -->

下面是body标记之后的代码:

    <!-- Placement: Additionally, paste this code immediately after the 
    opening <body> tag. -->  

    <!-- Google Tag Manager (noscript) -->
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM- 
    WDGLSGL"
    height="0" width="0" style="display:none;visibility:hidden"></iframe> 
    </noscript>
    <!-- End Google Tag Manager (noscript) -->

0 个答案:

没有答案
相关问题