Tracking Offline Events

Some of your business’s key interactions with customers may happen offline. Sample “offline events” can include…

These events don’t happen as a result of the customer visiting your website. There are alternate ways to bring in this data, using our other APIs.

Use a Server to Automate Recording

If you have a server that logs when such events occur, you can use one of our server-side APIs to register when the events occur. It would be somewhat similar to the process of Importing Existing Data.

Visit the Appropriate Tracking URL

If you don’t have a server dedicated for this purpose, you can still record one-off instances by visiting the KISSmetrics tracking URL that describes your event. The trickiness is in making sure that the tracking URL is set up perfectly. I will be referring to the tracking URL structure as described in API Specifications.

An Example

I’ve just closed a deal over the phone (offline) with bob@bob.com, who has just purchased an item from me for $5000. I visit this URL to record that the event happened.

http://trk.kissmetrics.com/e?_k=foo&_n=Purchased&_p=bob%40bob.com&Billed+amount=5000

Let’s walk through what makes up each of the components of the URL:

So to put it all together, visiting the above URL indicates that “bob@bob.com” did “Purchased” with a “Billed Amount” of “5000” at the time that you visited the URL. You can optionally pass in the _t and _d parameters to specify the time that the event actually occurred – please refer to API Specifications. If you have KM Live open, you would see this event come through successfully.

Breaking It Down

In line with our API Specifications, you can make a URL that goes to http://trk.kissmetrics.com/e with the following parameters:

We highly recommend you test this out a few times using KM Live. Please contact support with any further questions!


Filed under How To's, Examples, and Best Practices

Search


Learn more about KISSmetrics

Get started now