October 2017
Intermediate to advanced
370 pages
8h 57m
English
The amp-pixel component offers simple pixel-tracking analytics. It's a core component, so there's no need to include any script. With amp-pixel you simply provide a URL that will register a pageview, for example:
<amp-pixel src="https://a.theampbook.com/?idsite=1&rec=1&action_name=TITLE&url=CANONICAL_URL&rand=RANDOM">
Note the following:
We'll see shortly that the amp-analytics component has built-in support for Google Analytics, but if you wanted to keep things super-lightweight, and if you have no need for features other than pageview counting, then you ...
Read now
Unlock full access