Google Tag Manager

Forum Discussion

meganhankins's avatar
meganhankins
Collaborator
5 months ago

Unsubscribing from Subscription Groups

How can we set the unsubscribe to only remove the user from the specific subscription group? We don't want to do this through a preference center. We just want to have a link that automatically removes the user from the specific subscription group that the email was sent to. 

Also, when importing users via CSV that could be in multiple subscription groups should we handle the subscription_group_id to ensure that overlapping users remain subscribed to both lists? Is it automatic? Or would it override each other? 

5 Replies

  • eakinsey's avatar
    eakinsey
    Icon for Community Manager rankCommunity Manager

    Hi meganhankins! I checked in with the team and have some advice for you!

    To set up an unsubscribe link in Braze that removes a user from a specific subscription group without using a preference center, you can follow these steps:

    Creating a Custom Unsubscribe Link

    1. Custom Unsubscribe URL: Create a URL that includes the subscription_group_id for the specific group you want the user to unsubscribe from. This URL should be embedded in the email, either in the footer or within the email content.
    2. Use Liquid Tags: Utilize Liquid tags to dynamically generate the unsubscribe URL. This allows the URL to be specific to the subscription group associated with the email.
    3. API Call: When the user clicks the unsubscribe link, it should trigger a call to the Braze REST API to update their subscription status for that specific group. This involves using the appropriate API endpoint to change the user's subscription state for the targeted group.

    Importing Users via CSV

    When importing users via CSV, you need to manage the subscription_group_id carefully to ensure users remain subscribed to all relevant groups:

    1. CSV Format: Ensure your CSV file includes a column for subscription_group_id and that each user entry lists all applicable subscription group IDs.
    2. Multiple Subscriptions: If a user belongs to multiple subscription groups, include all relevant subscription_group_ids in the CSV. Braze will process these IDs and update the user's profile accordingly.
    3. No Overriding: Braze will maintain existing subscriptions across overlapping groups as long as the CSV import includes all relevant subscription_group_ids for each user. The import process will not override existing subscriptions unless specified in the CSV.

    Additional Considerations

    • Testing: Test the unsubscribe link and CSV import process in a staging environment to ensure they function as expected.
    • User Experience: Provide a confirmation message to users after they unsubscribe to enhance their experience.
    • Compliance: Ensure your unsubscribe process complies with relevant regulations and laws.

    Let me know if that helps! And if it does answer your question, please mark my reply as the solution to help others facing the same or similar issue find the answer. Thanks!

  • We had the same problem for subscription group so we don't use it...

    unstead we are thinking about this:
    Create a boolean custom attribut (with or without array).
    Creat a page "you are well unsubscribed"

    When a user click on the link in the email, he will see the page.
    And create a canva where when the alias is clicked we update the custom attribut to false.
    You can also add the date of update, the source...

  • Hi meganhankins​ ! Curious if your questions were answered with the previous comments.

    Looks like eakinsey​ got her detailed answer directly from the Braze team, but if there were any remaining questions during the execution step, please let us know! 

  • Another route is to have the link go to a landing page which indicates their subscription was changed and use the click in a canvas to remove them from the subscription group.

    For the CSV, fairly sure you would need multiple rows each user for each subscription group you wanted to add/update their status (you need to test): 

    external_id,subscription_group_id,subscription_state
    user123,promotional_emails,subscribed
    user123,transactional_sms,unsubscribed
    user123,newsletter_updates,subscribed

  • You can set this up for the top unsubscribe button when you set it up. 

    But changing the main unsubscribe button at the bottom would affect your deliverability due to bad practice.