Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GA + UA #164

Open
PuhlyaMan opened this issue Jun 17, 2021 · 2 comments
Open

GA + UA #164

PuhlyaMan opened this issue Jun 17, 2021 · 2 comments

Comments

@PuhlyaMan
Copy link

PuhlyaMan commented Jun 17, 2021

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>
@Vindexus
Copy link

Vindexus commented Aug 3, 2021

Did you ever find an answer to this?

@mxswat
Copy link

mxswat commented Oct 22, 2021

As far as I'm aware you must use the UA. But correct me if I'm wrong

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants