Hi guys, i want to load a script with dynamic values based on domain, so i have set up a data element with the different values based on document.locationHostname, it seems to work as expected and the value changes based on site domain.
running into some issues when trying to load the string in the HTML custom code of rule.
so this is the string, it will fail at the getVar portion of the string:
<script src='https://sripturl/rc/'+(_satellite.getVar('account_string')+'/scripts/s.js' type='text/javascript'></script>
so what im after is a string that looks like this (given the data element value is 12345):
<script src='https://sripturl/rc/12345/scripts/s.js' type='text/javascript'></script>
i guess theres some single double quotation issues here, or maybe its not possible to do?
Any pointers appreciated!