Extension result that contains a slash gets encoded in Base URL. Is there a way to prevent this?

Bronze Contributor
Bronze Contributor

Hi,

I have the following use case:

I want to fill my Base URL in the generic Tealium tag with a dynamic value, that is created by an extension. The problem seems to be that the value that is created in the extension contains a "/". For example I want the string "extension/test" (as a result of the extension) in the Base URL but it gets encoded to "extension%2Ftest" which fails the tracking call. When I add a "/" in the Base URL directly it works fine, just the ones from the extension get encoded. Is there a way to prevent that? I don't want to create two separate extensions.

Best regards
Dominik

1 REPLY 1

Extension result that contains a slash gets encoded in Base URL. Is there a way to prevent this?

Tealium Employee
Hi Dominik,
The only way I know how to do this is to populate two variables on each side of the /. This will prevent the / from getting encoded.
Public