I am trying to replace a specific string using the Set Data values extension. I think the code I am using is correct but it doesn't seem to be working.
The JS code that I am using to replace the string is as follow:
Any ideas why the above isn't working?
a week ago - last edited a week ago
Hi Max (@max_wong),
In that case I see no issue with your approach, and have tested that it works based on your supplied code. My suggestion would be to raise a support ticket with firstname.lastname@example.org and share with them a live example (e.g. URL), so they can identify why the value for page_name is not being updated.
Hi @max_wong ,
Were you able to debug the condition you have given for the set data values ?
Try putting debugger in that particular set datavalues in the utag.js file in your website and check whether your condition is getting passed ?