Hello, i’m trying to send begin_checkout event to ...
# support
s
Hello, i’m trying to send begin_checkout event to GA4 but it didnt work. Already sent track event “Checkout Started” and can see it in Rudderstack but there’s nothing in GA4. Can you help? Much appreciated
s
Ga4 doesn't support events names with _
underscores
you can try begin-checkout
s
Hi @stale-mechanic-79496 thank you for your help
sorry i meant the event “Checkout Started”
according to the Ecommerce Tracking Guide from Rudderstack
<script> rudderanalytics.track(‘Checkout Started’, { value: ‘{{ $total }}’, currency: ‘USD’, products: [{ name: ‘{{ $tour->title}}‘, price: ‘{{ $total }}’ }] }, { externalId: [{ type: “ga4AppInstanceId”, id: “client_id” }], }); </script>
i believe if i send this track event, it will send GA4 begin_checkout event according to your doc right?
s
let me check once
s
thank you, if you need a payload let me know i could see it in Rudderstack
s
Can you enable this in destination config and check destination live events?
s
i always have it enabled by default
from the beginning
do you need a payload from me?
s
yeah that will be helpful
s
ok let me test one
{ “body”: { “XML”: {}, “FORM”: {}, “JSON”: { “events”: [ { “name”: “begin_checkout”, “params”: { “items”: [ { “price”: 190, “item_name”: “Halong Bay 1 Day Cruise - Incredible UNESCO Experience - Transfer + Buffet Lunch” } ], “value”: 190, “currency”: “USD”, “engagement_time_msec”: 1 } } ], “user_id”: “16", “client_id”: “a9d64cd9-5311-4ed6-9edf-941f317a0f52", “timestamp_micros”: 1667813921000000 }, “JSON_ARRAY”: {} }, “type”: “REST”, “files”: {}, “method”: “POST”, “params”: { “api_secret”: “My API Secret”, “measurement_id”: “MY Measurement ID” }, “userId”: “”, “headers”: { “HOST”: “www.google-analytics.com”, “Content-Type”: “application/json” }, “version”: “1”, “endpoint”: “https://www.google-analytics.com/debug/mp/collect” }
here it is, sorry i had to hide my measurement id and secret key
s
no problem
s
s
are you using self hosted dataplane or the cloud offering?
s
it is “Checkout Started” track call, and it is exactly begin_checkout event in payload
i’m using free cloud plan
s
ok
s
any luck?
s
I have asked my team to check
s
Hello
thanks for your help
let me know if i miss anything
much appreciated
l
@bulky-breakfast-19942 can you please do a re-check?
f
Hi @strong-translator-738 - https://rudderstack.slack.com/archives/C01E4PLB135/p1667813980871609?thread_ts=1667794728.109789&cid=C01E4PLB135 I see you have enabled
Debug mode
from the Rudderstack config. This is just for monitoring purposes and debugging the flow and you won't be able to get those events in the GA4 real-time dashboard or in reports. Ref Please disable the debug mode to see the events in reports.