Вопрос

I'm developing an iOS app that required me to track a clicked event on an advertising image. When user clicked on the ads image the app will open a website in web view. My question is : how does the owner of that website know that the website has been opened from a link in my app ?

Это было полезно?

Решение 2

I've found the solution. In case someone wants to do the same as mine, I've added this "?utm_campaign=August&utm_medium=referral&utm_source=MyApp" at the end of the link when clicked. So when the ads owner opens their google analytics console they will see in referral tab the traffic from MyApp. Here is the link for GA detail.

Другие советы

Ok you want to know whether the user clicked the add and the webview was opened, and the add was completely loaded? You could try adding Google Analytics via Javascript to the ad web page or you could use the webViewDidFinishLoad method in the webview to track whether the add was loaded completely or not.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top