<amp-app-banner>needs to allow for custom target URLs for solutions such as Firebase Dynamic Links
It looks like the new
Accordingly, it would be great if
/to @mkhatib /cc @ericlindley-g
@noahrs thanks for filing, do you have documentation links to these custom target URLs? Or just examples of them so we can understand this use case better?
And if you have an example of how you're currently implementing this it would be great to link to it so we can evaluate implementing this in amp-app-banner.
Leaving it to @ericlindley-g for triaging
Would be great to get more details as @mkhatib describes, to hone in on the use-case (and current process, in case we can dovetail with that).
On a related note, the design for amp-deep-link is for developers to configure the links manually (not look to meta tag or manifest to populate these links), which should address both this issue and the amp-sticky-ad collision.
You can generate campaign URLs inside iTunes:

You use these on various touch points where you tell users to download your app. This let's you measure 1) how effective the touchpoint is 2) track these users for their lifetime in the app to understand if they engage with the app differently based on the source.

The URL from iTunes campaign generator would look like: https://itunes.apple.com/app/apple-store/id384101264?pt=300983&ct=test-example&mt=8
You can do this for Google Play as well using UTMs.
The expectation would be that we can provide two URLs for
Thanks @noahrs — how do you currently use this URL in the context of the app banner? For instance, with iOS banners it sounds like one approach is to add the attribute value "affiliate-data=at=[affiliate ID]&ct=[campaign name]" into the <meta> tag.
We have custom app banners that run on our mobile web experience. If the users OS is iOS we make the click target the custom URL provided through iTunes. If the user OS is Android then we give them the Play UTM. Has nothing to do with any meta tag on site.
@mkhatib I was able to trigger the banner from http://www.dailymail.co.uk/ushome/index.html (in mobile mode) and took a look at the code.
The tag has id div id="smartBanner"
Then the implementation lives in sync_bundle.js.
@noahrs Could you confirm?
@mkhatib yes, that's our custom implementation on mobile web. Detects if you're an Android or iOS user and serves up the right click target accordingly.
Following up — @mkhatib or @cramforce , is there a technical reason not to support manual URLs in amp-app-banner?
I believe the reasoning was to just encourage the usage of platform supported methods (meta on iOS and manifest for Android).
This would allow for solutions like https://firebase.google.com/docs/dynamic-links/ to handle many use-cases native ones can't.
Hi all, What's the current status for this? Can Firebase Dynamic Links be used yet?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.