Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple currency per site #3812

Open
anonymous-matomo-user opened this issue Mar 11, 2013 · 38 comments
Open

Multiple currency per site #3812

anonymous-matomo-user opened this issue Mar 11, 2013 · 38 comments
Labels
c: Ecommerce For issues related to Ecommerce analytics within Matomo https://matomo.org/guide/reports/ecommerce/ Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.

Comments

@anonymous-matomo-user
Copy link

I have a site that converts in both USD (banners) and EUR (shop).

It would be useful to be able to track conversions in different currencies for a site.

@mattab
Copy link
Member

mattab commented Mar 11, 2013

It would be, but currency conversion would be tricky (we'd have to call webservice to know about currencies), which is do-able of course, but not priority at this stage.

@anonymous-matomo-user
Copy link
Author

It would be better to maintain several balances, one per currency. Currency conversion doesn't happen in realtime, it happens when funds are transferred from one account to another.

@anonymous-matomo-user anonymous-matomo-user added this to the Future releases milestone Jul 8, 2014
@mattab mattab modified the milestones: Long term, Mid term Dec 23, 2015
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
@mattab
Copy link
Member

mattab commented Mar 14, 2019

This was also reported in #11854

We have a fairly pressing need to be able to track the currency with an eCommerce order. We receive purchases in many currencies on the site and at the moment they are all recorded in the Piwik site currency which causes large discrepancies with the actual value of the orders. I appreciate that to reconcile the different currencies would require some kind of an exchange rate but this should at least be exposed for development of a plugin if not in the core Piwik code.

@itseoconsulting
Copy link

Currently we implement a JS based workaround for Matomo only converting any shop currency into USD and firing eCommerce events to Matomo. Unfortunately it's not Matomo WooCommerce Plugin compatible :)

@uhlhosting
Copy link

@mattab this cannot be lower for ever... Its a must for stores with multiple currencies, and these are many...

@andyodoo
Copy link

is there is any update for this issue

@michaelr524
Copy link

+1

@jarstelfox
Copy link

Hey there! I have a possible idea.

Instead of currency conversion as mentioned by @mattab on #3812 (comment)

Would it be possible to add a currency param to the API? i.e:

trackEcommerceCartUpdate( 100, 'USD' )
trackEcommerceCartUpdate( 100, 'EUR' )

This would help allow multiple currencies per site, but leave any currency conversion up to the implementor.

@atom-box
Copy link
Contributor

Customer asked for this in their commerce site:

"Our (clients) are always selling their tickets in more than 1 currency. "

"I saw on some forums that the recommendation would be to have 1 site per currency. " (This absolutely won't work for us.) "The concept of market is generally way more complex in this industry than having a .fr tracking in EUR and a .com tracking in USD."

"There are also some live system to convert the currency during the booking flow. Do you plan anytime to support multicurrency tracking ?"

@gorfo66
Copy link

gorfo66 commented Oct 17, 2022

Exact same need than atom-box.
Our company sells in various currencies. The concept of "1 site, 1 currency" is not sustainable. The company needs to be able to have an aggregated view of its sales no matter in which currency the products where purchased.

I can understand this is a fairly complex demand, but it is a must have for most of world wide companies.

@gorfo66
Copy link

gorfo66 commented Dec 14, 2022

Any process on this feature ?

@goochj03
Copy link

goochj03 commented Jan 6, 2023

Another customer asking about multi-currency tracking "I would also like to know if i can set a specific currency for each segment.
In my account, the site 12 is covering worldwide payment I created a segment for each country but the currency is the same for all"

@mattab mattab added c: Ecommerce For issues related to Ecommerce analytics within Matomo https://matomo.org/guide/reports/ecommerce/ Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical. labels Mar 12, 2023
@mikeh-github
Copy link

mikeh-github commented Jun 18, 2023

+1 also for multicurrency. We accept 17 currencies on our website and creating multiple instances is not feasible, plus we need a single view of our website and ecommerce performance. Adding support for multicurrency would allow us (and I'm sure many others) to move from google analytics to matomo. Either proposed solution discussed above would be acceptable, i.e. (1) converting currency to primary currency as per google analytics ecommerce or (2) reporting on actual currency of transaction and show multiple balances per currency of transaction. Option two seems preferable and offers a more accurate view of ecommerce data, or offering a choice between the two would be even better. Please prioritise this feature so that we can finally ditch google analytics. Thanks.

@adsham
Copy link

adsham commented Jun 22, 2023

Another vote for multicurrency - Many websites now support different currencies (google supports it), our new client being one of them - it makes ecommerce tracking somewhat useless on such websites.

Thanks!

@atom-box
Copy link
Contributor

Another upvote here:

I have been running ... Google Analytics 3 instance for a few years now and the setup we have been using is as follows.

Sweden and all the other countries have their own currency and time zone setup, this so sales and data can be viewed locally and make sense. (But) then a meta view (like your Rollup) is set on Chicago time zone, and currency is set to USD.

This has worked well for us and my goal is to achieve the same (/close to) setup with Matomo.

@atom-box
Copy link
Contributor

Another request here:

I understand that Matomo only support a single currency per site for ecommerce data. Given the fact that _____ is a global company, this is troublesome for our business getting accurate reporting for our transactions across the globe.

@atom-box
Copy link
Contributor

Another request here:

We were looking for multi-currency support for the Matomo Integration with Woocommerce. This doesn't seem to be currently available, and is already a feature request.

We'd be happy to reconsider Matomo when this feature has been implemented.

@MatomoForumNotifications

This issue has been mentioned on Matomo forums. There might be relevant details there:

https://forum.matomo.org/t/multi-currency-ecommerce-tracking/6621/7

@erikarenhill
Copy link

We have moved from GA to Matomo but this is a dealbreaker which might force us to move to another service when going to sell in multiple countries. This feels like a such basic feature for an ecommerce tracking to allow multiple currencies. Please add this!

@itseoconsulting
Copy link

itseoconsulting commented Oct 3, 2023 via email

@mehov
Copy link

mehov commented Dec 20, 2023

The problem with one currency = one domain is that if your system is otherwise the same, you will lose the ability to look at the bigger picture.

For example, imagine a multistore that runs on multiple domains but is otherwise the same website, the same CMS, the same back office etc. If the analytics are fragmented per domain name, it will no longer be possible to have reports across the whole system

@diosmosis
Copy link
Member

A matomo for wordpress user requested this in: matomo-org/matomo-for-wordpress#1002

@mattab mattab modified the milestones: 5.x.0 - Priority issues, 5.6.0 Jan 10, 2024
@atom-box
Copy link
Contributor

atom-box commented Feb 2, 2024

A user requested this today.

Feature: All Websites dashboard
Like: No
Feedback:
Total revenue is not counting with fact, that we have multiple currencies...
Source: On-Premise

@flowdee
Copy link

flowdee commented Apr 4, 2024

+1 for this feature

@tomeda
Copy link

tomeda commented Jun 6, 2024

10+ years and still nothing?!!!

@goochj03
Copy link

goochj03 commented Jun 9, 2024

Another custom request for multiple currency support

@dassels
Copy link

dassels commented Jun 25, 2024

+1 for me as well.

@hanbga
Copy link

hanbga commented Jul 30, 2024

This is a must have in 2024. +1 for this feature

@AdamMcAddEm
Copy link

+1 for this feature please! Let's get this going.

@innocraft-automation innocraft-automation removed this from the 5.6.0 milestone Sep 13, 2024
@Gleb532817
Copy link

+1 for this feature

@atom-box
Copy link
Contributor

atom-box commented Nov 6, 2024

I am posting Ronan's workaround
A Matomo multi currency converter example

@Normandygirl
Copy link

This is important to someone who contacted me. Could Matomo please provide a guide for how to do this. :-)

@Chardonneaur
Copy link

+1 for this feature by a user today.
I created a hack https://www.youtube.com/watch?v=qmNo_dOcp44 but not helping for users who would like to have it at the item level.

@mattab
Copy link
Member

mattab commented Nov 26, 2024

Thank you for all the input on this feature request. I've discussed with a team member a potential solution based on our analysis. It's not scheduled yet, but just some notes to not forget later:

Proposed Implementation:

  1. Daily Exchange Rate:

    • Leverage an existing web service to fetch daily exchange rates.
    • Conversion will occur directly at tracking time for simplicity, as this avoids requiring a new database column and ensures values are stored in the base currency of the site.
    • Note: The value will reflect the exchange rate on the day it was tracked.
  2. Currency Parameter in API:

    • Extend existing API methods (setEcommerceView, addEcommerceItem, trackEcommerceOrder) to include an optional "Currency" parameter.
    • If no currency is specified, default behaviour applies (base currency of the site).
    • If a currency is provided, it represents the currency in which the transaction occurred, and the value will be converted to the base currency at tracking time.
  3. Revenue Tracking:

    • Continue to use existing parameters in the tracking API (e.g., revenue, ec_st, ec_tx, ec_sh, ec_dt), with converted values stored in the base currency.

Considerations and Trade-offs:

  • Historical Data: If a user changes the base currency for the site, historical reports will not adjust. This is an acceptable trade-off given the complexity of multi-currency support.
  • Ecommerce Backend Discrepancy: There may be slight discrepancies between the ecommerce backend and Matomo reports due to daily exchange rate differences.
  • Simplified Approach: This proposal does not support full multi-currency per site but focuses on converting all values to the base currency at tracking time.

This approach balances implementation simplicity with user needs, addressing a key pain point for many global ecommerce sites while avoiding significant architectural changes. Feedback is welcome before we proceed further!

@Gorkyman
Copy link

Gorkyman commented Jan 2, 2025

another upvote

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Ecommerce For issues related to Ecommerce analytics within Matomo https://matomo.org/guide/reports/ecommerce/ Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests