Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Analytics: custom metrics/dimensions vs events

What is the difference between custom metrics/dimensions and events?

As far as I know, the basic differences are:

  • Metrics aren't sent right away when they're set, but on the subsequent hits;
  • Dimentsions aren't tied to metrics as events actions are to events categories;
  • Events can be used to achieve goals;
  • Dimensions and metrics have usage limits.

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.

like image 651
Marcio Cruz Avatar asked Nov 23 '13 22:11

Marcio Cruz


People also ask

What is the difference between dimensions and metrics in Google Analytics?

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.

What are custom dimensions and metrics in Google Analytics?

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.

What is one of the major differences when you want to create a custom metric versus a custom dimension?

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.

What are Events & custom events in Google Analytics?

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.


1 Answers

Dimensions are things that you can filter/group/pivot off of:

  • Demographic Information
  • Browser Type
  • City, State, Country
  • Event Categories, Actions, Labels

Metrics are the actual data points

  • Pageviews
  • Events
  • Bounce Rate

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.

like image 113
TomFuertes Avatar answered Oct 18 '22 23:10

TomFuertes