- Records an event,
- Sets the visitor’s identity, and/or
- Sets properties.
Tagged URLs enabled in your site settings (it’s on by default).
An example of a tagged URL looks like this. Assume this is a link in an email campaign:
When someone clicks that link, the event Clicked Email Campaign will be recorded for the user with the property variation set to red button.
If your URL includes the parameter kme Kissmetrics will record an event with the value of that parameter. Anyone who goes to the following URL:
will get the event Facebook Ad recorded.
You can also pass in an identity by adding a
kmi parameter. This lets you identify people coming from email messages or clicking across your sites. So you might have:
This will record the event Clicked E-mail for user.
Please note that anyone who clicks on that link (or visits that URL) will be identified as
s739830572754. It’s not a good idea to include the identity when you make the URL public (when more than one person has access to it). For privacy reasons, we recommend not identifying by a user's email address in this way.
If you don’t know who might end up clicking the URL, you can leave off the
Any URL parameter with the prefix
km_ will be set as a property for the user. So if you have three different links in an email that all point to
http://test.com/offer, you can differentiate which link was most effective by setting up a property to record exactly which link was used. For example:
http://test.com/offer?kme=Clicked+Link&kmi=john.smith&km_Link+Location=top http://test.com/offer?kme=Clicked+Link&kmi=john.smith&km_Link+Location=middle http://test.com/offer?kme=Clicked+Link&kmi=john.smith&km_Link+Location=bottom
All three links will record the event Clicked Link for the user
john.smith but each will set the same property Link Location to different values (top, middle, or bottom). This lets you report on all the people who Clicked Link and segment this population by which Link Location was used.
Updated 11 months ago