Currency Event
The currency tracking event tells PureClarity what currency is the user’s preference, and thus controls what currency is returned in product recommenders. The currency code must be a valid ISO 4217 currency code, (e.g. “USD”, “GBP” etc.). Prices in the currency must already be stored against the products as part of the data feed before sending the event.This applies to client-side mode only. See server-side documentation on information on how to set the currency as part of the main request model.
Value Format
The currency event takes a single string value containing a valid ISO 4217 currency code. Type:string
Example values:
"USD"- US Dollar"GBP"- British Pound"EUR"- Euro"CAD"- Canadian Dollar"AUD"- Australian Dollar
Usage
Client-side Implementation
When to Send
Send the currency event:- When a user changes their currency preference on your site
- At the start of a new session if the user has a saved currency preference
- Before displaying any product recommenders with non-default currency
