Open mxrlkn opened 2 months ago
I'm not sure if attaching to window
might be the best when dealing with ad-blockers.
Thoughts about an API like this instead?
<script defer src="https://HOST/script.js" manual></script>
<script>
import * as medama from '@medama/browser';
medama.track({...});
</script>
Related: #13
Yeah that's much better.
Be able to include the script, but turn off any automatic tracking and get a way to do it manually. So I can do something like this: