On this page
What this issue is
GA4 events that carry money (such as purchase, generate_lead with a value, or add_to_cart) use two parameters together: value (the amount) and currency (what the amount is in). The currency parameter must be a three-letter, uppercase code from the ISO 4217 standard. Examples: USD, GBP, EUR, CAD, AUD.
| Value sent | Valid? | Why |
|---|---|---|
| USD | Yes | Uppercase ISO 4217 |
| usd | No | Lowercase |
| $ | No | Symbol, not a code |
| US$ | No | Mixed symbol and letters |
| UKP | No | Not a real code; the pound is GBP |
| RMB | No | Chinese yuan is CNY |
| {{currency}} | No | Unfilled template placeholder |
Why it costs you leads or sales
- Customer convertsPurchase or paid lead
- Event sentvalue: 99, currency: usd
- GA4 revenue reportValue not counted
- Ads biddingLearns from missing value
The event arrives, but the money does not count.
Example: a store with 100 orders at 50 USD each. If 60 orders send a bad code, reports show far less than the real total.
How to check if your site has it
Open GA4 DebugView
In GA4 go to Admin > DebugView. Use Tag Assistant or GTM Preview to put your browser in debug mode, then run a test conversion.
Click the monetary event
Select the purchase or lead event and read the
currencyandvalueparameters. The code must be three uppercase letters.Check the browser Network tab
Open developer tools, filter requests by
collect, and look forcu=in the request. The value after it is the currency sent.Check the data layer
In the console, type
dataLayerand inspect the ecommerce object for thecurrencyfield.Test every currency
If your store switches currencies, test each one. A bug often hits only one.
dataLayer
.filter(e => e.ecommerce && e.ecommerce.currency)
.forEach(e => console.log(e.event, e.ecommerce.currency,
/^[A-Z]{3}$/.test(e.ecommerce.currency) ? 'OK' : 'INVALID'));How to fix it
Find the currency field
Open your GA4 event tag and look at the
currencyparameter or the ecommerce settings.Normalize the variable
Create a Custom JavaScript variable that returns the code in uppercase, or hardcode the code if you only sell in one currency.
Preview and publish
Use Preview mode, confirm the tag sends
USD(or your code), then publish.
Check the store currency
In WooCommerce go to Settings > General > Currency options and confirm the currency is set correctly.
Check your tracking plugin
If a GA4 plugin or custom snippet sets the currency, look for hardcoded lowercase strings and replace them with the uppercase code.
Clear caches
Purge page and plugin caches so the old script is not served.
Use the Liquid currency object
In custom pixel or theme code, use
{{ shop.currency }}or{{ cart.currency.iso_code }}, which return uppercase codes.Check custom pixels
In Settings > Customer events, open any custom pixel and look for a hardcoded currency string.
Test a checkout
Run a test order and confirm the code in DebugView.
Find the custom code
Look in Project settings > Custom code and in page-level embeds for a
gtag('event', ...)call.Correct the string
Change
currency: 'usd'tocurrency: 'USD'.Publish and retest
Publish the site, then test in DebugView.
Search your code
Search the codebase for
currency:and for your event names.Uppercase at the source
Use
.toUpperCase()on user or API supplied values, and validate against a list of codes you support.Deploy and retest
Ship the change and run a test conversion.
gtag('event', 'purchase', {
transaction_id: 'T-10042',
value: 99.00,
currency: 'USD',
items: [{ item_id: 'SKU-1', item_name: 'Example product', price: 99.00, quantity: 1 }]
});function() {
var c = {{DLV - currency}};
if (typeof c !== 'string') return undefined;
c = c.trim().toUpperCase();
return /^[A-Z]{3}$/.test(c) ? c : undefined;
}Before
- currency: 'usd'
- Value may be ignored in revenue reports
- Ads import shows missing value
After
- currency: 'USD'
- Value counted in GA4 reports
- Value-based bidding gets full data
How to confirm it's fixed
- Run a test conversion with debug mode on
- DebugView shows
currencyas three uppercase letters - The
valueis a number, not a string with a symbol - Every currency you sell in passes the same test
- After 24-48 hours, revenue appears in the GA4 monetization reports
How to prevent it happening again
- Pull currency from one source, such as the store settings, not typed strings
- Add a validation step that checks
/^[A-Z]{3}$/before the event is sent - Re-test after theme, plugin or checkout changes
- Document which currency each site or region uses
- Run scheduled test conversions so a regression is caught quickly
How FunnelGuard handles this
Questions people ask
Does GA4 accept a lowercase currency code like usd?
GA4 expects the currency as an uppercase ISO 4217 code such as USD. A lowercase value is not a valid code, so the monetary value on that event may not be counted. Send the uppercase version to be safe.
Why is my GA4 revenue not showing even though purchases are tracked?
One common cause is a missing or invalid currency parameter on the purchase event. The event is counted, but the value is not. Check the event in DebugView and confirm currency is a valid three-letter uppercase code.
What is the correct currency code for the British pound in GA4?
Use GBP. Codes like UKP or the symbol £ are not valid ISO 4217 codes. The same rule applies to other currencies: use the three-letter code, such as EUR for the euro.
How do I check what currency my GA4 event is sending?
Open GA4 Admin > DebugView, run a test conversion in debug mode, and click the event to read its parameters. You can also filter the browser Network tab by collect and look at the cu value.
Can I fix a wrong currency code in GA4 reports after the fact?
No, GA4 does not let you rewrite data that was already collected. Fix the code at the source so new events are correct, and note the date of the fix in your reporting.
Is a symbol like $ okay as a currency value?
No. The currency parameter needs a three-letter ISO code such as USD. Symbols and words like dollars are not valid, and the value parameter should be a plain number too.
Does a valid code guarantee the currency is right?
No. A valid code like USD on a store that charges in GBP passes a format check but is still wrong. Compare the code with the currency your customers actually pay in.
Related issues
- TRK-055Event value sent as string with currency symbol ('$99')Fix guide
- TRK-056value sent without currency parameterFix guide
- TRK-057Wrong currency code (USD on GBP store)Fix guide
- TRK-059value of 0 on paid conversionFix guide
- TRK-050Parameter value is undefined, null or '(not set)'Fix guide
- TRK-049Required event parameter missing (form_id, method)Fix guide