I need to read a query string parameter called "bl-retailer" but TealiumIQ won't let me create a Data Source because the hypen is not a valid character.
How I can work around this limitation without asking web developers to change the parameter name?
Solved! Go to Solution.
01-13-2016 10:51 PM - edited 01-13-2016 11:10 PM
Here is how I would get around this.
1) Create a Data Source called bl_retailer
2) Add a Set Data Value Extension to pull in the value.
b['qp.bl-retailer'] || '';
By using JS Code, you can pull the value from the Tealium JSON object and by scoping bl_retailer to Before Load Rules, you can use it in Load Rules as well as any ohter extensions or tags.
Let us know how this works out for you.