Comments (9)
Hi @Jurgen8en
I am glad it works and you like it. Did you figure out your question since you closed the issue? :)
from syliusanalyticsplugin.
Not the best solution, but I just added this on the required pages
<script>gtag('event', 'begin_checkout');</script>
<script>gtag('event', 'checkout_progress', {"checkout_step": 1});</script>
<script>gtag('event', 'checkout_progress', {"checkout_step": 2});</script>
...
from syliusanalyticsplugin.
I would reopen this issue to be addressed in a proper way. I think I will be able to provide an implementation
from syliusanalyticsplugin.
Yes, I agree. It should be provided in the plugin
from syliusanalyticsplugin.
Another thing.
The purchase call should not be added to the thank-you page. It generated duplicates, and some custumers don´t wait this page to be loaded.
gtag('event', 'purchase', {"transaction_id":"...
The purchase should be called by the backoffice:
https://developers.google.com/analytics/devguides/collection/protocol/v1/devguide
from syliusanalyticsplugin.
if you do the purchase request on server side, you loose all the referral and UTM campaign data. and then all orders will be associated with the direct channel. you don't want that.
from syliusanalyticsplugin.
ok, I found another solution https://www.thyngster.com/the-definitive-approach-for-preventing-duplicate-transactions-on-google-analytics-universal-customtask (posted NOVEMBER 21, 2019)
from syliusanalyticsplugin.
Server side:
- It can be coupled to the right user !
// Take notice, if you want GA reports to tie this event with previous user actions
// you must get and set the same ClientId from the GA Cookie
https://github.com/theiconic/php-ga-measurement-protocol
from syliusanalyticsplugin.
Closing this issue since we are past this. The new branch (and soon new version) will support GA4 with the relevant events
from syliusanalyticsplugin.
Related Issues (15)
- Remove .DS_Store
- Remove upgrade file
- Naming consistency
- Use XML for validation instead of yaml HOT 1
- Tracking id for each channel
- Simplify routing HOT 1
- Unused code
- Move admin menu item
- Use tag bag bundle?
- Subscribers instead of listeners
- Notice: Undefined index: search HOT 1
- You have requested a non-existent parameter "setono_sylius_analytics.model.property.class" HOT 1
- [Feature request]: Update README for v3
- [Bug]: GA events are not triggered HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from syliusanalyticsplugin.