1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-23 14:59:36 +02:00

refactor: Add umami event tracking to adventure card buttons

This commit is contained in:
Sean Morley 2024-07-30 08:34:26 -04:00
parent 053c1ff681
commit 42f6c84633
3 changed files with 18 additions and 4 deletions

View file

@ -384,7 +384,12 @@
class="input input-bordered w-full max-w-xs mt-1"
/>
<button type="submit" class="btn btn-primary mr-4 mt-4">Create</button>
<button
id="new_adventure"
data-umami-event="Create new Adventure"
type="submit"
class="btn btn-primary mr-4 mt-4">Create</button
>
<button type="button" class="btn mt-4" on:click={close}>Close</button>
</div>
</form>