chore: track custom id

This commit is contained in:
Torsten Dittmann committed 2022-11-14 22:20:43 +01:00
1 parent e62710f8b2
commit f55f0355f6
1 file changed
+5
+5
View File
@@ -1,4 +1,5 @@
<script lang="ts">
import { trackEvent } from '$lib/actions/analytics';
import { InnerModal } from '$lib/components';
import { InputText } from '$lib/elements/forms';
@@ -13,6 +14,10 @@
$: if (!id?.length) {
id = null;
}
$: if (show) {
trackEvent('click_show_custom_id');
}
</script>
<InnerModal bind:show>