Track traffic that comes from spotlight or app deeplinking

Hi girls & guys!


I wonder if I can track traffic that comes from Spotlight or other app deeplinking launches in my analytics.


When Spotlight opens my app with a deeplink, can I provide an argument that differs when the user comes from Spotlight or Safari search or opens my url via another way?


Reason is:

Currently I get traffic to my mobile page via Google. On my page I take the HTTP referrer and know it's SEO-traffic from Google. For SEA Adwords traffic I specify another URL. Means, I can identify my traffic sources.


When Spotlight will take over this search part, there will me no HTTP referrer I can take. I then cannot identify if the user comes from Spotlight Search or another app launch way (e.g. smart app banner).


Hope somebody has ideas to specify different arguments for sources when deeplinking to an app.


Best regards

I filed radar 21700730 regarding this, you may want to reference that in your own radar bug report.


Richard

Has anyone ever had a response from Apple on this? I had someone suggest me add query params on the universal link to track the source, but I'm afraid this might duplicate or not correlate results properly between NSUserActivity, external shared links and Applebot spotlight suggestions, based on this note from the docs at https://developer.apple.com/library/content/documentation/General/Conceptual/AppSearch/CombiningAPIs.html


Because

NSUserActivity
does not perform any modifications to the URL specified in the
webpageURL
property, URL components such as the query string and the fragment identifier are used for matching the item against pages that are indexed by Applebot.

I can't understand this question. Can you clear it?

Track traffic that comes from spotlight or app deeplinking
 
 
Q