amphtml icon indicating copy to clipboard operation
amphtml copied to clipboard

<amp-app-banner>needs to allow for custom target URLs for solutions such as Firebase Dynamic Links

Open noahrs opened this issue 10 years ago • 13 comments

It looks like the new generates the clickthrough URLs to Google Play and iTunes based off the app id meta on an article page. This probably satisfies some publishers, but many of us use custom campaign URLs generated from within iTunes and Play to track user installs and user retention.

Accordingly, it would be great if allowed for whatever target URL we wanted. If no URL provided, default back to the meta app id.

noahrs avatar Nov 30 '16 17:11 noahrs

/to @mkhatib /cc @ericlindley-g

jridgewell avatar Nov 30 '16 19:11 jridgewell

@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

mkhatib avatar Nov 30 '16 20:11 mkhatib

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.

ericlindley-g avatar Dec 01 '16 02:12 ericlindley-g

You can generate campaign URLs inside iTunes: itunes-sources

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.

image

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 , one for the iTunes store and one for Play.

noahrs avatar Dec 01 '16 21:12 noahrs

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.

ericlindley-g avatar Dec 01 '16 22:12 ericlindley-g

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.

noahrs avatar Dec 01 '16 22:12 noahrs

@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?

kul3r4 avatar Dec 06 '16 11:12 kul3r4

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

noahrs avatar Dec 09 '16 18:12 noahrs

Following up — @mkhatib or @cramforce , is there a technical reason not to support manual URLs in amp-app-banner?

ericlindley-g avatar Feb 09 '17 00:02 ericlindley-g

I believe the reasoning was to just encourage the usage of platform supported methods (meta on iOS and manifest for Android).

mkhatib avatar Feb 13 '17 22:02 mkhatib

This would allow for solutions like https://firebase.google.com/docs/dynamic-links/ to handle many use-cases native ones can't.

aghassemi avatar Jun 19 '19 16:06 aghassemi

Hi all, What's the current status for this? Can Firebase Dynamic Links be used yet?

rjaponte avatar Jul 01 '20 18:07 rjaponte

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.

stale[bot] avatar Dec 25 '21 04:12 stale[bot]