Highlighted

localStorage flooded with AudienceStream Visitor Attributes

Silver Contributor
Silver Contributor

We have some concerns about Audience Stream's Data Layer Enrichment which by default puts all Visitor attributes into localStorage. My localStorage currently contains about 40 KB of such data which is a lot if we think about the fact that all this needs to be pushed into the browser. But moreover it is there in Clean Text for the user to read all the badges assigned to him like "Viewed Non-Price-Dropped Product and Registered User ID exists" etc...

Is there any way to restrict the Visitor attributes that are used for Data Layer Enrichment? Then we could only send those attributes into the browser that are actually needed for DLE-related tasks in the browser.

1 REPLY 1
Highlighted

localStorage flooded with AudienceStream Visitor Attributes

Tealium Employee
@loldenburg I think "Restricted Data" may be what you are looking for: https://community.tealiumiq.com/t5/Universal-Data-Hub/Understanding-Restricted-Data/ta-p/17773

Setting attributes as restricted prevents them from being returned in Data Layer Enrichment.
Check out our new Swift integration library for iOS, macOS, tvOS and watchOS: https://github.com/Tealium/tealium-swift with updated
documentation https://community.tealiumiq.com/t5/Swift/tkb-p/swift.