I’m attempting to grasp new method SKAdNetwork
which is supported by Google Analytics
.
What i need to do :
I need to test my on Google Analytics
1000$
spent the place on advertisements advertising like app_installs
and many others.
Appleās SKAdNetwork : SKAdNetwork, also referred to as SKAN, helps app advertisers measure their advert exercise, comparable to impressions, clicks, and app installs, on an aggregated degree. SKAdNetwork has change into more and more vital to some app advertisers in assessing their iOS marketing campaign efficiency throughout a number of advert networks.
What i discovered :
- do implementation in app delegate
import StoreKit
@most important
class AppDelegate: UIResponder, UIApplicationDelegate {
func software(_ software: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override level for personalisation after software launch.
// Apps which can be marketed by an advert community marketing campaign name registerAppForAdNetworkAttribution() methodology or updateConversionValue(_:) when the app first launches. Each strategies generate an set up notification, which is the cryptographically signed information that validates {that a} person put in and launched this app because of an advert.
// The primary name to registerAppForAdNetworkAttribution() generates the notification if the gadget has attribution information for that app, and begins a 24-hour timer. Subsequent calls to this methodology don't have any impact. Chances are you'll, nevertheless, name updateConversionValue(_:) to offer a conversion worth and restart the timer.
// The gadget sends the set up notification to the advert communityās postback URL inside 0-24 hours after the timer expires. Advert networks should confirm the postback after receiving it..
SKAdNetwork.registerAppForAdNetworkAttribution()
return true
}
// MARK: UISceneSession Lifecycle
func software(_ software: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, choices: UIScene.ConnectionOptions) -> UISceneConfiguration {
// Referred to as when a brand new scene session is being created.
// Use this methodology to pick a configuration to create the brand new scene with.
return UISceneConfiguration(title: "Default Configuration", sessionRole: connectingSceneSession.function)
}
func software(_ software: UIApplication, didDiscardSceneSessions sceneSessions: Set) {
// Referred to as when the person discards a scene session.
// If any classes had been discarded whereas the applying was not operating, this might be referred to as shortly after software:didFinishLaunchingWithOptions.
// Use this methodology to launch any sources that had been particular to the discarded scenes, as they won't return.
}
}
I learn doc present by apple and google however i’ve some questions.
- i must create
networkId
on my aspect? - how am i able to see these information in visible formate like dashboard or sheet?
- is there something in code i missed?