Skip to content

Instantly share code, notes, and snippets.

@seanoshea
Created September 10, 2015 13:46
Show Gist options
  • Save seanoshea/03eadb8b4591c3ff69ce to your computer and use it in GitHub Desktop.
Save seanoshea/03eadb8b4591c3ff69ce to your computer and use it in GitHub Desktop.
App Handoff Example
1. I'm building an app for fancy stationery. I have both a website and a native iOS app
2. I deploy the app association file on https://www.myfancystationary.com
3. A user on iOS 9 uses Safari to search for some Fancy Stationary
4. Safari displays the Google search results. Some of my paid search results are at the top of the screen and the user clicks on one of those
5. The app association file tells iOS that the native iOS app is able to handle this type of URL and the URL (e.g https://www.myfancystationary.com/products/123456) is passed off into the handoff code in the iOS app
6. The user decides that they want to buy that stationary and does so all through the iOS app
How do you attribute the purchase of the product to the fact that the user pressed on a paid Google search result when the url passed into the handoff code will simply look like https://www.myfancystationary.com/products/123456.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment