Skip to content

Conversation

@felixaschultz
Copy link
Owner

No description provided.

felixaschultz and others added 30 commits March 31, 2025 18:04
)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Implementing #248: HubSpot consents mode (#249)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Correct variable reference for HubSpot doNotTrack functionality

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

* Implemented HubSpot consents mode (#250)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update HubSpot consent management for improved cookie handling

* Disable default cookie consent types for analytics, advertisement, and functional cookies

* Implement enhancements to cookie consent management for better user privacy

* Update HubSpot consent settings to enable functionality cookies and disable advertisement cookies

* Refactor HubSpot consent management by removing 'doNotTrack' calls and streamlining consent handling logic

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Implementing #248: HubSpot consents mode (#249)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Correct variable reference for HubSpot doNotTrack functionality

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

* Implemented HubSpot consents mode (#250)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update HubSpot consent management for improved cookie handling

* Disable default cookie consent types for analytics, advertisement, and functional cookies

* Implement enhancements to cookie consent management for better user privacy

* Update HubSpot consent settings to enable functionality cookies and disable advertisement cookies

* Refactor HubSpot consent management by removing 'doNotTrack' calls and streamlining consent handling logic

* Remove unnecessary page reload and clean up cookie settings logic

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
…255)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Implementing #248: HubSpot consents mode (#249)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Correct variable reference for HubSpot doNotTrack functionality

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

* Implemented HubSpot consents mode (#250)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update HubSpot consent management for improved cookie handling

* Disable default cookie consent types for analytics, advertisement, and functional cookies

* Implement enhancements to cookie consent management for better user privacy

* Update HubSpot consent settings to enable functionality cookies and disable advertisement cookies

* Refactor HubSpot consent management by removing 'doNotTrack' calls and streamlining consent handling logic

* Remove unnecessary page reload and clean up cookie settings logic

* Refactor HubSpot consent management to use 'setHubSpotCookieConsent' for consistency and clarity

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
…vacy (#256)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Implementing #248: HubSpot consents mode (#249)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Correct variable reference for HubSpot doNotTrack functionality

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

* Implemented HubSpot consents mode (#250)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update HubSpot consent management for improved cookie handling

* Disable default cookie consent types for analytics, advertisement, and functional cookies

* Implement enhancements to cookie consent management for better user privacy

* Update HubSpot consent settings to enable functionality cookies and disable advertisement cookies

* Refactor HubSpot consent management by removing 'doNotTrack' calls and streamlining consent handling logic

* Remove unnecessary page reload and clean up cookie settings logic

* Refactor HubSpot consent management to use 'setHubSpotCookieConsent' for consistency and clarity

* Add 'doNotTrack' calls to HubSpot consent management for improved privacy compliance

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
…r analytics, advertisement, and functional cookies
* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Implementing #248: HubSpot consents mode (#249)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Correct variable reference for HubSpot doNotTrack functionality

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

* Implemented HubSpot consents mode (#250)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update HubSpot consent management for improved cookie handling

* Disable default cookie consent types for analytics, advertisement, and functional cookies

* Implement enhancements to cookie consent management for better user privacy

* Update HubSpot consent settings to enable functionality cookies and disable advertisement cookies

* Refactor HubSpot consent management by removing 'doNotTrack' calls and streamlining consent handling logic

* Remove unnecessary page reload and clean up cookie settings logic

* Refactor HubSpot consent management to use 'setHubSpotCookieConsent' for consistency and clarity

* Add 'doNotTrack' calls to HubSpot consent management for improved privacy compliance

* Update HubSpot cookie consent settings to reflect user preferences for analytics, advertisement, and functional cookies

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Implementing #248: HubSpot consents mode (#249)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Correct variable reference for HubSpot doNotTrack functionality

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

* Implemented HubSpot consents mode (#250)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update HubSpot consent management for improved cookie handling

* Disable default cookie consent types for analytics, advertisement, and functional cookies

* Implement enhancements to cookie consent management for better user privacy

* Update HubSpot consent settings to enable functionality cookies and disable advertisement cookies

* Refactor HubSpot consent management by removing 'doNotTrack' calls and streamlining consent handling logic

* Remove unnecessary page reload and clean up cookie settings logic

* Refactor HubSpot consent management to use 'setHubSpotCookieConsent' for consistency and clarity

* Add 'doNotTrack' calls to HubSpot consent management for improved privacy compliance

* Update HubSpot cookie consent settings to reflect user preferences for analytics, advertisement, and functional cookies

* Update README to include Trackers & Supported Consents Mode, Support, License, and Contributing sections

* Update README to add Acknowledgements and Intastellar Solutions links

* Remove redundant HubSpot cookie consent settings for advertisement and functionality cookies

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
…nt']); (#259)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Implementing #248: HubSpot consents mode (#249)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Correct variable reference for HubSpot doNotTrack functionality

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

* Implemented HubSpot consents mode (#250)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update HubSpot consent management for improved cookie handling

* Disable default cookie consent types for analytics, advertisement, and functional cookies

* Implement enhancements to cookie consent management for better user privacy

* Update HubSpot consent settings to enable functionality cookies and disable advertisement cookies

* Refactor HubSpot consent management by removing 'doNotTrack' calls and streamlining consent handling logic

* Remove unnecessary page reload and clean up cookie settings logic

* Refactor HubSpot consent management to use 'setHubSpotCookieConsent' for consistency and clarity

* Add 'doNotTrack' calls to HubSpot consent management for improved privacy compliance

* Update HubSpot cookie consent settings to reflect user preferences for analytics, advertisement, and functional cookies

* Update README to include Trackers & Supported Consents Mode, Support, License, and Contributing sections

* Update README to add Acknowledgements and Intastellar Solutions links

* Remove redundant HubSpot cookie consent settings for advertisement and functionality cookies

* Refactor HubSpot cookie consent handling and add event listener for third-party consent

* No code changes made.

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Implementing #248: HubSpot consents mode (#249)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Correct variable reference for HubSpot doNotTrack functionality

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

* Implemented HubSpot consents mode (#250)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update HubSpot consent management for improved cookie handling

* Disable default cookie consent types for analytics, advertisement, and functional cookies

* Implement enhancements to cookie consent management for better user privacy

* Update HubSpot consent settings to enable functionality cookies and disable advertisement cookies

* Refactor HubSpot consent management by removing 'doNotTrack' calls and streamlining consent handling logic

* Remove unnecessary page reload and clean up cookie settings logic

* Refactor HubSpot consent management to use 'setHubSpotCookieConsent' for consistency and clarity

* Add 'doNotTrack' calls to HubSpot consent management for improved privacy compliance

* Update HubSpot cookie consent settings to reflect user preferences for analytics, advertisement, and functional cookies

* Update README to include Trackers & Supported Consents Mode, Support, License, and Contributing sections

* Update README to add Acknowledgements and Intastellar Solutions links

* Remove redundant HubSpot cookie consent settings for advertisement and functionality cookies

* Refactor HubSpot cookie consent handling and add event listener for third-party consent

* No code changes made.

* Update powered by links to remove tracking parameters

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Implementing #248: HubSpot consents mode (#249)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Correct variable reference for HubSpot doNotTrack functionality

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

* Implemented HubSpot consents mode (#250)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update HubSpot consent management for improved cookie handling

* Disable default cookie consent types for analytics, advertisement, and functional cookies

* Implement enhancements to cookie consent management for better user privacy

* Update HubSpot consent settings to enable functionality cookies and disable advertisement cookies

* Refactor HubSpot consent management by removing 'doNotTrack' calls and streamlining consent handling logic

* Remove unnecessary page reload and clean up cookie settings logic

* Refactor HubSpot consent management to use 'setHubSpotCookieConsent' for consistency and clarity

* Add 'doNotTrack' calls to HubSpot consent management for improved privacy compliance

* Update HubSpot cookie consent settings to reflect user preferences for analytics, advertisement, and functional cookies

* Update README to include Trackers & Supported Consents Mode, Support, License, and Contributing sections

* Update README to add Acknowledgements and Intastellar Solutions links

* Remove redundant HubSpot cookie consent settings for advertisement and functionality cookies

* Refactor HubSpot cookie consent handling and add event listener for third-party consent

* No code changes made.

* Update powered by links to remove tracking parameters

* Add Clearbit cookies to GDPR compliance lists

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
…allScript array. (#262)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Implementing #248: HubSpot consents mode (#249)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Correct variable reference for HubSpot doNotTrack functionality

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

* Implemented HubSpot consents mode (#250)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update HubSpot consent management for improved cookie handling

* Disable default cookie consent types for analytics, advertisement, and functional cookies

* Implement enhancements to cookie consent management for better user privacy

* Update HubSpot consent settings to enable functionality cookies and disable advertisement cookies

* Refactor HubSpot consent management by removing 'doNotTrack' calls and streamlining consent handling logic

* Remove unnecessary page reload and clean up cookie settings logic

* Refactor HubSpot consent management to use 'setHubSpotCookieConsent' for consistency and clarity

* Add 'doNotTrack' calls to HubSpot consent management for improved privacy compliance

* Update HubSpot cookie consent settings to reflect user preferences for analytics, advertisement, and functional cookies

* Update README to include Trackers & Supported Consents Mode, Support, License, and Contributing sections

* Update README to add Acknowledgements and Intastellar Solutions links

* Remove redundant HubSpot cookie consent settings for advertisement and functionality cookies

* Refactor HubSpot cookie consent handling and add event listener for third-party consent

* No code changes made.

* Update powered by links to remove tracking parameters

* Add Clearbit cookies to GDPR compliance lists

* Add Clearbit scripts to GDPR compliance checks

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>
@vercel
Copy link

vercel bot commented Dec 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
intastellar-cookie-solutions Ready Ready Preview Comment Dec 3, 2025 10:39am

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 2, 2025

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
intastellar-consents-banner 02e4719 Dec 02 2025, 05:28 PM

Signed-off-by: Felix A. Schultz <fs@asasoftware.aero>
felixaschultz and others added 3 commits December 2, 2025 18:42
* Updating Development Branch with production changes (#276)

* Fixed bug where HubSpot consents Status weren't send correctly (#267)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Implementing #248: HubSpot consents mode (#249)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Correct variable reference for HubSpot doNotTrack functionality

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

* Implemented HubSpot consents mode (#250)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update HubSpot consent management for improved cookie handling

* Disable default cookie consent types for analytics, advertisement, and functional cookies

* Implement enhancements to cookie consent management for better user privacy

* Update HubSpot consent settings to enable functionality cookies and disable advertisement cookies

* Refactor HubSpot consent management by removing 'doNotTrack' calls and streamlining consent handling logic

* Remove unnecessary page reload and clean up cookie settings logic

* Refactor HubSpot consent management to use 'setHubSpotCookieConsent' for consistency and clarity

* Add 'doNotTrack' calls to HubSpot consent management for improved privacy compliance

* Update HubSpot cookie consent settings to reflect user preferences for analytics, advertisement, and functional cookies

* Update README to include Trackers & Supported Consents Mode, Support, License, and Contributing sections

* Update README to add Acknowledgements and Intastellar Solutions links

* Remove redundant HubSpot cookie consent settings for advertisement and functionality cookies

* Refactor HubSpot cookie consent handling and add event listener for third-party consent

* No code changes made.

* Update powered by links to remove tracking parameters

* Add Clearbit cookies to GDPR compliance lists

* Add Clearbit scripts to GDPR compliance checks

* Clear localStorage and sessionStorage in GDPR compliance checks

* Replace _hsq with _hsp for HubSpot doNotTrack calls

* Add .gitignore for VSCode and update HubSpot consent handling to use window._hsp

* Remove .vscode directory and update HubSpot consent handling to use _hsp directly

* Refactor HubSpot consent handling to use window._hsp for all calls

* Refactor HubSpot cookie consent handling to set values based on checkbox states

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Implement code changes to enhance functionality and improve performance

* Implement code changes to enhance functionality and improve performance

* Implement code changes to enhance functionality and improve performance

* Refactor IntastellarCookieConsent.initialize to handle script loading on DOMContentLoaded and complete states

- Moved script loading logic to execute on DOMContentLoaded if document is still loading.
- Retained script loading logic for complete state, ensuring consistency.
- Added template appending in both cases to maintain functionality.

* Refactor window load event handling to support immediate execution if already loaded

* Refactor cookie consent initialization to improve loading logic

- Changed the initialization check from 'loading' to 'complete' for better performance.
- Removed unnecessary event listener for 'DOMContentLoaded'.
- Streamlined the script loading process for the cookie consent configuration.
- Ensured the template is appended to the body after the script loading logic.

* Refactor IntastellarCookieConsent: Consolidate initialization logic and remove duplicate code

* Refactor code structure for improved readability and maintainability

* Refactor inta_requiredCookieList: Add rootDomain to domain checks for improved flexibility

* Implement code changes to enhance functionality and improve performance

* Refactor code structure for improved readability and maintainability

* Refactor code structure for improved readability and maintainability

* Refactor code structure for improved readability and maintainability

* Add support for additional languages in cookie consent settings

* Add Finnish, Czech, Hungarian, Turkish, Chinese, Japanese, and Polish language support for cookie consent settings

* Add support for bannerV2 design in cookie consent settings

* Add Polish language support for cookie consent overview

- Implemented Polish translations for cookie vendor and privacy policy sections.
- Enhanced cookie domain display with links for Intastellar-related domains.
- Structured cookie details presentation in Polish, including purpose descriptions.

* Implement code changes to enhance functionality and improve performance

* Fix closing script tag in index.html

* Add support for bannerV2 design in privacy and learn more functions

- Updated paddingTop values for the "bannerV2" design in showPrivacy and learnMore functions to ensure proper layout.

* Implement code changes to enhance functionality and improve performance

* Update consent configuration and language settings; enhance script filtering

* Implement code changes to enhance functionality and improve performance

* Add Afrikaans and Korean language support for cookie settings messages

* Implemented support for: Korean and Afrikaans

* Implemented support for estonian language

* Update language settings to Korean and change HTML language attribute to Danish

* Fix HTML structure in showPrivacy function by removing unnecessary spaces and correcting closing tag for div element

* Refactor code structure for improved readability and maintainability

* Fix button formatting in cookie settings container by removing unnecessary whitespace in intLearnMoreBtn

* Enhance cookie banner logic to support new design variant

- Updated conditions to display company logo in cookie settings for both "banner" and "bannerV2" designs.
- Adjusted cookie button generation logic to accommodate the new design variant.
- Ensured consistent handling of logo visibility across different languages and settings.

* Refactor code structure for improved readability and maintainability

* Update consent handling to use clarity V2 for improved tracking of ad and analytics storage

* Refactor code structure for improved readability and maintainability

* Refactor consent handling in cb.dev.js to use simplified clarity consent method

- Replaced 'consentV2' with 'consent' method for clarity consent management.
- Updated consent settings to false for all categories: advertisement, analytics, and functionality.

* Fix capitalization in consent parameters and update clarity function calls

- Changed 'ad_storage' and 'analytics_storage' to 'ad_Storage' and 'analytics_Storage' for consistency.
- Replaced multiple instances of window.clarity('consentV2', {...}) with window.clarity('consent', false) where appropriate.
- Ensured proper handling of cookie consent states throughout the code.

* Implement code changes to enhance functionality and improve performance

* Implement code changes to enhance functionality and improve performance

* Implement code changes to enhance functionality and improve performance

* Implement code changes to enhance functionality and improve performance

* Implement code changes to enhance functionality and improve performance

* Refactor clarity consent handling and update configuration for improved functionality

* Update GDPR consent configuration: implementing new floating design

* Remove privacy policy buttons from multilingual consent messages for cleaner UI

* Refactor cookie banner styles for improved consistency and remove unnecessary scroll behavior

* Update floating.js to adjust layout for RTL support and enhance powered by section for floating design

* Update floating.js and gdpr-consents.config.js for RTL support and color adjustments

* Update consent messages styles for improved consistency and change banner color

* Remove Clarity tracking script from index.html

* Remove unnecessary ID display from cookie consent sections for cleaner UI

* Update powered by section visibility for floating design in cookie consent settings

* Implement code for a new banner layout & style for Intastellar Consents Solutions

* Implement feature X to enhance user experience and fix bug Y in module Z

* Implement code changes to enhance functionality and improve performance

* Remove VSCode configuration files for cleaner project setup

* Implement code changes to enhance functionality and improve performance

* Add event push for cookie consent widget initialization

* Refactor code structure for improved readability and maintainability

* Fixing intastellarDevMode

* Added clarity script for testing

* Checking if INTA.settings is set

* Working on getting the cookie banner CCPA compliant again.

* Adjusted Google Consents Mode default settings based on the region

* Fixed region based consent, with Google Consent Mode V2

* Fixed small bug

* Fixed a slpit error

* logging google default conset

* Fix

* Fixed how to get the consent data

* Fixing consent defaults

* Fixing sharing script page

* Removed the message event

* Adding the --active state a an other place, just after the template is added to the body

* Fixing a small bug further more

* Check now if the cookie is empty or undefined

* Checking if window.clarity is there

* Trying to fix clarty consentV2 error

* Reverted to the previouse state

* Fixed missing window.clarity =

* Updated the loading function of the template

* Fixed the injection

* Fixing the error with respecting INTA object

* Working on loading of Config

* Reworked the loadRemoteConfig function

* Debugging

* Added trace

* Debugging

* Debug finish

* Runnoing initialize function before check for valid privacy policy

* Check

* Removed default INTA object

* Removed a timeout

* removed floating design load for now

* Checking for any not yet loaded INTA objects

* Removed an unneccessery check

* Added a small delay in again for appending the cb file to the head

* Moved the document.head.inse…
Signed-off-by: Felix A. Schultz <felle717@gmail.com>
felixaschultz and others added 2 commits December 3, 2025 11:11
…ogle tagmanager (#280)

* Updating Development Branch with production changes (#276)

* Fixed bug where HubSpot consents Status weren't send correctly (#267)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Implementing #248: HubSpot consents mode (#249)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Correct variable reference for HubSpot doNotTrack functionality

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

* Implemented HubSpot consents mode (#250)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Added on error message (#243)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Updated initialize function (#244)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update cookie settings display logic for responsive design

* Edit powered by logo position (#245)

* Production (#242)

* Fix (#239)

* Update GDPR script reference to include GTM query parameter

* Created a variable called isGtmMode, to check if script is loaded via GTM

* Remove unnecessary closing bracket in restartObserver function

* Add HubSpot cookies and privacy information to marketingCookieList

* Remove unnecessary closing bracket in restartObserver function

* Fix: Fixed error with double quotes on the 1 number

* Fix: Prevent setting innerHTML for specific sources in consent blocks

* Fix: Update consent block handling for specific sources

* Fix: Update condition to check for hs-sites.com in consent block handling

* Fix: Simplify consent block handling for hs-sites.com by removing redundant checks

* Fix: Refactor consent block handling for hs-sites.com to improve readability and maintainability

* Fix: Update consent block handling for hs-sites.com to use null instead of empty string

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fix: Add console log for hs-sites.com source check

* Fix: Update hs-sites.com condition and add copyright notice

* Fix: Improve error handling for hs-sites.com checks

* Fix: Refactor hs-sites.com handling in loopBlock function

* Fix: Refactor hs-sites.com handling in loopBlock function to improve cookie checks

* Fix: Remove unnecessary console logs in input change handling and observer restart functions

* Fix: Update dataLayer and adsbygoogle settings for consent banner functionality

* Fix: Add event listener for consent initialization messages from parent window

* Fix: Enhance logging for messages received from parent window

* Fix: Add optional chaining to prevent errors when checking hs-sites.com in loopBlock function

* Fix: Update loopBlock function to replace iframe elements with empty strings instead of null

* Fix: Conditionally push event to dataLayer for consent banner based on GTM mode

* Fix: Add WordPress check to conditionally remove script when in GTM mode

* Fix: Wrap script removal in DOMContentLoaded event listener for improved execution timing

* Fix: Improve iframe handling in loopBlock function and add WordPress detection

* Fix: Move checkbox element queries outside of checkCookieStatus function for improved performance

* Fix: Update Facebook class check in loopBlock function to improve element replacement logic

* Fix: Enhance Facebook element check in loopBlock function to ensure proper data-href validation

* Fix: Add region support for consent settings in GDPR script

* Fix: Comment out clarity regex in allScripts array to prevent unwanted matches

* Fix: Refactor cookie consent logic to improve clarity and remove clarity script references

* Fix: Remove hardcoded region values from GDPR consent settings

* Fix: Simplify script merging logic by removing clarity filters from GDPR consent handling

* Fix: Improve language condition checks and enhance consent handling logic

* Fix: Enhance language support in cookie settings by adding alternative language checks

* Fix: Add console log for debugging language settings in cookie configuration

* Fix: Refactor cookie configuration to streamline language handling and improve consent logic

* Fix: Enhance language detection in cookie settings by adding support for regional language codes

* Fix: Update condition checks for displaying elements and correct marketing language label in cookie settings

* Fix: Update marketing language in cookie settings for clarity and consistency

* Fix: Improve clarity and consistency of cookie descriptions in multiple languages

* Fix: Refine cookie consent logic and enhance language support for improved user experience

* Add: Create new banner and overlay style files for improved UI design

* Add dynamic styling fetch and update banner/overlay scripts

* Enhance cookie consent functionality with improved error handling and dynamic element creation

* Refactor cookie consent button and banner structure for improved readability and functionality

* Refactor cookie consent banner and overlay structure for improved organization and readability

* Fix: Update Intastellar logo URLs for consistency in consent banner

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update README.md: Enhance structure and add beta testing section

* Update README.md: Add HTML script tag example for beta testing banner

* Update README.md: Add HTML script tag example for loading cookie banner

* Fix HTML comment closure in index.html for Google Optimize script

* Refactor banner.js and overlay.js: Update class assignments and comment out unused code

* Comment out unused XMLHttpRequest in cb.dev.js and initialize IntastellarCookieConsent

* Add error handling for logo image in cookie settings

* Add Intastellar Consents plugin files and initial setup

* Refactor IntastellarCookieConsent initialization: Change event listener from 'loading' to 'loaded' for improved script loading

* Update IntastellarCookieConsent initialization: Change event listener check from 'loaded' to 'complete' for accurate script readiness

* Update cookie settings display logic for responsive design

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Fixed logo

* Update index.php

Change redirect link

* Update index.html

Updated redirect url to new link

* Implement cookie consent management and do-not-track functionality for HubSpot

* Fix doNotTrack function call in GDPR script

* Add HubSpot cookie definitions and privacy policy links to GDPR script

* Refactor HubSpot consent management to use setHubSpotConsent for granular control

* Update cookie consent management to enhance user privacy controls

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Update HubSpot consent management for improved cookie handling

* Disable default cookie consent types for analytics, advertisement, and functional cookies

* Implement enhancements to cookie consent management for better user privacy

* Update HubSpot consent settings to enable functionality cookies and disable advertisement cookies

* Refactor HubSpot consent management by removing 'doNotTrack' calls and streamlining consent handling logic

* Remove unnecessary page reload and clean up cookie settings logic

* Refactor HubSpot consent management to use 'setHubSpotCookieConsent' for consistency and clarity

* Add 'doNotTrack' calls to HubSpot consent management for improved privacy compliance

* Update HubSpot cookie consent settings to reflect user preferences for analytics, advertisement, and functional cookies

* Update README to include Trackers & Supported Consents Mode, Support, License, and Contributing sections

* Update README to add Acknowledgements and Intastellar Solutions links

* Remove redundant HubSpot cookie consent settings for advertisement and functionality cookies

* Refactor HubSpot cookie consent handling and add event listener for third-party consent

* No code changes made.

* Update powered by links to remove tracking parameters

* Add Clearbit cookies to GDPR compliance lists

* Add Clearbit scripts to GDPR compliance checks

* Clear localStorage and sessionStorage in GDPR compliance checks

* Replace _hsq with _hsp for HubSpot doNotTrack calls

* Add .gitignore for VSCode and update HubSpot consent handling to use window._hsp

* Remove .vscode directory and update HubSpot consent handling to use _hsp directly

* Refactor HubSpot consent handling to use window._hsp for all calls

* Refactor HubSpot cookie consent handling to set values based on checkbox states

---------

Signed-off-by: Felix A. Schultz <felix.schultz@engapho.com>

* Implement code changes to enhance functionality and improve performance

* Implement code changes to enhance functionality and improve performance

* Implement code changes to enhance functionality and improve performance

* Refactor IntastellarCookieConsent.initialize to handle script loading on DOMContentLoaded and complete states

- Moved script loading logic to execute on DOMContentLoaded if document is still loading.
- Retained script loading logic for complete state, ensuring consistency.
- Added template appending in both cases to maintain functionality.

* Refactor window load event handling to support immediate execution if already loaded

* Refactor cookie consent initialization to improve loading logic

- Changed the initialization check from 'loading' to 'complete' for better performance.
- Removed unnecessary event listener for 'DOMContentLoaded'.
- Streamlined the script loading process for the cookie consent configuration.
- Ensured the template is appended to the body after the script loading logic.

* Refactor IntastellarCookieConsent: Consolidate initialization logic and remove duplicate code

* Refactor code structure for improved readability and maintainability

* Refactor inta_requiredCookieList: Add rootDomain to domain checks for improved flexibility

* Implement code changes to enhance functionality and improve performance

* Refactor code structure for improved readability and maintainability

* Refactor code structure for improved readability and maintainability

* Refactor code structure for improved readability and maintainability

* Add support for additional languages in cookie consent settings

* Add Finnish, Czech, Hungarian, Turkish, Chinese, Japanese, and Polish language support for cookie consent settings

* Add support for bannerV2 design in cookie consent settings

* Add Polish language support for cookie consent overview

- Implemented Polish translations for cookie vendor and privacy policy sections.
- Enhanced cookie domain display with links for Intastellar-related domains.
- Structured cookie details presentation in Polish, including purpose descriptions.

* Implement code changes to enhance functionality and improve performance

* Fix closing script tag in index.html

* Add support for bannerV2 design in privacy and learn more functions

- Updated paddingTop values for the "bannerV2" design in showPrivacy and learnMore functions to ensure proper layout.

* Implement code changes to enhance functionality and improve performance

* Update consent configuration and language settings; enhance script filtering

* Implement code changes to enhance functionality and improve performance

* Add Afrikaans and Korean language support for cookie settings messages

* Implemented support for: Korean and Afrikaans

* Implemented support for estonian language

* Update language settings to Korean and change HTML language attribute to Danish

* Fix HTML structure in showPrivacy function by removing unnecessary spaces and correcting closing tag for div element

* Refactor code structure for improved readability and maintainability

* Fix button formatting in cookie settings container by removing unnecessary whitespace in intLearnMoreBtn

* Enhance cookie banner logic to support new design variant

- Updated conditions to display company logo in cookie settings for both "banner" and "bannerV2" designs.
- Adjusted cookie button generation logic to accommodate the new design variant.
- Ensured consistent handling of logo visibility across different languages and settings.

* Refactor code structure for improved readability and maintainability

* Update consent handling to use clarity V2 for improved tracking of ad and analytics storage

* Refactor code structure for improved readability and maintainability

* Refactor consent handling in cb.dev.js to use simplified clarity consent method

- Replaced 'consentV2' with 'consent' method for clarity consent management.
- Updated consent settings to false for all categories: advertisement, analytics, and functionality.

* Fix capitalization in consent parameters and update clarity function calls

- Changed 'ad_storage' and 'analytics_storage' to 'ad_Storage' and 'analytics_Storage' for consistency.
- Replaced multiple instances of window.clarity('consentV2', {...}) with window.clarity('consent', false) where appropriate.
- Ensured proper handling of cookie consent states throughout the code.

* Implement code changes to enhance functionality and improve performance

* Implement code changes to enhance functionality and improve performance

* Implement code changes to enhance functionality and improve performance

* Implement code changes to enhance functionality and improve performance

* Implement code changes to enhance functionality and improve performance

* Refactor clarity consent handling and update configuration for improved functionality

* Update GDPR consent configuration: implementing new floating design

* Remove privacy policy buttons from multilingual consent messages for cleaner UI

* Refactor cookie banner styles for improved consistency and remove unnecessary scroll behavior

* Update floating.js to adjust layout for RTL support and enhance powered by section for floating design

* Update floating.js and gdpr-consents.config.js for RTL support and color adjustments

* Update consent messages styles for improved consistency and change banner color

* Remove Clarity tracking script from index.html

* Remove unnecessary ID display from cookie consent sections for cleaner UI

* Update powered by section visibility for floating design in cookie consent settings

* Implement code for a new banner layout & style for Intastellar Consents Solutions

* Implement feature X to enhance user experience and fix bug Y in module Z

* Implement code changes to enhance functionality and improve performance

* Remove VSCode configuration files for cleaner project setup

* Implement code changes to enhance functionality and improve performance

* Add event push for cookie consent widget initialization

* Refactor code structure for improved readability and maintainability

* Fixing intastellarDevMode

* Added clarity script for testing

* Checking if INTA.settings is set

* Working on getting the cookie banner CCPA compliant again.

* Adjusted Google Consents Mode default settings based on the region

* Fixed region based consent, with Google Consent Mode V2

* Fixed small bug

* Fixed a slpit error

* logging google default conset

* Fix

* Fixed how to get the consent data

* Fixing consent defaults

* Fixing sharing script page

* Removed the message event

* Adding the --active state a an other place, just after the template is added to the body

* Fixing a small bug further more

* Check now if the cookie is empty or undefined

* Checking if window.clarity is there

* Trying to fix clarty consentV2 error

* Reverted to the previouse state

* Fixed missing window.clarity =

* Updated the loading function of the template

* Fixed the injection

* Fixing the error with respecting INTA object

* Working on loading of Config

* Reworked the loadRemoteConfig function

* Debugging

* Added trace

* Debugging

* Debug finish

* Runnoing initialize function before check for valid privacy policy

* Check

* Removed default INTA object

* Removed a timeout

* removed floating design load for now

* Checking for any not yet loaded INTA objects

* Removed an unneccessery check

* Added a small delay in again for appending the cb file to the h…
Signed-off-by: Felix A. Schultz <felle717@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants