For the complete documentation index, see llms.txt. This page is also available as Markdown.

CRM Properties

CRM Properties are stored securely only on the Hackle server and cannot be directly retrieved via the SDK.

Phone Number Collection

This feature is supported in React SDK version 11.42.0 and above.

setPhoneNumber

Registers the user's phone number.

The phone number is stored only if it is a valid E.164 format. If no country code is specified, South Korea (+82) is used as the default.

If the user already has a stored phone number, calling this function replaces the existing phone number with the new value.

const myPhone = '+821012341234';
hackleClient.setPhoneNumber(myPhone);

unsetPhoneNumber

Deletes the phone number registered to the user.

hackleClient.unsetPhoneNumber();

This feature is supported in React SDK version 11.45.0 and above.

For detailed information about subscription consent status, refer to the CRM Message Subscription Consent Management documentation.

You can subscribe or unsubscribe per message purpose.

Use HackleSubscriptionOperationsBuilder to configure the consent status for the desired properties, then perform the final update using a method like updatePushSubscriptions().

You can update the consent status per message channel.

Promotional Messages

Sets the promotional message subscription consent property.

Informational Messages

Sets the informational message subscription consent property.

HackleSubscriptionStatus
Description

UNKNOWN

Subscription Consent has not been given or denied (default)

SUBSCRIPTION

Explicitly opted in to receive messages

UNSUBSCRIPTION

Explicitly opted out of receiving messages

Updates the user's Push Message subscription consent status.

Updates the user's Kakao Message subscription consent status.

Updates the user's Text Message / SMS subscription consent status.

Last updated