What is the difference between custom metrics/dimensions and events?
As far as I know, the basic differences are:
I learned to use events first. I have the following events in my code (category/action):
Account / create
Transaction / create / <transaction type>
Transaction / create-first (the first time the user interacts with the app)
Transaction / remove
And the following goals for these events:
Create account -> Account/create
Create the first transaction (Transaction/create-first)
I can see these data on my reports using metric widgets configured to show Total events
, filtered by the event action and category, or showing directly the goals, since they are metrics.
But then I discovereng custom metrics, and now I don't now which one I should use to track this data. I can achieve the same results with both, though events seems more flexible. Using custom metrics and dimensions, I can have the following configuration:
Metrics
Total transactions
Created accounts
Removed transactions
Dimensions
Transaction type
Did I get something wrong? Both solve the problem, but I believe choosing the right one now might save me from problems in the future.
I think there is no versus
.
You combine custom dimensions and events.
Because with dimension and its metrics you can define groups of something (dimension) and attach data to it (metrics).
With events you can just track an event and combine it later with a group of something defined as dimension.
Example:
You got a dimension user
with values like guest
, registered user
, premium user
.
And a few metrics like visited pages
, visit duration
(both are default metrics) and bought items
, volume of sales
(custom metrics).
In this case you would know how many items are bought and how much the volume of sales is. But not which are your best sellers.
Here you use an event with category bought item
and its value is <item name>
. You could use buy
as action and labels to group your products. This is something you can not do with dimensions and metrics.
Now you could build a report where you see which user group buys which item (groups).
Conclusion:
There is no versus
between Custom Dimensions
and Events
. It depends on the question you want to have an answer for.