You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -57,6 +57,15 @@ To add properties that are tracked in every event, you can set properties for a
57
57
userProperties.key = "value";
58
58
amplitude.setUserProperties(userProperties);
59
59
60
+
# Tracking Revenue #
61
+
62
+
To track revenue from a user, call
63
+
64
+
amplitude.logRevenue(9.99, 1, "product");
65
+
66
+
The function takes a unit price, a quantity, and a product identifier. Quantity and product identifier are optional parameters.
67
+
68
+
This allows us to automatically display data relevant to revenue on the Amplitude website, including average revenue per daily active user (ARPDAU), 7, 30, and 90 day revenue, lifetime value (LTV) estimates, and revenue by advertising campaign cohort and daily/weekly/monthly cohorts.
0 commit comments