Open PuhlyaMan opened 3 years ago
Hello. I have two id (GA - G-XXXXX, UA - UA-XXXXX). How can I use them both, or is it impossible?
Example gtag.js:
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXXX"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-XXXXX'); gtag('config', 'G-XXXXX'); </script>
Did you ever find an answer to this?
As far as I'm aware you must use the UA. But correct me if I'm wrong
Hello. I have two id (GA - G-XXXXX, UA - UA-XXXXX). How can I use them both, or is it impossible?
Example gtag.js: