The meter between AMP and non-AMP (web) pages can be shared in case the following rules are followed:
-
The
meterNameis the same for both the regular and the AMP-Experiences -
The meters are merged upon the opening of a non-AMP page from an AMP page
-
The non-AMP page should have a
READER_IDparameter in it, e.g.https://website.com/subscribe.html?reader_id=READER_ID&url=SOURCE_URL&_=RANDOM
All the meters inside the AMP pages are bound to the
READER_IDand the meters outside AMP are bound to the browser. In order to have a shared meter, theREADER_IDand the browser must be matched. The only recommended way of doing this is to create a link with theREADER_IDparameter leading from an AMP page to a regular web page where Composer can match it with the browser.
Below is an example of how the AMP and site meters can be merged and act as a single shared meter:
-
A link with an URL with the
READER_IDparameter leading to the web page with a regular Experience is specified on the AMP page -
Both Experiences have a Pageview meter with the same meter name
-
A user opens the AMP page, then clicks on a link to the web page, where a regular Experience is executed
-
The meters get merged
-
Now the shared meter increments both for AMP and web pages