Klaviyo $consent flag | WordPress.org

[ad_1]

Hi there – thanks for the plugin.

I’m wondering if you would consider adding the $consent:[’email’] flag (or at least an option to enable it) in a future update?

When sending email $consent to Klaviyo over their API, it adds the green consent tick as well as a consent timestamp within the contacts profile within Klaviyo. We need this for potential audit purposes and to make segmenting lists easier.

I added:

$fields[ '$consent' ] = '[email]';

to line 113 of include-klaviyo.php in your plugin (I know this risks being overwritten by a future update).

This adds the consent I need to Klaviyo, but I realise that having the $consent set permanently wouldn’t be ideal to all users (they may want to tie it to a checkbox for example), so maybe a filter to allow it or similar?

Anyhow, thanks again for the plugin 🙂

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer