From 6c9ac36c46f049b738ec6c9c4ab1519372c901a8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 6 Feb 2024 13:05:15 -0500 Subject: [PATCH] Generated Docs for "Add note about anonymous profiles to readme (#127)" (#128) * Auto generate documentation PRs (#124) Automate all the things Co-authored-by: Evan Masseau <> * Minor README and Documentation Updates (#121) * Fixed SDK name in license section * Fixed appearance of some of the advanced section after seeing it on the dokka html * Other grammar/spelling fixes --------- Co-authored-by: Evan Masseau <> * Add note about anonymous profiles to readme (#127) --------- Co-authored-by: Evan Masseau <> * Generated docs for 0c305d1556863194a34b1539cbc38f9568f1aaa3 --------- Co-authored-by: Evan C Masseau <5167687+evan-masseau@users.noreply.github.com> Co-authored-by: github-actions --- README.md | 5 +++++ docs/2.0.0/index.html | 2 ++ 2 files changed, 7 insertions(+) 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