Similar to the pages that you can group into categories using content groups, media categories can group media. A media category is used to group several multimedia files.

But before you can track media categories, you need to configure them in Mapp Q3 (under Configuration > Categorization > Media Categories). Find more information here.


The categories must be set in triggers.trackMediaPlay.extraUrlParams.

Example

<amp-analytics type="mapp_intelligence">
	<script type="application/json">
	{
		"vars": {
			"trackDomain": "analytics.mapp.com",
			"trackId": "111111111111111" 
		},
		"triggers": { 
			...
			"trackMediaPlay": {
				"on": "video-play", 
				"request": "mediaPlay", 
				"selector": "#video", 
				"extraUrlParams": {
					"mediaCategory1": "de",
					"mediaCategory2": "mapp",
					"mediaCategory3": "video"
				} 
			},
			... 
		}
	}
	</script>
</amp-analytics>
</amp-analytics>
XML