Added analytics events for scene date clicks.
This commit is contained in:
parent
40e7e456b1
commit
c4dc953d63
|
@ -67,6 +67,9 @@
|
|||
:title="scene.date ? format(scene.date.toISOString(), 'y-MM-dd hh:mm') : `Release date unknown, added ${format(scene.createdAt, 'y-MM-dd')}`"
|
||||
target="_blank"
|
||||
class="date-link nolink"
|
||||
:data-umami-event="scene.affiliate ? 'scenetile-date-click-aff' : 'scenetile-date-click'"
|
||||
:data-umami-event-aff-id="scene.affiliate?.id"
|
||||
:data-umami-event-scene-id="scene.id"
|
||||
>
|
||||
<time
|
||||
:datetime="scene.effectiveDate.toISOString()"
|
||||
|
|
|
@ -97,6 +97,9 @@
|
|||
target="_blank"
|
||||
class="date nolink"
|
||||
:class="{ nodate: !scene.date }"
|
||||
:data-umami-event="scene.affiliate ? 'scene-date-click-aff' : 'scene-date-click'"
|
||||
:data-umami-event-aff-id="scene.affiliate?.id"
|
||||
:data-umami-event-scene-id="scene.id"
|
||||
>
|
||||
<time
|
||||
:datetime="scene.effectiveDate.toISOString()"
|
||||
|
|
Loading…
Reference in New Issue