With Media tracking, you can measure the use of media streams. In detail, these are retrievals, actions such as play, pause (depending on the integrated medium) and duration.

The precise identification of the individual multimedia file is of central importance in the web analysis. Therefore, you should pay attention to a meaningful naming. For example, the multimedia name must be unique to enable useful conclusions to be drawn about the multimedia file.

The recorded functions for each file are open, play, pause (depending on the embedded medium) and play duration.


Example

<amp-video id="video" 
	class="mapp_video"
	width="400" height="300" 
	src="media/en_mapp_video_5.mp4" 
	autoplay
	controls>
</amp-video>

<amp-analytics type="mapp_intelligence">
    <script type="application/json">
	{
		"vars": {
			"trackDomain": "analytics.mapp.com", 
			"trackId": "111111111111111", 
			"mediaName": "en.mapp.video.5"
		}, 
		"triggers": {
			... 
		}
	}
	</script>
</amp-analytics>
XML
ParameterDescription
mediaName

Optional. Please indicate the unique name for the media file here. If you do not set this parameter, the value of the "id" attribute is used to generate the file name.