Integration
FluentCart tracking for Umami
Track FluentCart sales in Umami: every add to cart, every checkout started and every order, with its revenue. One switch, no code.
Short answer
To track FluentCart sales in Umami, install Connect for Umami, open Settings → WPUmami → Store and switch on FluentCart. The plugin then sends four events to Umami: add_to_cart, remove_from_cart, begin_checkout and purchase. Each purchase carries the order total as revenue and the currency, which is what Umami's Revenue report reads. Every order is sent once.
The FluentCart events sent to Umami
Four events cover the path from product to paid order. They appear in Umami under Events, with the details below attached to each one.
| Event | When it is sent | Data sent with it |
|---|---|---|
add_to_cart | A product is added to the cart, or a line already in the cart is updated. |
|
remove_from_cart | A line is removed from the cart. |
|
begin_checkout | The FluentCart checkout form is shown to a visitor with items in the cart. |
|
purchase | FluentCart shows the receipt for an order for the first time. Sent once per order. |
|
How FluentCart revenue reaches Umami
Umami builds its Revenue report from events that carry two properties: revenue and currency. Connect for Umami adds both to the purchase event, using the order total and the order's currency. FluentCart stores amounts in cents, so the plugin converts them first: 4999 is sent as 49.99. Nothing else needs configuring in Umami. Revenue reporting needs Umami 2.14 or newer.
The purchase is reported from the receipt, FluentCart's order confirmation page, in the customer's own browser, through the Umami tracker that is already on the page. That keeps the sale in the same Umami session as the visit that led to it, so you can see which referrer, campaign or landing page the revenue came from.
Each order is counted once
FluentCart tells the plugin when a receipt is being shown for the first time, and the purchase is sent at that moment only. If the customer reloads the receipt, or opens it again later, nothing is sent a second time.
How cart changes are picked up
FluentCart updates the cart in the background, without loading a new page. The plugin notes each change on the server, and the visitor's browser collects it a moment later, when FluentCart announces the change, or on the next page it loads. A change that is not collected within ten minutes is dropped.
What FluentCart tracking covers
| Situation | Tracked | Notes |
|---|---|---|
| Product added to the cart | Yes | Sent as add_to_cart with the product, variant, quantity and price. |
| Line removed from the cart | Yes | Sent as remove_from_cart. |
| Cart changes made without a page load | Yes | Collected by the visitor's browser right after the change, or on the next page it loads. |
| Products with variants | Yes | The variant's name and ID are sent alongside the product's. |
| Checkout form shown | Yes | Sent as begin_checkout with the cart value and the number of items. |
| Receipt shown for the first time | Yes | Sent as purchase with revenue and currency. |
| Receipt reloaded or opened again later | No | By design. Each order is reported once. |
| Logged-in administrators | No | Left out by default. Untick "Exclude logged-in admins" on the Tracking tab to include them. |
How to turn on FluentCart tracking
Connect the site to Umami
In WordPress, go to Settings → WPUmami → Tracking. Paste your Umami website ID and script URL, then save. The status panel at the top should say the tracking script is responding.
Switch on FluentCart
Open the Store tab, tick FluentCart and save. The note beside the switch tells you whether FluentCart is active on the site.
Place a test order
In a private browser window, add a product to the cart and check out, all the way to the receipt. Use a private window because logged-in administrators are not tracked by default.
Check Umami
In Umami, open your website and look at Events. You should see
add_to_cart,begin_checkoutandpurchase. The order total appears in the Revenue report.
What is not sent
No customer names, email addresses, postal addresses or payment details leave your site. The events carry product and variant names and IDs, quantities, prices, the order ID, the totals and the name of the payment method. That keeps personal information out of your Umami data, the way Umami is meant to be used.
Questions you can answer once it is on
- Which referrers and campaigns bring visitors who actually buy.
- Which products and variants are added to carts most often, and which are removed again.
- How many visitors start checkout compared with how many finish, using an Umami funnel from
add_to_carttobegin_checkouttopurchase. - Revenue by country, device or landing page, in Umami's Revenue report.
Frequently asked questions
Does Umami work with FluentCart?
Yes. Umami records any event a site sends it, and its Revenue report adds up events that carry revenue and currency properties (Umami 2.14 or newer). Umami does not send those events from FluentCart by itself. Connect for Umami sends them for you: add_to_cart, remove_from_cart, begin_checkout and purchase.
How do I see FluentCart revenue in Umami?
Tick FluentCart on the Store tab of Settings → WPUmami. From then on each order sends a purchase event with the order total as revenue and the order's currency. The totals appear in Umami's Revenue report, and the individual events under Events.
Will an order be counted twice if the customer reloads the receipt page?
No. FluentCart tells the plugin when a receipt is shown for the first time, and the purchase event is sent only then. Reloading or reopening the receipt does not send it again.
Is any customer data sent to Umami?
No. Only product and variant names and IDs, quantities, prices, the order ID, the totals and the payment method name are sent. No names, emails, addresses or card details.
Why are my own test orders not showing up?
Logged-in administrators are excluded from tracking by default. Test in a private browser window, or untick "Exclude logged-in admins" on the Tracking tab while you test.
Does it work with Umami Cloud and self-hosted Umami?
Yes. Connect for Umami works with Umami Cloud and with self-hosted Umami v2 and v3. The Revenue report needs Umami 2.14 or newer.
Connect WordPress to Umami in about two minutes
One plugin: the tracking script, events, store revenue and your stats inside WordPress. Plans start at $12 a year, with a 14-day money-back guarantee.