Page Parameters
With custom page parameters, you can enrich the analytical data with your web page-specific information and metrics.
Page parameters refer to a single page and are directly allocated to this page. In contrast to content groups, the relationship between the page and the page parameter does not have to be unique. Thus, you can specify a page call, for example, by determining the variant or a number value.
Examples
page load time
screen orientation
Note, that you have to set up the parameter in Mapp Q3, too. Find more information here.
Check out the article What's the difference between page parameters and content groups?
Content Groups
Content groups are used to group pages so that website areas can be formed to enable aggregated evaluations.
Content groups are uniquely associated with a page. If a content group is measured along with a page, all following page calls will also be associated with this content group.
Examples
Country
main category
Website type
Note, that you have to set up the category in Mapp Q3. Find additional information here.
Check out the article What's the difference between page parameters and content groups?
Content groups can also be imported via Excel, JSON or Datafeed.
Code Example
<amp-analytics type="mapp_intelligence">
<script type="application/json">
{
"vars": {
"trackDomain": "analytics.mapp.com",
"trackId": "111111111111111"
},
"triggers": {
...
"trackPageview": {
"on": "visible",
"request": "pageview",
"extraUrlParams": {
"pageParameter1": "green",
"pageParameter2": "200.51",
"contentGroup1": "main category",
"contentGroup2":"sub category"
},
}
...
}
}
</script>
</amp-analytics>In the JSON object, under "extraUrlParams," you can configure any number of parameters:
Parameter | Description |
|---|---|
pageParameter | Specify a page parameter. |
contentGroup | Specify a content group. |