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

Google Analytics 4 #78

Open
Alphaegen opened this issue May 12, 2022 · 8 comments
Open

Google Analytics 4 #78

Alphaegen opened this issue May 12, 2022 · 8 comments

Comments

@Alphaegen
Copy link

Please describe the feature you would like to see implemented.

Hi Webmatch,

I was wondering whether the implementation of Google Analytics 4 is being worked on at the moment. Otherwise I might be able to setup a default GA 4 sql to work with.

@Alphaegen
Copy link
Author

Or might there be a GA4 json export which I could use?

@wbm-sbasler
Copy link
Collaborator

Hi @Alphaegen

we have an implementation in our pipeline, but unfortunetaly it's planned for late 2022 or early 2023 as UA will be valid until Oct.2023. It would be very nice, If you can provide a PR with the GA 4 sql in the meantime.

Thank you in advance and best regards

@VictorNorbart
Copy link

Hi @wbm-sbasler ;

Could you explain to me what you mean with this exactly?
" If you can provide a PR with the GA 4 sql in the meantime."

thanks.

@Alphaegen
Copy link
Author

First of all, I haven't been able to start on the SQL yet and don't have time to do so soon either. @wbm-sbasler

@VictorNorbart I can explain this for you tho. If you look into the Migration folder you'll find 2 *.default.sql files containing the default configuration for the layers. I'm not specialised in GA4, but I think it's possible to create GA4 versions of those containing the new datalayer layout used by GA4.

@VictorNorbart
Copy link

VictorNorbart commented Jul 21, 2022

@Alphaegen @wbm-sbasler ; Thanks! I will take a look! If you need them, I can provide you with the GA4 GTM container with all tags, triggers and variables that we use for WooCommerce integrations to GA4. I can also send you the datalayers if you like. Perhaps you can use them as an example? :)

@NeoBlack
Copy link

Any updates here regarding GA4 support? Any timeline?

@stfnschrmr
Copy link

We are also in the process of moving everything to GA4 and have also stumbled across the "old" DataLayer structure.

I have therefore started to convert the structure in the DataLayer to the new schema (https://developers.google.com/analytics/devguides/collection/ga4/ecommerce).

Actually there is not so much to do, because mostly only the keys (e.g. name -> item_name) have to be renamed and the events have to be inserted.
As soon as I'm done I would post the export of the settings here.

@stfnschrmr
Copy link

As soon as I'm done I would post the export of the settings here.

A work-in-progress export is available here: https://gist.github.com/createdwithlove/dbc2dc7203a85817d6fae070710681a4

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

5 participants