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

GA4 + UA dual setup: Two libraries/container loaded #159

Open
mschneekluth opened this issue Nov 22, 2022 · 1 comment
Open

GA4 + UA dual setup: Two libraries/container loaded #159

mschneekluth opened this issue Nov 22, 2022 · 1 comment

Comments

@mschneekluth
Copy link

mschneekluth commented Nov 22, 2022

Universal Analytics (UA) will be deprecated in summer of 2023, so while switching my setup from UA to GA4 I am having a dual implementation of both GA properties in a single GTM container. I have two tags for each pageview/event, one for UA and one for GA4.

The problem right now is that the GTM container loads two container for each of the tags.

This really slows down page speed score. Not sure if this is an issue with the module or with the Google Tag Manager. How to handle this situation because switching from setup to another could take some weeks?

@kpyszkowski
Copy link

I did some research and it turns out that vue-gtag plugin supports UA (gtm events) and GA4 events simultaneously.
Moreover it's not mentioned in the plugin docs but the v1 of this plugin supports Vue 2 while v2 doesn't - Vue 3 only.

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