Repository navigation
v1.1.0
What's Changed
First official "release".
Bugs:
- Fixes issue where _cc_anonymous_id cookie was not deleted when analytics_storage is denied.
- Fixes issue where form fields were not being filled if they already had a value (this poses issues with changes in consent status).
- Expands sanitization character allowlist to account for less common characters for complete URL support.
- Fixes issue where cookie and global values were not being sanitized before setting input values.
- Version/1.1 by @derekcavaliero in #1
- Fixes bug w/ lead payload where consent format was incorrect. by @derekcavaliero in #2
- Fixes control statement in fill() method. by @derekcavaliero in #3
- Fixes package.json version and main reference. by @derekcavaliero in #4
Improvements:
- Introduces ability to define what to redact per consent type in configuration via redacts array.
- Allows for accessing globals in the root window object, useful for accessing screen and similar globals.
- Better sanitization logic. Implement DOMParser to string any HTML from strings (including JSON).
- Consolidates fill() method a bit to be less complex.
- Cleans up debugging/error messages.
- Implements fallback transport method for lead() method - will attempt to use sendBeacon and use fetch() if message is not queued.
- Improves events emitted to Google Tag Mangaer dataLayer. Incuding a new clean_url