feat: bye analytics

This commit is contained in:
Cory Dransfeldt 2024-08-10 18:54:06 -07:00
parent 94d58d0f0c
commit 2bf2fba325
No known key found for this signature in database
20 changed files with 14 additions and 185 deletions

View file

@ -32,17 +32,4 @@ description: How to contact me.
<button type="submit">Send message</button>
</div>
</form>
</div>
<script>
document.querySelector('[data-form="contact"]').addEventListener('submit', function(event) {
if (typeof plausible === 'function') {
plausible('Contact form submitted', {
props: {
name: this.name.value,
email: this.email.value,
message: this.message.value
}
})
}
})
</script>
</div>