In this project, we’ll make a list of all the important events on our site.
Our final deliverable will end up looking like this example. Pop it open and skim it.
The list of events in the example doc is a lot more thorough than most companies typically track. Most companies only track major events like viewing a product page, adding to cart, initiating checkout, and purchasing.
But granular actions are important. They give you clues to what’s really happening on your site. As they happen more and more, you can use their data to figure out how to improve your site, soup up your marketing, and fix your product.
For example, if you’re seeing data that nobody is signing up after they visit your customer testimonial page, you might add a button to sign up on that page.
Make a new Google Doc.
All the recommended events in Google Analytics 4 use underscores in event names. For example, add_to_cart, view_item, begin_checkout.
We strongly recommend following this convention. If you feel strongly otherwise, you can of course deviate from this. In that situation we recommend you remain consistent in the format you use.
Google has some useful documentaiton on recommend events to use on your site. They then expand those recommendations out for specific company types.
These events also have recommended parameters (additional pieces of information to pass along with the event, like the value of a purchase).
Review those as you go along: https://support.google.com/analytics/answer/9267735?hl=en&ref_topic=9756175
Go to your website and app. Click and tap around.
Starting when you first visit your homepage, list out all the actions that you can perform, grouped by the page you do them on.
Google Analytics 4 tracks pageviews, clicks, scrolls, downloads, and video watches by default. So feel free to omit those unless there specific ones you'd like to track like "scrolling to pricing section" or "click request demo."
The events you list should be exhaustive and include all major events someone might perform while browsing your site and make a decision to buy, including things like expanding FAQ items.
For example, you could list out:
Note that these can all be one event "click pricing button" with a simple "plan" parameter with options"Lite," "Starter," and "Pro."
Add a description to what the event is so you remember what they mean. And so your engineering team will know what they mean.
This work may seem repetitive, boring, and time-consuming. It is. Save time by condensing similar actions together. Here's what we mean.
Instead of writing out...
Write...
We'll be sending this doc to your engineers at the end of this project, so as long as each action on your site is clear to them, you can condense similar actions together. They can create a single event "click pricing plan" and pass a parameter "plan" with options Lite, Starter, and Pro.
Use Google's recommended events doc to think of useful secondary pieces of information to send along with your events.
For example:
Add each of these to your analytics proposal.
Go over it all again and make sure you’ve covered all the actions, and added labels and values where applicable (and useful), and lumped them into logical categories.
Make sure all your action descriptions are clear, and that everything is in the same format (lowercase vs uppercase, etc).
Send your analytics event doc to your engineering team. Here's an example message you can send them:
Hi {{engineers}},To get data on how people use our app/site, we need to start tracking these events in Google Analytics and {{our user-level tracking platform: mixpanel/heap/etc.}}.Could you add the code that fires when these events happen?{{LINK TO YOUR ANALYTICS DOC}}
Here are the docs for how to track these in Google Analytics: https://developers.google.com/analytics/devguides/collection/analyticsjs/eventsAnd here are the docs for mixpanel/heap/etc.:
Thanks!