- TLC Home Home
- Discussions & Ideas Discussions & Ideas
- Product Guides Product Guides
- Knowledge Base Knowledge Base
- Developer Docs Developer Docs
- Education Education
- Blog TLC Blog
- Support Desk Support Desk
07-13-2016 05:20 AM
Hey guys,
is there a global switch (e.g. in utag.cfg.ovrd?) to globally disable both utag.view and utag.link calls being dispatched to the tags on a page?
Example: in our organization there are pages that use GET query strings or hash values that may contain sensitive user information that must not be sent to any thirdparty tag. The functionality cannot be easily changed.
As some tags tend to be rather greedy when collecting data of the pages they're fired on, we would like to make sure that as soon as the query or hash string contains any blacklisted parameters, no tags shall be loaded at all or alternatively tags shall be kept from firing when calling utag.link or utag.view.
Thanks for your input.
Cheers,
Bjoern
Solved! Go to Solution.
07-13-2016 05:57 AM
We do it this way: Preloader Extension:
if (document.location.search.search("parameter=xyz") !== -1) { window.utag_cfg_ovrd = window.utag_cfg_ovrd || {}; window.utag_cfg_ovrd.noload = true; }
This prevents any utag.link or view methods if the Query STring Parameter/Value combination "parameter=xyz" is found for example.
07-13-2016 11:02 PM
Copyright All Rights Reserved © 2008-2021