In our supportcenter you can find two guides that will show you how you can implement Webtrekk YouTube tracking without much effort.
In case simple event-tracking is enough, please have a look at this guide:
Here the name of the video is transmitted via ct parameter (eventname in the frontend) whenever the user interacts with the player for the first time during the pageview.
For a more detailed analysis you should go for the solution with our media tracking library.
Here’s a guide where you can find the code for an easy, fast and yet powerful implementation:
The following events are tracked here:
- opening of a video
- playing and pausing of the video
- play position of the video
- audio level and mute
- title oft he video
- overall duration of the video
- seeking actions
You also add customClickParameter, media categories, session parameter and eCommerce parameter to the mediarequests.