From 76b316cc628f87503067099a12675375a6f2d73b Mon Sep 17 00:00:00 2001 From: Mike Marcus Date: Mon, 28 Mar 2016 09:34:21 -0400 Subject: [PATCH 1/3] Added Lotame as an amp-analytics vendor type. Added configuration, description, and link to additional documentation. --- extensions/amp-analytics/0.1/vendors.js | 17 +++++++++++++++++ extensions/amp-analytics/amp-analytics.md | 6 ++++++ 2 files changed, 23 insertions(+) diff --git a/extensions/amp-analytics/0.1/vendors.js b/extensions/amp-analytics/0.1/vendors.js index 6db979a1e618..2e11598caa24 100644 --- a/extensions/amp-analytics/0.1/vendors.js +++ b/extensions/amp-analytics/0.1/vendors.js @@ -238,6 +238,23 @@ export const ANALYTICS_CONFIG = { }, }, + 'lotame': { + 'requests': { + 'pageview': 'https://bcp.crwdcntrl.net/5/c=${account}/pv=y' + }, + 'triggers': { + 'track pageview': { + 'on': 'visible', + 'request': 'pageview' + } + }, + 'transport': { + 'beacon': false, + 'xhrpost': false, + 'image': true + } + }, + 'mediametrie': { 'requests': { 'host': 'https://prof.estat.com/m/web', diff --git a/extensions/amp-analytics/amp-analytics.md b/extensions/amp-analytics/amp-analytics.md index bd567f06605d..c00f1de204e0 100644 --- a/extensions/amp-analytics/amp-analytics.md +++ b/extensions/amp-analytics/amp-analytics.md @@ -134,6 +134,12 @@ Type attribute value: `krux` Adds support for Krux. Configuration details can be found at [help.krux.com](https://konsole.zendesk.com/hc/en-us/articles/216596608). +### Lotame + +Type attribute value: `lotame` + +Adds support for Lotame. More information and configuration details can be found at [mylotame.force.com](https://mylotame.force.com/s/article/Google-AMP). + ### Médiamétrie Type attribute value: `mediametrie` From d1cbc682c15225170e59550384e45ac72ce7eb97 Mon Sep 17 00:00:00 2001 From: Mike Marcus Date: Mon, 28 Mar 2016 10:07:56 -0400 Subject: [PATCH 2/3] Added example for Lotame analytics. --- examples/analytics.amp.html | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/examples/analytics.amp.html b/examples/analytics.amp.html index c70bd72f1640..e8997426d46d 100644 --- a/examples/analytics.amp.html +++ b/examples/analytics.amp.html @@ -186,6 +186,25 @@ + + + + + +