Firebase-ios-sdk: UTM parameters lost after relaunch

Created on 29 Apr 2019  路  17Comments  路  Source: firebase/firebase-ios-sdk

[REQUIRED] Step 2: Describe your environment

  • Xcode version: 10.2.1
  • Firebase SDK version: 5.19.0
  • Firebase Component: Analytics
  • Component version: 5.8.0

[REQUIRED] Step 3: Describe the problem

We鈥檙e having a problem with utm parameters. We track those with AnalyticsEventCampaignDetails event whenever a link with with utm params are clicked (we're using branch.io for links) but we鈥檝e seen that conversion events are not attributed to utm params. More specific, _utm params are lost after a relaunch and future events are not attributed_.

Facebook persists utm events and attributes future events with utm params. Firebase should also do the same, per spec (https://support.google.com/firebase/answer/6317518?hl=en) In the meantime, we've implemented our custom interim solution: save utm params to user defaults and report them on relaunch.

We鈥檙e searching for a way to test this functionality. Specifically, we want to make sure our utm parameters, once reported, gets attributed to future conversion events, so we don't need our custon solution. DebugView does not show utm params on events. How should we proceed?

Also asked the question under issue https://github.com/firebase/firebase-ios-sdk/issues/2462 and told to create a ticket for it. Asked the question on firebase slack but could not get a response.

analytics

Most helpful comment

Have there been any updates on this in the last year?

All 17 comments

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

Hello? Any updates?

@dmandar, is this intended behavior?

Pinging for updates

Hello @dmandar , did you have time to check?

Monthly ping for updates

To confirm, are you using dynamic links at all or is this a Firebase analytics question?

@dmandar we are not using firebase dynamic links, we are using branch utm links and do the utm tracking with firebase. I guess this is an Analytics question.

Internally tracked at b/137757236

Hello @paulb777 , is there any progress?

Thank you for the feedback @b-onc. We are following up internally to discuss which is the best implementation for Analytics. I will reply back once I have an update.

In parallel, I would like to hear from you, your thoughts in the following points:

  1. What are the UTM parameters you are interested the most? Is "source", "medium", "campaign" (name) enough? Are "term" and "content" critical for your use case?
  2. You haven't mentioned gclid. Is this also relevant for your use case?

Hello @ggpuglia

Thank you for looking into this.

  1. source, medium and campaign is enough for us, term and content is not important
  2. gclid is irrelevant for us

We're using https://ga-dev-tools.appspot.com/campaign-url-builder/ and only care for mandatory parameters

Thank you for your input! We are tracking this as an internal project. Unfortunately, it might take us a little time to get this prioritized.

Hello @ggpuglia , is there any progress on this?

Hello @ggpuglia , is there any progress on this?

Sorry, the development team hasn't had a change to prioritize this. We are working on getting release soon.

Have there been any updates on this in the last year?

Was this page helpful?
0 / 5 - 0 ratings