reveal-ga icon indicating copy to clipboard operation
reveal-ga copied to clipboard

Change JS to use internal options

Open Martinomagnifico opened this issue 4 years ago • 1 comments

I would like to move the tracking ID to be in the internal options object. The same goes for the debug. I set that one to be an option as well, so users don't need to add the script tag for debugging. The custom event is then also no longer needed, because the object is only called when debug is set to true. I also changed the readme a bit to reflect the changed options.

Martinomagnifico avatar Feb 12 '20 09:02 Martinomagnifico