Highlighted

Tealium Enrichment setting data in https localstorage instead of http

Silver Contributor
Silver Contributor

I just noticed in one of my browsing sessions that the tealium audienceStream local storage data variables (tealium_va, tealium_va_main) are getting set in the https 1st party domain, instead of the http 1st party domain... despite my current brower page being a http page.  beacuse of this the variables don't seem to be populating to the data layer.

Am I doing something wrong, or is this a known issue?

I know that ideally our entire site would be https.. but as I unfortuantely don't see that happening in the short term.. is there a way to fix within tealium?

2 REPLIES 2
Highlighted

Tealium Enrichment setting data in https localstorage instead of http

Tealium Employee

@Michael_Kim_shc

 

Can you provide a sample webpage for where you are seeing this occur? I just visited the http://www.sears.com/ home page and I see it properly getting set on the non-secure protocol, please see the below screenshots.

 

Non-secure:

non-secure.png

 

Secure:

secure.png

Highlighted

Tealium Enrichment setting data in https localstorage instead of http

Tealium Employee

Hi @Michael_Kim_shc

 

Local storage is per origin (per domain and protocol).

 

Here is our line of code that sets localStorage:

localStorage.setItem('tealium_va_update', utag.data["cp.utag_main_dc_visit"]);

So that means you likely hit an HTTPS page and DLE occurred, then went back to HTTP and DLE had yet to capture data for the current protocol.