How to Verify that Kissmetrics is Working
The first time you set up Kissmetrics, you can create a Test Site and use Kissmetrics Live to verify that Kissmetrics is working. The Test Site allows you to create events without harming the real data you collect from your Production Site.
In addition, if you create a new product, you will receive an additional API key so that you can reserve it for testing purposes.
1. Go to the Product Dropdown
2. Create a New Product
- Click on Create New Product.
You need to be the Owner of the account to be able to create a new site
(Optional) To keep your products organized, you can label it as “Testing” or “Production” within Site Settings.
Remember to install your testing API key only when testing, and to use your production API key for real, live/production data.
3. Verify if your Events Are Set-Up Correctly
There are two ways to ensure that your Kissmetrics events are set-up correctly:
- Use the real-time tool Kissmetrics Live to watch your own activity
- For more technical users, you can check that there is network activity to our tracking servers.
Method 1: Use Kissmetrics' Live Feature To Verify Events
The Kissmetrics Live feature displays in real-time the people on your site and the events and properties they are triggering.
This makes it a great debugger. You'll see if the events and properties you've set up are actually working. And you don't have to rely on other people to trigger events and properties--you can do it yourself.
Just go to your site, trigger some events and properties, and see if everything in Live is firing correctly.
In this screenshot, the events fired correctly. I visited my homepage, and as a result, my activity fired an event and it shows up in the Live activity feed.
While Live shows real time data, it'll take several minutes (up to 30 minutes) for this data to be used in reports.
Method 2: Use Your Web Browser’s Developer Tool
For those familiar with using their web browser’s developer tools, you can also refer to the browser’s Network activity. As you browse during testing, look for requests to
trk.kissmetrics.io; these tracking URLs will be structured according to our API Specifications.
Viewing the network requests help you confirm a few key items all at once:
- Does the API key match the one for the Kissmetrics site you’re using?
- Who is the person doing the event?
- What is the name of the event?
- Are additional properties being passed?
If the response from our server is Status Code: 200 OK, then we have received the event just fine, and you can consider this event as successfully triggered.
It will take several minutes (up to 30 minutes) for our servers to process these recently-fired events to show up within Kissmetrics reports.
What if my data looks inaccurate?
If the data within the Kissmetrics Reports is inaccurate, check out the article Data Discrepancies to tackle data errors.
Updated 5 months ago