Combine the code of Google Analytics and 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>

 

Guess you like

Origin blog.csdn.net/weixin_43932088/article/details/89486137
Recommended