Hi Folks, I would like to connect Rudderstack to G...
# support
i
Hi Folks, I would like to connect Rudderstack to GA4 and I am unable to choose the connection mode within the Rudderstack Interface. Is this due to the fact that we have a free plan ? I add the screenshot here: Many thanks 🙂
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Hi Tanguy, since you are connecting a Python source, you can only send data in Cloud mode. The message is not saying that you cannot connect it is saying that you can connect only in cloud mode.
i
Many thanks @shy-kite-21035. I can see that event are delivered from RudderStack but not collected within GA. Could it be related to the payload format ? Please find below an example of the payload
m
Hi Tanguy are you seeing any errors? Also have you enabled Debug mode? Can you provide the workspaceId?
i
Here is the workspaceID: 2ItuoCOnlSPcHHnaES41EZvYD8i
I don't see any errors within Rudderstack
m
Hi Tanguy, can you rename your events from `Subscription:Trial Started`⁣ to `Subscription Trial Started`⁣? I feel the colon(:) in the event name is causing the issue.
The problem with GA4 is that it returns a 2xx event if the event is invalid
i
I already did it using the transform module
m
Can you share the live event sample from the destination?
Also won't your event have the `event`⁣ parameter twice?
i
Sans titre
Sure, it's this one above
m
This looks correct. And one more sample from the transformation live-events?
i
Sans titre
m
Not this from the transformation live events
i
This is actually another one
m
Or a sample event that you are sending from the source live events?
i
Sans titre
m
Oh ok. Let me test this out and revert to you since I believe the issue is with the data being sent. In the meantime can you try sending this event and see if it shows up
s
{ “anonymousId”: “8d872292709c6fbe”, “channel”: “mobile”, “context”: { “app”: { “build”: “1", “name”: “AMTestProject”, “namespace”: “com.rudderstack.android.rudderstack.sampleAndroidApp”, “version”: “1.0" }, “device”: { “id”: “8d872292709c6fbe”, “manufacturer”: “Google”, “model”: “AOSPonIAEmulator”, “name”: “generic_x86_arm”, “type”: “android” }, “library”: { “name”: “com.rudderstack.android.sdk.core”, “version”: “1.0.2" }, “locale”: “en-US”, “network”: { “carrier”: “Android”, “bluetooth”: false, “cellular”: true, “wifi”: true }, “os”: { “name”: “Android”, “version”: “9” }, “screen”: { “density”: 420, “height”: 1794, “width”: 1080 }, “timezone”: “Asia/Kolkata”, “traits”: { “address”: { “city”: “Kolkata”, “country”: “India”, “postalcode”: “700096”, “state”: “West bengal”, “street”: “Park Street” }, “age”: “30”, “anonymousId”: “8d872292709c6fbe”, “birthday”: “2020-05-26”, “createDate”: “18th March 2020”, “description”: “Premium User for 3 years”, “email”: “identify@test.com”, “firstname”: “John”, “userId”: “sample_user_id”, “lastname”: “Sparrow”, “name”: “John Sparrow”, “id”: “sample_user_id”, “phone”: “9112340345”, “username”: “john_sparrow” }, “userAgent”: “Dalvik/2.1.0 (Linux; U; Android 9; AOSP on IA Emulator Build/PSR1.180720.117)” }, “event”: “Product Clicked”, “integrations”: { “All”: true }, “messageId”: “1590431830915-73bed370-5889-436d-9a9e-0c0e0c809d06”, “properties”: { “revenue”: “30", “currency”: “USD”, “quantity”: “5", “test_key_2”: { “test_child_key_1": “test_child_value_1” }, “price”: “58.0” }, “originalTimestamp”: “2020-05-25T183710.917Z”, “type”: “track”, “userId”: “sample_user_id” }
i
Can I do that directly within Rudderstack ?
m
Yes you can simple return this object from the user transformation.
i
Hi @shy-kite-21035, I tried some events using https://ga-dev-tools.google/ga4/event-builder/. However, events from Rudderstack are still not collected in GA4. Did you have the time to check it ?
m
Sorry for the delay in reply as I was OOO during the festive season. Can you provide your source or destination id, and I can test this on my end?
i
Hi @shy-kite-21035, sorry for the delay I was OOO as well. Please find below the information: SourceID: 2IuYNJrOuEjmXMPCoQ9oTps82y8 DestinationID: 2YwInxk2tyTnCwWQhfykzTTimy3
Hi @shy-kite-21035, do you have any updates on this topic ?
I think that the transformation looks good, it's sent correctly from Rudderstack but in GA4 it's not collected. I would need a way to see a log of the Rudderstack request
s
Yes sorry looking into this.
Hi Tanguy can you turn off the debug via validation server and check?
If the issue still persists feel free to setup a call sometime, since it is easier to debug such issues on a call. You can setup a call here.
i
it seems to be working now, I'll let you know if necessary ! Many thanks
m
Cool.