Native Smart App Banner Analytics

Hello,

After doing some research and asking AI, I am still not sure if I am correctly formatting our meta tag. Different AIs are saying conflicting things.

Is this smart app banner meta tag formatted correctly so that installs will show up in app store connect analytics under the correct campaign?

<meta name="apple-itunes-app" content="app-id=373431224, affiliate-data=ct=F101580_smart_banner">

I want to be sure before using this in our production environment.

Thank you

Kindly refer to the documentation for the appropriate format required for the functionality of smart banners. Additionally, it is straightforward to test the functionality using an internal HTML page before going public.

https://developer.apple.com/documentation/webkit/promoting-apps-with-smart-app-banners#Implement-a-Smart-App-Banner-on-Your-Website

<meta name="apple-itunes-app" content="app-id=myAppStoreID, app-argument=myURL">

  • app-id

Required. Your app’s unique identifier. To find your app ID from App Store Marketing Tools, type the name of your app in the Search field, and select the appropriate country or region and media type. In the results, select your app. In the detail view for your app, find the Content Link. Your app ID is the number between id and ?. Alternatively, select your app in App Store Connect. Under General, select App Information, then find your app ID in the General Information section that opens in the middle of the screen; your app ID is listed as Apple ID.

  • app-argument

Optional. A URL that provides context to your native app. If you include the URL and the user has your app installed, they can jump from your website to the corresponding position in your iOS app.

Albert
  Worldwide Developer Relations.

Seeing and testing the smart banner was straightforward but the analytics aren't showing up. We installed on around 10 devices but still aren't seeing anything show up under the campaign days later.

Hi there, thank you for reaching out. To ensure your campaign tracking is set up properly, we'd recommend:

  1. Generate a campaign link first in App Store Connect under Acquisition → Campaigns — this will provide you with your campaign token (ct) and provider token (pt). Learn more.

  2. Use those tokens when implementing your Smart App Banner.

  3. Refer to the Smart App Banner documentation for the exact meta tag format: https://developer.apple.com/documentation/webkit/promoting-apps-with-smart-app-banners

Also please keep in mind that campaign data will only appear in Analytics once at least 5 individual users have installed the app via the banner.

Native Smart App Banner Analytics
 
 
Q