Moat Analytics

Implementation of MOAT Analytics into AMP. The plugin can be implemented by providing a moat object to the player config:

var config = {
	var config = {
		plugins: {
			moat: {
				resources: [
					{src: "#{paths.plugins}amp-moat/libs/moat_sdk.js", type: "text/javascript", async: true},
					{src: "#{paths.plugins}amp-moat/Moat.min.js", debug: "#{paths.plugins}amp-moat/Moat.js", type: "text/javascript", async: true}
				],
				partnerCode: "webmdjsvid25434523423",
				slicer1: "123",
				slicer2: "123"
			}
		}
	}
};
akamai.amp.AMP.create("amp", config);
Last modified: 16/49/2023, AMP Support.