mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-03-16 22:20:25 +00:00
Update docs/services/kiss_metrics.rst
This commit is contained in:
parent
255dd4f387
commit
d12bb6de2d
1 changed files with 20 additions and 0 deletions
|
|
@ -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
|
||||
----------------
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue