Skip to main content
Contributor I
November 16, 2023
Solved

Subscribing users

  • November 16, 2023
  • 2 replies
  • 107 views

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.

    This topic has been closed for replies.
    Best answer by KeviSunshine

    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.

    2 replies

    KeviSunshine
    Expert Problem Solver III
    Expert Problem Solver III
    November 16, 2023

    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.

    jjensen_ksp
    Problem Solver I
    Problem Solver I
    November 16, 2023

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