Search code examples
ioseventsgoogle-analyticstrackingreferrals

Google Analytics in iOS, How do I know if a page of my website was opened using an app?


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 ?


Solution

  • 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.