From d12bb6de2dacbe445980eb99458ea483e987261b Mon Sep 17 00:00:00 2001 From: xthepoet Date: Mon, 13 Aug 2012 08:17:56 -0700 Subject: [PATCH] Update docs/services/kiss_metrics.rst --- docs/services/kiss_metrics.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/services/kiss_metrics.rst b/docs/services/kiss_metrics.rst index 91932e5..7b98895 100644 --- a/docs/services/kiss_metrics.rst +++ b/docs/services/kiss_metrics.rst @@ -110,6 +110,26 @@ context processor, the latter clobbers the former. .. _kiss-metrics-event: +Alias +----- + +Alias is used to associate one identity with another. +This most likely will occur if a user is not signed in yet, +you assign them an anonymous identity and record activity for them +and they later sign in and you get a named identity. + +For example:: + context = RequestContext({ + 'kiss_metrics_alias': {'my_registered@email' : 'my_user_id'}, + }) + return some_template.render(context) + +The output script tag will then include the corresponding properties as +documented in the `KISSmetrics alias API`_ docs. + + +.. _`KISSmetrics set API`: http://support.kissmetrics.com/apis/common-methods#alias + Recording events ----------------