What are the Slack Archives?
It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi, Can anyone guide me in implementing Google Analytics in Spryker E-comm website. Can the implemen
Hi, Can anyone guide me in implementing Google Analytics in Spryker E-comm website. Can the implementation be done as that of implementing the same on other sites or does it require anything more? Thanks in advance.
Comments
-
the basics will be just adding GA to your tag manager
0 -
But I assume you'd also want to enable/use Enhance Ecommerce
0 -
I do see that Fond Of has made something for that (available at https://github.com/fond-of/spryker-enhanced-ecommerce) but that doesn't seem to have any documentation so not sure if that takes care of that
0 -
Thanks @guido.jansen. So, adding of GA Tag is on the footer of the page like that of any other websites? Thanks. Will look at the above mentioned module also. Thanks!
0 -
No, as per Google Analytics' instructions (https://support.google.com/analytics/answer/1008080?hl=en#zippy=%2Cin-this-article), your tracking code (on any site) should always be placed just after the opening of the tag of the website (never in the footer).
But assuming you're using GTM, you can follow this instead: https://support.google.com/tagmanager/answer/6107124?hl=en
0 -
Yeah, sorry for the missing documentation. For the enhanced ecom you have to register in TwigDependencyProvider the EnhancedEcommerceTwigExtension in the getTwigPlugins function.
0 -
For the complete GTM integration you also need
"fond-of-spryker/google-microdata": "^1.0.0", "fond-of-spryker/google-site-verification": "^1.0.0", "fond-of-spryker/google-tag-manager": "dev-main", "fond-of-spryker/google-tag-manager-category-connector": "dev-main", "fond-of-spryker/google-tag-manager-category-product-connector": "dev-main", "fond-of-spryker/google-tag-manager-order-connector": "dev-main", "fond-of-spryker/google-tag-manager-product-connector": "dev-main", "fond-of-spryker/google-tag-manager-quote-connector": "dev-main", "fond-of-spryker/google-tag-manager-session-connector": "dev-main", "fond-of-spryker/google-tag-manager-store-connector": "dev-main",
0 -
most of the packages will be updated in the next days to fit the latest changes made by google
0 -
@UK7KBE2JW thanks for adding all that info! This is all for GA UA I assume (and not GA 4)
0 -
Dunno 🙂
0 -
Atm not involved in the gtm integration
0 -
ok
0 -
@U02QGN93WV9 does the above help you?
0 -
Thanks @guido.jansen. Very much helpful ....Will check on the implementation factors and in case of clarification, we post my further clarifications. Thanks!
0 -
@UK7KBE2JW do you know if anything special needs to be done to get Enhanced Ecommerce working with Spryker?
Based on my pre-Spryker experience, GA EE is always quite tricky to setup correctly.
0 -
Or does the EnhancedEcommerceTwigExtension solve that all directly?
0 -
Puh dunno. You can use the EE Package without our gtm packages but dunno if it works. We created the packages from above to fit our requirements in tracking with gtm and use them together in all of our shops. Everything should be build modular and it is possible to extend it with the plugins provided by the packages. As far as I know @U02HDTJ9ZRS and @U018NGUFXSP use our packages too. Maybe they can tell for which cases they are using them and everything works well.
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 920 Developer Corner
- 780 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random