合并Google Analytics和谷歌广告Google Ads的代码

<!-- Global site tag (gtag.js) - Google Analytics -->
  <script async src="https://www.googletagmanager.com/gtag/js?id=GA_TRACKING_ID">   </script>

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

    gtag('config', 'GA_TRACKING_ID');
    gtag('config','AW-CONVERSION_ID');
  </script>

猜你喜欢

转载自blog.csdn.net/weixin_43932088/article/details/89486137