I’m making an attempt to know new strategy SKAdNetwork
which is supported by Google Analytics
.
What i wish to do :
I wish to test my on Google Analytics
1000$
spent the place on advertisements advertising like app_installs
and many others.
Apple’s SKAdNetwork : SKAdNetwork, often known as SKAN, helps app advertisers measure their advert exercise, comparable to impressions, clicks, and app installs, on an aggregated degree. SKAdNetwork has develop into more and more essential 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
@primary
class AppDelegate: UIResponder, UIApplicationDelegate {
func utility(_ utility: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override level for personalization after utility launch.
// Apps which are 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} consumer put in and launched this app on account 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 haven't any impact. You might, nevertheless, name updateConversionValue(_:) to supply 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 utility(_ utility: 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.position)
}
func utility(_ utility: UIApplication, didDiscardSceneSessions sceneSessions: Set) {
// Referred to as when the consumer discards a scene session.
// If any classes had been discarded whereas the appliance was not working, this shall be known as shortly after utility: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 facet? - how am i able to see these information in visible formate like dashboard or sheet?
- is there something in code i missed?