How do we push user data into datalayer (Magento 2 GA4 weltpixel extension)
Hi Everyone,
We have been using Weltpixel for a while now. All the ecommerce tracking for GA4 is working pretty good.
Since there are changes coming to GDPR laws here, we need to add a separate datalayer.push with user data.
The object would look like this:
window.dataLayer = window.dataLayer || []; window.dataLayer.push({
"event": "user_data", 'user': {
"email": "test@test.nl", "phone": "06123546877", "first_name": "Test", "last_name": "Testma", "address": {
"street": "abstraat", "city": "abstad",
"region": "zeeland", "country": "NL", "postal_code": "1234AB"
} }
})
Does Weltpixel GA4 currently support pushing User data into the datalayer?
I can't seem to find an option for it now. I only see customer groups + logged in/ not logged in status for users.
Looking forward to your requests.
Thanks!
-
Official comment
Please follow this user guide for Enhanced Conversions:
Comment actions
Please sign in to leave a comment.
Comments
3 comments