Getting GA Campaign Variables from Google Play?


#1

Hi,

I’m trying to get the utm_content campaign variable that will be sent to my app when it gets downloaded from the Google Play store e.g. via special referrer link https://play.google.com/store/apps/details?id=com.example.application&referrer=utm_source%3Dgoogle%26utm_content%3Dcontent

I’m using the Google Analytics ionic plugin (https://ionicframework.com/docs/native/google-analytics/), but it doesn’t seem to yet include the getVar function mentioned at https://github.com/danwilson/google-analytics-plugin.

Is there another way to access the getVar function from the Cordova plugin?

If not, is there another tool / mechanism I can use to get the utm_content variable?

Thanks!!


#2

This is something similar: https://github.com/cranberrygame/cordova-plugin-analytics-referrer (Not that it uses a different variable)