diff --git a/README.md b/README.md index 3b1e05b7f..543374ac8 100644 --- a/README.md +++ b/README.md @@ -158,6 +158,11 @@ Klaviyo.setEmail("robin@example.com") .setProfileAttribute(ProfileKey.FIRST_NAME, "Robin") ``` +### Anonymous Tracking +Klaviyo will track unidentified users with an autogenerated ID whenever a push token is set or an event is created. +That way, you can collect push tokens and track events prior to collecting profile identifiers such as email or +phone number. When an identifier is provided, Klaviyo will merge the anonymous user with an identified user. + ## Event Tracking The SDK also provides tools for tracking analytics events via the [Create Client Event API](https://developers.klaviyo.com/en/reference/create_client_event). diff --git a/docs/2.0.0/index.html b/docs/2.0.0/index.html index e61500802..d7899d796 100644 --- a/docs/2.0.0/index.html +++ b/docs/2.0.0/index.html @@ -144,6 +144,8 @@

Reset Profile

+

Anonymous Tracking

+

Klaviyo will track unidentified users with an autogenerated ID whenever a push token is set or an event is created. That way, you can collect push tokens and track events prior to collecting profile identifiers such as email or phone number. When an identifier is provided, Klaviyo will merge the anonymous user with an identified user.

Event Tracking

The SDK also provides tools for tracking analytics events via the Create Client Event API. A list of common Klaviyo-defined event metrics is provided in EventMetric, or you can use EventMetric.CUSTOM("name") for custom event metric names. Additional event properties can be specified as part of EventModel