I2I A new story analytics macro based on meta tag #37423
Labels
INTENT TO IMPLEMENT
Proposes implementation of a significant new feature. https://bit.ly/amp-contribute-code
Stale
Inactive for one year or more
Summary
This proposal allows story to use in-ad meta tag for analytics purposes.
Design Document
Given an analytics configuration like below:
The following is an example of AMP4AD HTML (header only) returned as an ad response on an AMP page, which is to be rendered within an iframe.
When sending out the ping upon specific events, we would replace the METATAG_AD(tagname) macro to the corresponding meta tag value inside the corresponding ads iframe.
The triggering events are
The following story events are excluded, as well as other non-story events:
If there are multiple meta tags with the same name
If there are no matching meta tags
If the macro is used outside of these specified events
Motivation
Web story publishers wish to use information from within the AMPHTML story creatives to inform them of a page's performance and revenue analytics information. This proposal allows publishers to track in-creative meta tag by using a macro on the story page.
Alternative Solutions
We have considered:
It is not being chosen because for 3p use cases, it would be much more difficult to implement.
Launch Tracker
No response
Notifications
/cc @ampproject/wg-approvers @ampproject/wg-monetization @ampproject/wg-stories
The text was updated successfully, but these errors were encountered: