How do I get the number of opt-ins and opt-outs over time?
The number of opt-ins/opt-outs can be obtained using the SMS Keyword Received Event. This event gets triggered when a user responds to an auto-responder message with any of the keywords configured in any of the keyword categories. Depending on the keyword category (represented by the keyword_type event attribute) that the user response falls in, the user is opted in or opted out. Their subscription status is updated in the SMS Subscription Status user property. This event and its attribute can be used to calculate the number of opt-ins and opt-outs, as shown below.- Opt-ins over time
- Opt-outs over time
To get the number of opt-ins over time, do the following:
- Navigate to Analyze -> Behavior -> Events & Filters section and choose the event as SMS Keyword Received.
-
Choose the Filter by condition as Keyword Type is OPTIN, as shown in the image below.

-
Click on Apply. The opt-in statistics are displayed in the behavior chart, as shown in the image below.

How do I get the total number of active SMS subscribers?
The number of active SMS subscribers can be obtained by looking at the count of the number of users who have opted in. If a user has opted in, the SMS Subscription Status user property would be ‘OPTIN’ for them. To get the total number of active SMS subscribers, do the following:- Navigate to Segment > Create Segment and select the Filter Users by option.
- Select the User Property as the filter condition and select SMS Subscription Status is OPTIN as shown in the image below:

- Click Show count, and you’ll have the total number of active SMS subscribers.

