You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Still need to dig into how the tracking script works not really sure what the point of the queue is at a glance but passing the array as a data attribute feels kind of off
Is there any reason to not just do something like this?
You totally could – but the reason to use data- attributes is so that users who have disallowed inline scripts using CSP can still use Counterscale.
Sounds like you're suggesting something like this though
Still need to dig into how the tracking script works not really sure what the point of the queue is at a glance but passing the array as a data attribute feels kind of off
I'd probably the kill the queue stuff entirely.
The tracking script is a fork (see the comments in the file). I didn't really alter how it behaves besides removing some cookie stuff.
Everything should be configured via
data-
attributes (or something else). Basically – just avoid another script tag.The text was updated successfully, but these errors were encountered: