Skip to main content

I have a React (web) application with a form that collects data from users, including their phone number. I want to know if I can include in that form a checkbox from Klaviyo to collect SMS consent. What would be the ideal way to do this?
Thanks 😀

Hello @Arthur M,

I don’t see why you wouldn’t be able too! In my experience, you’ll just need to make a server-side call to pass the SMS consent. 

If you haven’t already, I would suggest taking a look into our (New) Collect email and SMS consent via API Developer guide.

We also offer the How to collect SMS consent via API Help Center article. Although the method discussed in the article uses our v2 API, the principles would still apply when using the (new) subscribe endpoint

I hope this helps!

David


Reply