pwa-studio
pwa-studio copied to clipboard
[feature]: Google Tag Manager support (extensibility)
Is your feature request related to a problem? Please describe. Google Analytics is a key aspect of Magento 2 configuration and currently customization for Venia and our new PWA-based storefront. With this new extension, GTM will be supported as a standard option and included in Venia.
https://docs.magento.com/user-guide/marketing/google-universal-analytics.html
Describe the solution you'd like Basic GTM capabilities across key shopping experiences in Venia including (but not limited to) the homepage, PLP, PDP and cart/checkout flow.
Describe alternatives you've considered The solution should address GTM needs first but flexible to be used with other third-party tagging as well.
Additional context
Please let us know what packages this feature is in regards to:
- [X]
venia-concept
- [X]
venia-ui
- [ ]
pwa-buildpack
- [X]
peregrine
- [X]
pwa-devdocs
- [ ]
upward-js
- [ ]
upward-spec
- [ ]
create-pwa
Hi @ericerway. Thank you for your report. To help us process this issue please make sure that you provided sufficient information.
Please, add a comment to assign the issue: @magento I am working on this
- Join Magento Community Engineering Slack and ask your questions in #github channel.
@developer that's going to thing about a solution to add GTM and Enhanced ecommerce. Feel free to reach out to me since I've already built a pretty extensible solution running on 2 live shops without issues.
@Jordaneisenburger hey, could you please share with us or give some tips on how you build it ? :)
Hi @chatart I started a blog but didn't finish it yet. But hope it sort of helps https://dev.to/jordaneisenburg/enhanced-ecommerce-in-pwa-studio-1cjl
@Jordaneisenburger How do you add the data to the data layer.
@Jordaneisenburger Could you please share the full toutorial about your solution to add GTM to venia project? Thank you in advance!
@Jordaneisenburger Could you please share the full tutorial about your solution to add GTM to PWA venia [react ] project? Thank you in advance!