Commit c580d7b2 by Shailesh Aher

[IOS-127]: Record click event observed for tercept SDK click event logging

parent 821ff257
......@@ -85,6 +85,12 @@ extension NativeAdItem: GADNativeAdDelegate {
adLifeCycleTracker?.recordAdState(.adImpression)
}
func nativeAdDidRecordClick(_ nativeAd: GADNativeAd) {
log.debug("NativeAd did record click")
analytics(log: .ANALYTICS_AD_CLICKED, params: analyticsParams)
adLifeCycleTracker?.recordAdState(.adClicked)
}
func nativeAdWillPresentScreen(_ nativeAd: GADNativeAd) {
log.debug("NativeAd Will present Modal")
analytics(log: .ANALYTICS_AD_CLICKED, params: analyticsParams)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment