Tracking iOS Install Source for Viral Sharing

Hi guys,

I’m working on a viral sharing feature within my game.

I recently stumbled upon Apple’s new ‘campaign’ source for itunes links. Example:

https://itunes.apple.com/app/apple-store/id891244136?pt=96575801&ct=corona&mt=8

Anyone who taps that link will be tracked as having come from Corona (" ct=corona"). This is currently an iOS8+ feature.

This could be used to track the install source of another player, so as to reward them with free coins etc.

Upon downloading and running the app, Apple track that install source and register it with their analytics.

My question then is: Is there a way for us to get that campaign source upon first launch? Does it come through in any of the SDK functions and if so, maybe even gets passed to lua on start up?

[lua]

Runtime:addEventListener( “system”, onSystem )

[/lua]