Purchase event does not accept Currency
Environment *
Typescript
Description *
The purchase event does allow a currency https://developers.google.com/analytics/devguides/collection/ga4/set-up-ecommerce, but the purchase({}) method, and specifically the Type GtagPurchase, does not accept currency.
can you be more specific? also the link you've provided doesn't work
@MatteoGabriele the link does work. Example of it working: https://pagespeed.web.dev/analysis/https-developers-google-com-analytics-devguides-collection-ga4-set-up-ecommerce/tigql381sd?form_factor=mobile
When you get it to work, you'll see the example code provided by Google.
I'm sorry but I get "Service Unavailable". Is the URL possibly linked to a personal account or a private project?
@MatteoGabriele that's weird - it's a public resource from Google. Did you try to CURL/WGET it, from a different browser, or just on a different device like your phone?
Anyway here's a full page screenshot. The relevant part I have shared on my previous comment already.
@MatteoGabriele I have opened the relevant pull request https://github.com/MatteoGabriele/vue-gtag/pull/585. Additional details, links, and discussion points are there too :)!
@MatteoGabriele have you given up on this project?
@mwargan I have been quite busy lately and have less time for this project. Unfortunately, there are some issues with the deployment that I need to address. If you are facing significant problems, it might be a good idea to temporarily fork the project and apply your fix.
Version 3, which is currently in development, will address this issue. You can already try it by installing vue-gtag@beta. Your feedback is much appreciated. check out this issue for more details about how to install the plugin. Still have to write the new docs. #615