Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data-auto-track is being ignored #2744

Closed
geoffkendall opened this issue May 14, 2024 · 1 comment
Closed

data-auto-track is being ignored #2744

geoffkendall opened this issue May 14, 2024 · 1 comment

Comments

@geoffkendall
Copy link

Describe the Bug

I'm running my own custom server, with this script code in the header:

<script
	defer
	src="https://track.tra.bz/script.js"
	data-website-id="XXXXX">
	data-auto-track="false"
	data-domains="tra.bz"
</script>

My custom events are being logged from my client-side code, but it seems that data-auto-track is being ignored, as my database is filling up with events for each page which I'm not creating. They all have event_type set to 1 in the website_event table (whereas my own events have this value set to 2).

Thanks,
Geoff

Database

PostgreSQL

Relevant log output

No response

Which Umami version are you using? (if relevant)

Latest version (as of May 14, 2024)

Which browser are you using? (if relevant)

Safari and Chrome

How are you deploying your application? (if relevant)

Vercel

@geoffkendall
Copy link
Author

Please ignore this one - I realised I was closing the script tag early!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant