Support » Plugin: GTM4WP » Multi-currency Setup

  • Resolved markiljas

    (@markiljas)


    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]

Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter markiljas

    (@markiljas)

    Hello,

    Awesome, nice find, thank you so much!

    I’ve tried looking into Initiate Checkout trigger, but everything seems to be in order, so I don’t know why it is triggering… Maybe I am missing something, but with this setup, it shouldn’t unless a checkout button is detected.

    As for the purchase tag, I’ve updated the ecomm_totalvalue, don’t know how the revenue ended up there anyway. I also went to update all the other tags (purchase, initiate checkout, product content view) with ‘{{DLV – ecomm_currencyCode}}’ (unless I shouldn’t?) and published, but I am met with the following warning afterwards. This is my Product Content View setup. Should I remove value and currency from the tags unless they are initiate checkout or purchase? The current setup should gather more precise data, but not sure why is it suddenly popping as a warning that ecomm_currencyCode does not exist.

    Thanks!

    Plugin Author Thomas Geiger

    (@duracelltomi)

    Hi,

    If I were you, I would use a different trigger for the initiate checkout: a simple “Page View” trigger that is narrowed down to the checkout page URL, usually “/checkout” (you might want to use an “exactly matching” logic instead of the “contains” or “starts with” since the order received page also starts with the /checkout path prefix)

    As for the currency code variable error: I am not sure why GTM shows that message, perhaps a typo in the custom HTML tag. Value and currency could be beneficial for your catalog campaigns to have better optimization so I would suggest to somehow fix this issue and send those data.

    Thread Starter markiljas

    (@markiljas)

    Hello,

    Thank you for the suggestions, I switched to the page view (page URL equals, which should amount to “exactly matching”), so that should be covered now.

    As for the currency code, I went through the code a dozen times, without any success. Everything seems to be in order, but it still warns me, but I’ll keep looking into it.

    However, I noticed something once I updated it (sorry for asking so many questions), but can’t figure it out. I went to event testing on Facebook, logged into VPN and wanted to check if it detects currency and value properly, but as it happens, sometimes it sends the EUR value, sometimes USD (even though I am visiting the site from USA through VPN), while the currency is always EUR.

    Also, it seems to be reporting missing parameter “product ID”. Since I have prodid data layer active in the pixel, shouldn’t that cover it? Or am I missing something?

    Thank you very much!

    Thread Starter markiljas

    (@markiljas)

    Hello,

    Just wanted to update in case someone has the same issue:
    Adding content_type: ‘product’ solved the missing product id warning, I added it just above content_id parameter, so hope that helps if someone gets stuck on that part as well 🙂

    Still struggling with the currency and value being properly detected, but maybe that is due to VPN settings, so maybe that is why it misfires, I’ll track it over Facebook Ads Manager and see how it reports.

    Thank you for all your help, your plugin is amazing!

    Kind regards

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Multi-currency Setup’ is closed to new replies.