access JS errors details in 3rd party scripts

Silver Contributor
Silver Contributor

Hi,

We need to be able to monitor details of JS errors that happen on our sites from 3rd party scripts and extensions.

We would like to request Tealium tag with the attribute crossorigin="true"  . We cannot do it  now because CORS policies.

Is possible to add header in Tealium tag response 

Access-Control-Allow-Origin: *

We see a lot of errors in our monitoring systems but we cannot see where these errors come from.

Please help

2 REPLIES 2

access JS errors details in 3rd party scripts

Tealium Expert
Tealium Expert
Hi @simlev - I don't know that adding the CORS header will make any difference in this situation. Others may chime in with more info.

Can you for yourself see the errors mentioned when you view the affected site in your browser?

Another option is a tool like TagInspector or ObservePoint which logs console errors for later analysis.

Tealium Expert

access JS errors details in 3rd party scripts

Silver Contributor
Silver Contributor
Hi @mitchellt, thank you for your response.

We do see errors in browser when we check them however there are lot of browsers and countries to check manually every detected error.

We had tested the CORS header with reverse proxy from Fastly CDN to Tealium CDN and got the error traces on our monitoring system.

How the header could be added on the Tealium CDN?
Public