- 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
Is it possible to exclude certain data variables from what is collected in the Tealium collect tag? Would like to prevent certain pieces of data that could be considered PII/SPI from being swept up in the json object if possible.
Hi @greg_hollingswo.
The Tealium Collect tag is like any other tag in that its data can be manipulated indepently of other tags.
The way I have done what you are asking for is to have a JavaScript extension scoped to the collect tag, and do this
delete b['PII_data_1'];
delete b['PII_data_2'];
...
Since the extension is scoped to the Collect tag, b is a reference to the copy of the data layer that's just for that tag.
Mark
Copyright All Rights Reserved © 2008-2021