Solved

Subscribing users

  • 16 November 2023
  • 2 replies
  • 37 views

Badge

Hi there! We have a registration form on our WordPress site. Whenever a user registers we’d like to add his email to a chosen list. We’ve searched the Klaviyo API and we found that we can use this - https://developers.klaviyo.com/en/reference/create_client_subscription.

Can you help us and confirm if we should use this? We tried adding the nessary data to the script in the article above but then when we try to execute it on successful registration we get a fulfilled promise but nothing really happens in the list, the profile is not there.

We tried running this script with an email that we have access to, but haven’t received anything yet.

What should we do?

Thanks!

Kind regards.

icon

Best answer by KeviSunshine 16 November 2023, 14:43

View original

2 replies

Userlevel 4
Badge +7

Hi @T.Manolov.CreateX,

It looks to me like you’re doing everything correctly. Is the list your attempting to subscribe profiles to a double opt-in list? (more info here: https://help.klaviyo.com/hc/en-us/articles/115005251108)

Let me know.

Cheers,

Kevin.

Userlevel 2
Badge +3

@T.Manolov.CreateX - can we see dummy data (request or response)? or your script?

Reply