If you use the Google Analytics SDK, you can add a tracker in your Accengage campaigns in order to measure its performances directly in the GA console.


In order to allow Accengage to transfer the trackers to GA, you need to make sure that the Custom Parameters are correctly tracked by our SDK:



With Accengage, you can add the trackers using the 'Custom Param' parameter of the campaign. This is compatible with the following channels:

- Push notification reaction

- Inapp display and/or click

- Scheduled alarm reaction


In order to enable the transfer of the parameter to Google Analytics, you need to activate the following features in their console:

Tracker t = ((AnalyticsSampleApp) context.getApplication()).getTracker(TrackerName.APP_TRACKER);

HitBuilders.ScreenViewBuilder screenViewBuilder = new HitBuilders.ScreenViewBuilder();
Set<String> extras = intent.getExtras().keySet();
for (String extra : extras) {
   screenViewBuilder.set(extra, intent.getExtras().get(extra));
}

t.send(screenViewBuilder.build());


Once activated, you can define UTM Custom parameters to track your campaigns in GA:

Key: UTM

Value: utm_source=accengage&utm_medium=push&utm_campaign=welcome&utm_content=install_1_d