Question

Google Analytics integration for web events

  • 4 October 2022
  • 1 reply
  • 135 views

Badge +1

Hi,

 

We are using RevenueCat to centralize all payment-related events for our app and our website. 

For web, we connected Stripe, and it’s working well. We can see the web events activity in RevenueCat Dashboard and Amplitude but we would like to track them in Google Analytics and we can’t find a proper way to do it. 

We have tested the Segment integration but Google Analytics is not attributing the events to users. It is just sending all the events from RevenueCat (app+web) without the right parameters (i.e: browser = segment.io instead of the right browser, no source attribution,...).

 

Are we missing something or is it just not possible to send web RevenueCat events to Google Analytics?

 

Thanks for your help


1 reply

Userlevel 5
Badge +9

@Florian sorry for the lack of response here, it appears this post was missed by us.

The way to do this is to use our Firebase integration: https://www.revenuecat.com/docs/firebase-integration#3-send-analytics-events-to-google-analytics It works with Stripe but please keep in mind the following two points:

  1. You have to set the firebaseAppInstanceID on the user before events can be sent for that user. You can use our API for that: https://www.revenuecat.com/reference/update-subscriber-attributes
  2. Not all subscription events are supported on Stripe, please refer to this table for the events we support: https://www.revenuecat.com/docs/firebase-integration#events

Reply