mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2025-07-21 22:09:36 +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
|
@ -332,7 +332,13 @@
|
|||
</div>
|
||||
{/if}
|
||||
|
||||
<button type="submit" class="btn btn-primary mr-4 mt-4" on:click={submit}>Edit</button>
|
||||
<button
|
||||
type="submit"
|
||||
id="edit_adventure"
|
||||
data-umami-event="Edit Adventure"
|
||||
class="btn btn-primary mr-4 mt-4"
|
||||
on:click={submit}>Edit</button
|
||||
>
|
||||
<!-- if there is a button in form, it will close the modal -->
|
||||
<button class="btn mt-4" on:click={close}>Close</button>
|
||||
</form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue