Highlighted

Domain update

Tirrusri
Visitor
Tirrusri

Hi,

Most of our existing extensions and tags deeply dependent on domain checks, one of the domain is getting changed, for example from "abc.com" to "xyx.com".

I like to make a single change (or) work around with out distrubing the existing extensions or tags, is there any recommended way ?

2 REPLIES 2

Domain update

BenStephenson
Contributor
BenStephenson Contributor

Hi @Tirrusri 

The only "single change" I can think of is to add a "before load rules" extension and overwrite the dom.URL property in the data layer to reset it to the previous value.

That should fool Tealium into thinking the domain is still the old one.  

Depending on what other functionality/tags you have that might use the property it could cause some odd behaviour though (ie if you pass URL to your analytics package then you'll get the old URL still being passed in)

Domain update

BenStephenson
Contributor
BenStephenson Contributor

Or you could duplicate all the load rules that use Domain, change to the new domain, and then set the tags to use both load rules in an "or" configuration.

This is probably a better idea, but it isn't a single change.