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.
Dimensions are attributes of your data. For example, the dimension City indicates the city, for example, "Paris" or "New York", from which a session originates. The dimension Page indicates the URL of a page that is viewed. Metrics are quantitative measurements.
Custom dimensions and custom metrics are like default dimensions and metrics in your Analytics account, except you create them yourself. You can use them to collect and analyze data that Analytics doesn't automatically track.
Custom dimensions and metrics are very similar, but there is one difference: A custom dimension either has an event scope or a user scope, and a custom metric always has an event scope.
Custom events are events that you define. Make sure you only create custom events when no other events work for your use case. Custom events don't show up in most standard reports so you need to set up custom reports or explorations for meaningful analysis.
Dimensions are things that you can filter/group/pivot off of:
Metrics are the actual data points
Custom Dimensions and metrics can be defined and sent along with pageview or event beacons.
All in all try to think of custom events more with "did the user do something on the page that I want to measure that isn't a pageview" and then tie the event category/action/label to that event. Like "Click / Ajax Login Form" or "Click / Cart / Remove Item".
To get to your question: You can use both, but the best approach seems to be custom dimensions and metrics as long as you can send that information on a pageview beacon. And then you can configure your goals based on that pageview.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With