Product analytics and event tracking explained
Most small businesses with a website or app have analytics switched on, and most never act on what it shows. The reason is usually that nobody decided what they wanted to know. Product analytics works the other way round: you start with a question, record only the events that answer it, and give each one an owner who will act. This post shows you how, with a worked example of a takeaway ordering site, and how to stay inside the data protection rules while you do it.
Step one: start with the question
Write the question in plain words before you touch any tool. A good one is "Where do customers stop when they order?" It leads to a decision: fix the step where people leave. A poor one is "How many visitors do we have?" It makes a nice number and changes nothing. The rule is simple: if a measure leads to no decision, do not collect it. No decision, no measure.
A product also has to be doing something worth measuring. What makes a digital product successful is not the number of visits but whether people finish what they came to do, and come back. Choose questions that test that.
Events and properties
An event is something a person does: viewed the menu, added an item to the basket, paid. A property is a detail attached to the event: which item, which device, which step. Events tell you what happened; properties let you slice it, for example by phone or computer.
Keep the names simple and use the same ones everywhere. If your website calls it "added to basket" and your app calls it "basket add", you will get two half counts instead of one whole one.
Step two: write the tracking plan
A tracking plan is a table with four columns: the event, when it fires, its properties, and the question it answers. For a takeaway site it might look like this.
- Viewed menu. Fires when the menu page opens. Properties: item group, device. Answers: which items draw interest?
- Added to basket. Fires when the add button is pressed. Properties: item, quantity. Answers: what do people choose?
- Started checkout. Fires when the checkout page opens. Properties: device, basket size. Answers: who begins to pay?
- Chose delivery. Fires when the delivery step is completed. Properties: method, step number. Answers: where do people hesitate?
- Paid. Fires when payment is confirmed. Properties: order size, device. Answers: how many complete?
- Left at a step. Fires when the page is closed mid-order. Property: step number. Answers: where do customers stop?
Put the name of an owner beside every row: someone who will act on the answer. Store the plan beside the data so everyone sees one version. When someone wants a new event, they add a row and the question it answers. Review the plan every quarter and drop what nobody uses.
Step three: read the funnel
A funnel counts how many people reach each step and what share carry on. Take a month for Gearóid's takeaway site, with invented numbers:
- Viewed menu: 2,000
- Added to basket: 600, which is 600 / 2,000 = 30% of the previous step
- Started checkout: 300, which is 300 / 600 = 50%
- Chose delivery: 240, which is 240 / 300 = 80%
- Paid: 180, which is 180 / 240 = 75%
Overall, 180 / 2,000 = 9% of menu viewers paid. The biggest percentage drop after the first step is between basket and checkout: 300 people with something in the basket never started checkout, and the last step loses another 60 who chose delivery but did not pay (240 - 180). Now the funnel has told Gearóid where to look: the move from basket to checkout.
What it has not told him is why. A drop is a clue, not an answer. To find the reason, watch a few real people use the site, ask customers directly, or run a small test of one change against the current version. Maybe delivery costs appear too late, or the basket button is hard to find on a phone. Fix one thing, measure again, and compare. If you want to build the habit of reading numbers like this, dashboards and KPIs for small business shows how to keep a small set of figures in front of you without drowning in them.
Step four: record the least you need
This is where good analytics and data protection meet. Do not collect what you will not use. Personal data needs a written reason before you collect it. Most of the questions above can be answered by events that do not know who the person is: "someone paid on a phone" is enough to find the drop. Record events, not identities, unless you have a stated need and consent for identification. If a later need appears, such as following up abandoned baskets by email, add names then, with the reason on record.
Consent matters here too. In Ireland, consent is normally needed before analytics cookies or tracking are set, with clear information first, a choice by category and no pre-ticked boxes. The practical consequence is a measurement trap: your analytics will show only the visitors who agreed. If 60% of visitors accept, 2,000 recorded menu views represent about 2,000 / 0.6 = 3,333 real visits. Treating the sample as everyone gives wrong totals, so use the figures for rates and trends, and check them against a record that needs no consent, such as your count of paid orders from the payment system. For the legal background see GDPR for small businesses in Ireland.
Mistakes to avoid
- Tracking everything and asking questions later.
- Two names for one event.
- Collecting names with no purpose.
- Treating the sample of consenting visitors as everyone.
If you sell digital products, remember that analytics will not tell you your tax position; see VAT on digital products in Ireland for that. Product analytics is taught as part of Digital Strategy, Data Analytics and Cybersecurity in the Strategic Management programme.
Questions people ask
- What is an event in product analytics?
- An event is something a person does on your site or app, such as viewing a menu, adding to a basket or paying. Properties add detail to the event, such as the item, the device or the step number.
- What is a tracking plan and why do I need one?
- It is a table listing each event, when it fires, its properties and the question it answers, with an owner. It stops you collecting data you never use and keeps names consistent across your site and app.
- Do I need consent for analytics on my website in Ireland?
- Normally yes. Analytics cookies and similar tracking need consent before they are set, with clear information and a choice by category. Pre-ticked boxes do not count, and your figures will show only those who agreed.
- Does a drop in my funnel tell me why customers leave?
- No. A drop tells you where to look, not why. Find the reason by watching users, asking customers or testing one change at a time, then measure again to see whether the drop has improved.