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
Adding Google Tag Manager feature #841
Comments
I've dive deep into this issue and searched something like this: https://github.com/mib200/vue-gtm Don't know if this plugin worth to implement but seems to do what we want. The question is which tags and events to trigger. I've tried to add it on local (pushed one commit with an implement on my fork) but found one problem. In REAMDE author said we must copy/paste GTM tag in our |
@kjugi thank you for the suggestion. From my point of view the best would be creating an integration with already predefined GTM data layer for ehanced ecommerce for Google Analytics (then we could even skip #839 issue). The shape of the data layer is explained here https://developers.google.com/tag-manager/enhanced-ecommerce. @pkarw @filrak WDYT about https://github.com/mib200/vue-gtm and what @kjugi and I suggested? |
You should create a component for this I belive please take a look at analytics extension as a reference |
I'll try on this |
Any update on this? Is it paused? I tried the code but it's failing for me. Something with the router that is passed that breaks i think. Would also be nice to get the correct DataLayer implemented on atleast products and category pages. |
I’ll continue on this in the weekend, yes sure data layer will be implemented |
@talalus thanks for that and thanks for the answer! :) 👍 |
This would be a much-appreciated function for us marketing people. Would be very exciting to see GTM working on Vue-storefront |
merged with develop |
Is there any documentation for tag manager ? |
|
@talalus |
@jsxFardin The GoogleTagManagerModule is not registered by default so you need to: |
Let's add Google Tag Manager to the main template.
I prepared account with ID GTM-WGQ7T9C.
Here's official documentation for installation - https://developers.google.com/tag-manager/quickstart.
Can anyone help me with this?
The text was updated successfully, but these errors were encountered: