More flexible aggregation of number event props #810
Replies: 6 comments 5 replies
-
Yeah this is something I've also been very interested in for my own stats; I might look into implementing it, soonish. |
Beta Was this translation helpful? Give feedback.
-
Agreed, this would be very useful. Related discussion: #256 I actually like better how this feature request is framed. A more general way to deal with numbers is needed and to run basic aggregations like On top of this general feature, we can add special handling of currencies (like GA has) specifically to support monetary value tracking. While it could be done on the client side I would prefer to implement this server-side so our API clients can make use of the same features. Also, if the field has a high cardinality (imagine 1m discrete values) then doing it on the client side is not very realistic. Meanwhile our DB can aggregate millions of data points in milliseconds. Currently, all custom props are cast to strings in the database because Clickhouse arrays are statically typed and I had to choose one type for the field. Implementing this requires some schema work which will be interesting. |
Beta Was this translation helpful? Give feedback.
-
Where did this land? Is it implemented or are there any plans for it? I'm currently setting up plausible as tracking for our web-app. |
Beta Was this translation helpful? Give feedback.
-
Update: We've now opened up a preview version of this to everyone. You can now assign monetary values to custom events and track the revenue attribution of your ecommerce store. Instructions at https://plausible.io/docs/ecommerce-revenue-tracking |
Beta Was this translation helpful? Give feedback.
-
In the instructions for ecommerce revenue tracking, integrating with WooCommerce section, the code example provided shows properties for order Id and item count, but the screenshot below shows a breakdown by product. I'm interested in setting up the breakdown by product. Do you have a code example for that? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
Update: Latest version of our WordPress plugin introduces a WooCommerce integration for revenue attribution tracking. The WooCommerce integration automatically sets up several custom events (including add to cart and remove from cart), revenue tracking for completed purchases, custom properties (including product name, price and total cart items) and a checkout funnel to help you understand the cart abandonment rate. No need to manually set up anything nor to edit your code. Details at: https://plausible.io/wordpress-analytics-plugin |
Beta Was this translation helpful? Give feedback.
-
What we are trying to accomplish
We are working on porting an eCommerce site from Google Analytics to Plausible. Right now we send the total order amount to Plausible, but it's hard to see the larger picture because most values have a super low count:
The things that would be super helpful here are:
sum
of the prop (The total amount of money we made from X campaign is $XXX)avg
of the prop (The average order created from X campaign is $XXX)Having those values when we break down goals would allow us to track conversions and campaign sources much easier.
Initial ideas
Most of this can be done on the client side with no API changes. It just needs some design work to figure out the best way to display this.
The big thing I would say is allowing users to have a little say in the formatting. Automatically doing these things to all numbers would be a mess. I would probably add a second section under "Goals" site settings page that lets a user add props and select what type of value they are.
Update: We've now opened up a preview version of this to everyone. You can now assign monetary values to custom events and track the revenue attribution of your ecommerce store. Instructions at https://plausible.io/docs/ecommerce-revenue-tracking
Beta Was this translation helpful? Give feedback.
All reactions