Hi AMP community,
I work for a commerce content monetization platform called Narrativ. We have a few out of the box javascript integrations we offer our clients to help monetize their publications. To help our publishers monetize fully through AMP we would like to add an extension that utilizes our smartlink technology.
A few weeks ago the amp-skimlinks
extension was merged that offers a similar service to us. They created a service called link-rewriter
which handles event listeners, link swapping, and click tracking on anchor tags. We aim to utilize that service in our extension since that is a shared feature in both of our platforms.
Our company believes in the core AMP principles and would like to work alongside your team develop an extension that offers a full suite of publisher tools and an optimized reader experience.
amp-smartlinks
For our initial implementation, amp-smartlinks
will require API calls to fetch the publishers config in our system, a page load event (using extension-analytics
), and finally a POST call with all anchor tags on the page to be filtered and monetized according to our publisher partnership in our system. All monetized links will be returned and placed in the DOM using link-rewriter
.
Our documentation on our vanilla JS tag can be found here and our documentation around Linkmate can be found here.
<amp-smartlinks
layout="nodisplay"
nrtv-account-name="examplepublisher"
linkmate='true'
exclusive-links='false'
></amp-smartlinks>