https://github.com/adjust/ios6adtracking
https://github.com/adjust/ios6adtracking
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/adjust/ios6adtracking
- Owner: adjust
- Archived: true
- Created: 2012-10-09T15:21:40.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2012-11-16T11:11:49.000Z (over 13 years ago)
- Last Synced: 2025-03-09T14:41:27.806Z (over 1 year ago)
- Language: Objective-C
- Size: 173 KB
- Stars: 3
- Watchers: 77
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
iOS6AdTracking
==============
This is a small example of a pseudo advertising banner view. It is meant to illustrate how tracking could be handled in combination with the new SKStoreProductViewController in iOS6. The main mechanism is the callback to a callback URL with an advertising ID.
The main files of interest are [AdView.h](https://github.com/adeven/iOS6AdTracking/blob/master/iOS6AdTracking/AdView.h) and [AdView.m](https://github.com/adeven/iOS6AdTracking/blob/master/iOS6AdTracking/AdView.m) which form the sample ad view. The file [ViewController.m](https://github.com/adeven/iOS6AdTracking/blob/master/iOS6AdTracking/ViewController.m) creates and adds such an ad view to the main view controller. If you build and run this project you should see a banner view with the title "Click here!". Clicking this banner will present the new product view controller and makes a callback to the callback URL in the background. Furthermore we send the new identifierForAdvertising to enable tracking of these clicks.