October 2017
Intermediate to advanced
370 pages
8h 57m
English
The basic structure of the amp-analytics configuration object is like this:
{ "requests": { request-name: request-value, ... }, "vars": { var-name: var-value, ... }, "triggers": { trigger-name: trigger-object, ... }}
The code can be broken down as follows:
Let's look at these in more detail with the help of an example (/ch10/amp-analytics.html):
<amp-analytics> <script type="application/json"> { "requests": ...Read now
Unlock full access