GDPR compliance with double opt in
-
Hello,
first of all I want to thank you for the great plugin!However, we have encountered a problem with the double opt-in process, which is well solvable.
Namely, the plugin currently sends the entries like this:
$request = wp_remote_retrieve_body(wp_remote_post( “https://a.klaviyo.com/api/v2/list/”.$list_id.”/members”, [
‘headers’ => [‘content-type’ => ‘application/json’],
‘body’ => json_encode($klaviyo_data)
]));However, the double opt-in process is not triggered this way. We talked to support and learned that we should do it this way instead:
$request = wp_remote_retrieve_body(wp_remote_post( “https://a.klaviyo.com/api/v2/list/”.$list_id.”/subscribe”, [
‘headers’ => [‘content-type’ => ‘application/json’],
‘body’ => json_encode($klaviyo_data)
]));Therefore, you just need to replace the URL. We have already tested this and it works so far.
Is there a possibility to create an option for changing the endpoint? This would be awesome!
The page I need help with: [log in to see the link]
- The topic ‘GDPR compliance with double opt in’ is closed to new replies.