Why is Tealium Stripping out the URL from the u.data?

Bronze Contributor
Bronze Contributor

I am creating a custom tealium container, and I add the base URL in the u.data object and it seems like Tealium is stripping out the url when minifying it? From what I see, it seems like it is mistaking the backslashes in the URL as comments and removing the rest of the line.

Screen Shot 2022-08-10 at 1.17.53 PM.png

renders with the following errors

Screen Shot 2022-08-10 at 1.19.00 PM.png

And its using the code recommended from Tealium for the base url, so not sure why its stripping that out.

1 REPLY 1

Why is Tealium Stripping out the URL from the u.data?

Bronze Contributor
Bronze Contributor
I figured out the issue. User error 100%! Apologize for the premature post. The issue was I has pasted in the <script> tag that I was using the data from to copy to the u.data object and it was in the js file still. So it was causing issues. Removed the script tag and it worked just fine. There is no delete post button, but maybe someone else will have a similar issue and I can spare them the embarrassment :)
Public