Omitting data from Tealium Collect

Silver Contributor
Silver Contributor

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.


Omitting data from Tealium Collect

Tealium Employee

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.