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

Doesnt work with Google Analytics #51

Open
AreSee opened this issue Feb 18, 2021 · 1 comment
Open

Doesnt work with Google Analytics #51

AreSee opened this issue Feb 18, 2021 · 1 comment

Comments

@AreSee
Copy link

AreSee commented Feb 18, 2021

Hi,

I have the following code:

<title>test</title> <script type="text/javascript" src="cookieconsent.min.js"></script><script type="text/javascript"> <script src="https://www.googletagmanager.com/gtag/js?id=-my-gtag-id" type="text/plain" data-consent="googlead"></script> <script type="text/plain" data-consent="googlead">
@omenegazzi
Copy link

Hello,

In the old version of Google Analytics it works perfect using the formatted UA_XXXXXXXXX_X. In the new version of Google Analytics 4 that uses the format: G-XXXXXXXXXX, it does not work.

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

2 participants