From 7f74d227f0e5c818649669605df1ca155b9ce705 Mon Sep 17 00:00:00 2001 From: DebaucheryLibrarian Date: Wed, 26 Jul 2023 00:26:15 +0200 Subject: [PATCH] Tracking iframe campaign clicks. --- assets/components/campaigns/campaign.vue | 2 ++ assets/components/container/container.vue | 15 ++++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/assets/components/campaigns/campaign.vue b/assets/components/campaigns/campaign.vue index c8136b93..db7d0f33 100755 --- a/assets/components/campaigns/campaign.vue +++ b/assets/components/campaigns/campaign.vue @@ -9,6 +9,8 @@ marginwidth="0" marginheight="0" class="campaign frame" + data-umami-event="campaign-click" + :data-umami-event-campaign-id="`${campaign.entity.slug}-${campaign.id}`" />