11-06-2015 01:33 AM
I have a Commission Junction tag of 'advanced' Sale tag type configured on the Thankyoupage after purchase. ITEM, QTY, AMT and DCNT are mapped to the respective variables in the Ecommerce extension. The help docs for the tag said that not mapping the CURRENCY will set it to USD. Unfortunately that was not happening. The Currency was being set to the _ccurrency value of the Ecommerce Extension. That value has been set to hold the local currency for example EUR. I tried mapping the text 'USD' to the currency value using a SDV extension. This was however setting two instances of the currency variable to 2 values - one being USD and the other EUR.
How can I remove the CURRENCY=EUR from the tag?
Thanks a lot,
Solved! Go to Solution.
@sujani_koya I sent you a private message looking for a little more detail. The path you are going down is correct, there is some detail along the way that is getting missied. Once you send me more detail via private message I can look into it for you and see what got missed.
A colleague helped me out with this. My earlier solution of overriding all currency codes to the value 'USD' worked but it seemed dangerous. I was after all changing an E-Commerce variable! So we decided to change the version template of the Commission Junction tag thus.
We commented out the first line and added the second. Now the URL of the pixel is the way we want with minimum change.
In this case, b._ccurrency must have been empty for the template to pass USD as the value. The better approach would have been to update currency (in most cases this will be order_currency in your UDO) before the E-Commerce Extension. Then when the E-Commerce Extension runs, order_currency will become b._ccurrency. However it should be noted that this change will change Currency for all of your Tags, not just Commission Junction.
If you only wanted change the currency for Commission Junction, you could use a Set Data Value Extension and make sure you scope the extension to Commission Junction. Then you can Set b._ccurrency to USD just for this one tag.
In you want screenshots of how to do this, please let me know and I can provide them.