add album name to matomo data

This commit is contained in:
Set Hallstrom 2020-09-10 11:44:00 +02:00
parent 824ad0c575
commit 916bdd9c2c

View file

@ -127,7 +127,7 @@ layout: default
<div id="audiowrap"> <div id="audiowrap">
<div id="audio0"> <div id="audio0">
<audio controls autoplay preload="metadata" data-matomo-title="{{ page.common.title }}"> <audio controls autoplay preload="metadata" data-matomo-title="{{ page.common.title }} - {{ page.common.album }}">
<source src="{{ site.mediaurl }}/{{ page.slug }}.mp3" type="audio/mpeg" ontimeupdate='updateTrackTime(this);' /> <source src="{{ site.mediaurl }}/{{ page.slug }}.mp3" type="audio/mpeg" ontimeupdate='updateTrackTime(this);' />
<h1>Your browser isn't ready for so much hotness. Use the download-link instead.</h1>. <h1>Your browser isn't ready for so much hotness. Use the download-link instead.</h1>.
</audio> </audio>