Multi-currency Setup
-
Hello,
Kudos on the great plugin, loving it!
I tried searching the topics here, but the search doesn’t load. I was wondering how can I setup the plugin so it reports two different currencies to GTM (which deploys Analytics and FB Pixel)? Currently only EUR is supplied to Pixel, even when the purchase was in dollars which is causing some skew in data. Is it even possible to have this setup like that?
Thanks!
The page I need help with: [log in to see the link]
-
Hi,
Thanks for your kind words π
What plugin are you using to deliver multiple currencies on your show?Generally GTM4WP reads the currency code reported by WooCommerce. This is usually overridden by 3rd party plugins thus if your plugin works like that, GTM4WP should report the correct currency code on all pages (including your order received page)
Are you using enhanced ecommerce and the ecommerce.currencyCode data layer variable to pass the currency to your tracking pixels?
Hello,
I’ve been using “WooCommerce Price Based on Country” plugin. Previously, I’ve used it to only set two tax zones (no tax and tax countries), but now I’m using it to set USD and EUR currency as well. However, when I added the {{DLV – ecomm_currencyCode}} to Pixel it reported that an error (yellow exclamation mark) that something is not working properly.
Therefor I reverted back to currency “EUR” in Pixel until I figure it out.
I have “Track enhanced e-commerce” checked in the plugin settings.
I guess I’m just missing something, probably obviously simple, but couldn’t figure it out for the life of it π
Could you post a screenshot of your DLV β ecomm_currencyCode variable?
Hello,
Sure, here’s the link: https://imgur.com/MrjRU9c
On the left side is the current setup, but that always reports EUR. On the right side is the setup I tried to implement, but that Facebook reported is having problems. Since then I have reverted back to the setup on the left until I figure it out.
Thanks!
Hi,
This is the screenshot of your Facebook pixel code, I am more curious about your DLV β ecomm_currencyCode settings specifically.
Hello,
Noob question β do you mean in your plugin settings or? Because I looked there and couldn’t find the option anywhere.. Or am I looking in the wrong place? π
No, if you open your GTM container at tagmanager.google.com, click on the “Workspace” link in the top nav bar, then select the “Variables” section on the left. Here you will see two lists, the one below if titled “User Defined Variables”, in this this you should see an item named “DLV β ecomm_currencyCode” – please post a screenshot about this variable (about the settings of this variable)
Ah, gotcha, sorry! It’s been a while since I’ve tampered with those, everything was working great with your plugin so there was no need to edit it once it was set up π
Here’s the screenshot: https://imgur.com/LGqOkvM
Thanks!
Thanks!
Interesting is that your first screenshot (https://imgur.com/MrjRU9c) mentions this variable but on your recent screenshot (https://imgur.com/LGqOkvM) it shows me that this variable is currently not referenced in your Facebook pixel tag, only in your Google Analytics Settings variable.
Are you sure you are looking at the latest published version of your container?
Yep, that’s the last version. The reason it is not referenced is because I reverted back to using ‘EUR’ instead of ‘{{DLV β ecomm_currencyCode}}’ until it’s figured out π As mentioned previously, Facebook was reporting an error and it was triggering weird stuff, so that is why I reverted. If I edit it back to ‘{{DLV β ecomm_currencyCode}}) it is referenced again in the variables π
I see, well, based on what I can see on the screenshots, it should work.
Can you perhaps share a screenshot about the error with the yellow exclamation mark bluring any data that is not ment to the public?
Don’t have that saved unfortunately, but I’ve re-added the code ‘{{DLV – ecomm_currencyCode}}’ to the Purchase tag, as well as Add to Cart and View Content (or I shouldn’t have?) so I can see if it will pop up again. However, I can only see it referenced in Variables for the Purchase event… Is that normal?
Okay, I decided to test events and after stuff was not firing up I went to test the pixel on Chrome with the pixel helper extension. I deactivated all ad blockers and tried to access the site from EU (where I am from) as well as using VPN to try to access as if I am from USA, to test the automatic price switching.
In USA case, even though the price is shown in USD on the website, it is shown in EUR on pixel helper as can be seen on the screenshot.
But in both cases it shows the following problem β it fires up normally on the regular Page View and View Content, but if I click Add to Cart or Initiate Checkout, it just keeps spinning. In other words it doesn’t deliver it to Facebook.
I’ll try to revert everything and test again, but as far as I am aware, this didn’t happen before this change.
Finally had a conversion so caught the error with the β{{DLV β ecomm_currencyCode}}β setup. There were two in total, one yellow, one red:
Hope this helps π
Thanks!
Hi,
On this screenshot:
https://imgur.com/jNfbE4A
… it says that your InitiateCheckout event is also firing when a user is just reviewing the list of already placed orders. Perhaps there is an issue with the trigger of that tag in GTM.As for the purchase tag: the issue is with the value, not with the currency code.
You had a screenshot earlier:
https://imgur.com/MrjRU9cOn this screenshot you seem to use a variable named ecomm_revenue. If your data layer variable tries to read ecomm_revenue from the data layer, that will fail as the correct variable name is ecomm_totalvalue
- The topic ‘Multi-currency Setup’ is closed to new replies.