Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Currency hardcoded in tracking: fix wrong revenue in GA4 and Ads

TRK-343Medium impactCould addBy FunnelGuardPublished Updated
On this page

What this issue is

Purchase and lead-value events carry two fields: a value (the amount) and a currency (a three-letter ISO code such as USD, EUR or GBP). When the currency is typed into the tag or the theme code instead of read from the order, every order is reported in that one currency.

Why it costs you leads or sales

The platforms do not know the label is wrong. GA4 converts or sums values based on the code you send. Google Ads, Meta and others do the same. A 90 GBP order labelled USD is recorded as 90 USD, which understates it. A 5,000 JPY order labelled USD is recorded as 5,000 USD, which overstates it hugely.

Where the currency goes wrong
  1. Customer switches currencyPrices show in GBP
  2. Order placedOrder total 90 GBP
  3. Purchase tag firescurrency typed in as USD
  4. Analytics and ad platformsRecord 90 USD
  5. Reports and biddingRevenue and ROAS distorted

The customer pays in a local currency, but the tag overwrites it.

Same orders, wrong labelExample numbers
Same orders, wrong label (example)100 USD order: 100 reported value; 100 EUR order (as USD): 100 reported value; 10,000 JPY order (as USD): 10,000 reported value03,8337,66710010010,000100 USD order100 EUR order (as USD)10,000 JPY order (as …reported value

Example: three orders of 100 in different currencies, all reported as USD. The real worth differs, but the platform sees three equal orders.

How to check if your site has it

Check what currency your purchase event sends
  1. Switch the store to a second currency

    Use your currency switcher, a market or country selector, or a VPN-free test store view. Note the price and currency shown.

  2. Place a test order

    Use the store's test mode or a payment method that lets you stop safely. Do not use real card details on a live store unless you intend to pay.

  3. Open the data layer or tag debugger

    Use Google Tag Manager Preview mode, GA4 DebugView, or the Meta Pixel Helper extension. Look at the purchase event.

  4. Compare value and currency

    The currency in the event must match the one the customer saw. If it says USD while the page showed GBP, the currency is hardcoded.

  5. Search your code and tags

    In GTM, open each purchase tag and look for a typed-in currency such as USD in the Currency field. In theme or plugin code, search for currency: 'USD' or "currency":"EUR".

How to fix it

The principle is the same everywhere: the order knows its currency, so pass it along. Push it into the data layer with the value, then have every tag read it from there.

Data layer purchase push with the real currencyjavascript
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({ ecommerce: null });
window.dataLayer.push({
  event: 'purchase',
  ecommerce: {
    transaction_id: ORDER_ID,
    value: ORDER_TOTAL,
    currency: ORDER_CURRENCY, // e.g. 'GBP', read from the order, never typed in
    items: ITEMS
  }
});
Send the real currency on each platform
  1. Create a data layer variable

    Variables > New > Data Layer Variable. Name it ecommerce.currency, version 2.

  2. Use it in the GA4 event tag

    In the GA4 purchase tag, add the parameter currency with the value of that variable. If you use Send Ecommerce data from the data layer, remove any manual override.

  3. Update Google Ads and Meta tags

    In the Ads conversion tag, set Currency Code to the variable. In the Meta purchase event, set the currency property to the same variable. Do the same for TikTok, LinkedIn, Bing and others.

How to confirm it's fixed

Confirmation checklist
  • Place a test order in each currency you sell in.
  • In GTM Preview or GA4 DebugView, the purchase event shows the same currency the customer saw.
  • The value matches the order total in that currency.
  • Google Ads and Meta test events show the matching currency code.
  • A day later, GA4 revenue for the test orders is not mixed up with other currencies.
Tag setup before and after

Before

  • Currency field in the tag says USD
  • A 90 GBP order is reported as 90 USD
  • ROAS differs by market with no clear reason

After

  • Currency field reads the data layer variable
  • A 90 GBP order is reported as 90 GBP
  • Platforms convert values correctly

How to prevent it happening again

Prevention checklist
  • Never type a currency code into a tag that serves more than one market.
  • Add a test order in every currency to your release checklist whenever you change themes, plugins or tag containers.
  • Re-test after adding a new market, currency or payment gateway.
  • Document which value (presentment or base) you send to each platform.
  • Review the currency field when you copy a tag from one container to another.

How FunnelGuard handles this

FunnelGuard does not check this yet. It does not currently run a currency-switch variant of your checkout journey, so a hardcoded currency is a possible future check, not something it covers today.

What FunnelGuard does cover nearby: it runs your real customer journeys on a schedule and checks that the tracking hits to GA4, Google Ads, Meta, TikTok, LinkedIn, Bing, Pinterest, Snapchat, X and Reddit actually fire. That tells you if a purchase tag stops working, but not whether its currency label is right.

Questions people ask

Why is my GA4 revenue wrong when I sell in multiple currencies?

A common cause is a purchase tag that always sends one currency code, such as USD, regardless of what the customer paid in. GA4 then records the local amount as if it were that currency. Send the order's real currency in the purchase event to fix it.

How do I send the right currency in a GA4 purchase event?

Include a currency parameter with a valid three-letter ISO code next to the value, for example currency: 'GBP'. Read it from the order or data layer instead of typing it into the tag. In GTM, use a data layer variable in the tag's currency field.

Does GA4 convert currencies automatically?

GA4 reports in your property's reporting currency and converts purchase values using the currency code you send. If that code is wrong, the conversion is wrong too. It cannot detect that a label does not match the real amount.

How do I check if my currency is hardcoded in Google Tag Manager?

Open each purchase tag and look at its Currency field. If it holds a fixed code like USD instead of a variable, it is hardcoded. Then use Preview mode with a test order in another currency to confirm what is sent.

Should I send the store currency or the customer's currency?

Either can work as long as the value and the currency code match. Sending the presentment currency (what the customer paid) is usually simplest, and the platforms convert it. Never mix a local amount with the base currency code.

Does a wrong currency affect Google Ads bidding?

Yes. Value-based strategies such as target ROAS learn from the conversion values you report. If those values carry the wrong currency, the system optimises against distorted numbers.

Does FunnelGuard detect a hardcoded currency?

Not yet. It is a possible future check. FunnelGuard does check that your tracking hits fire during real journeys, so you can still test currencies manually after changes.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.