cljs-exponent.amplitude
Provides access to https://amplitude.com/ mobile analytics. Wraps Amplitude's iOS and Android SDKs.
Amplitude
clear-user-properties
(clear-user-properties)
Clear properties set by Exponent.Amplitude.setUserProperties().
initialize
(initialize api-key)
Initializes Amplitude with your Amplitude API key. Find your API key using these instructions.
log-event
(log-event event-name)
Log an event to Amplitude. https://amplitude.zendesk.com/hc/en-us/articles/206404698-Step-3-Track-Events-and-Understand-the-Actions-Users-Take has information about what kind of events to track.
log-event-with-properties
(log-event-with-properties event-name properties)
Log an event to Amplitude with custom properties. https://amplitude.zendesk.com/hc/en-us/articles/206404698-Step-3-Track-Events-and-Understand-the-Actions-Users-Take has information about what kind of events to track.
set-group
(set-group group-type group-names)
Add the current user to a group. See https://github.com/amplitude/Amplitude-iOS#setting-groups and https://github.com/amplitude/Amplitude-Android#setting-groups.
set-user-id
(set-user-id user-id)
Assign a user ID to the current user. If you don't have a system for user IDs you don't need to call this. See https://amplitude.zendesk.com/hc/en-us/articles/206404628-Step-2-Assign-User-IDs-and-Identify-your-Users.
set-user-properties
(set-user-properties user-properties)
Set properties for the current user. See https://amplitude.zendesk.com/hc/en-us/articles/207108327-Step-4-Set-User-Properties-and-Event-Properties.