Added affiliate parameters to scene URL.
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
</div>
|
||||
|
||||
<Link
|
||||
:href="scene.url"
|
||||
:href="scene.watchUrl"
|
||||
:title="scene.date ? formatDate(scene.date.toISOString(), 'y-MM-dd hh:mm') : `Release date unknown, added ${formatDate(scene.createdAt, 'y-MM-dd')}`"
|
||||
target="_blank"
|
||||
class="date nolink"
|
||||
@@ -142,10 +142,13 @@
|
||||
-->
|
||||
|
||||
<Link
|
||||
v-if="scene.url"
|
||||
:href="scene.url"
|
||||
v-if="scene.watchUrl"
|
||||
:href="scene.watchUrl"
|
||||
target="_blank"
|
||||
class="button button-primary watch nolink"
|
||||
:data-umami-event="scene.affiliate ? 'watch-click-aff' : 'watch-click'"
|
||||
:data-umami-event-aff-id="scene.affiliate?.id"
|
||||
:data-umami-event-scene-id="scene.id"
|
||||
>Watch full video</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user