mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-20 21:39:37 +02:00
refactor: Add umami event tracking to adventure card buttons
This commit is contained in:
parent
053c1ff681
commit
42f6c84633
3 changed files with 18 additions and 4 deletions
|
@ -242,8 +242,11 @@
|
|||
><Plus class="w-6 h-6" />Add to Collection</button
|
||||
>
|
||||
{/if}
|
||||
<button class="btn btn-warning" on:click={deleteAdventure}
|
||||
><TrashCan class="w-6 h-6" />Delete</button
|
||||
<button
|
||||
id="delete_adventure"
|
||||
data-umami-event="Delete Adventure"
|
||||
class="btn btn-warning"
|
||||
on:click={deleteAdventure}><TrashCan class="w-6 h-6" />Delete</button
|
||||
>
|
||||
</ul>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue