• Resolved tictok

    (@tictok)


    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 ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author thongnguyenminh

    (@thongnguyenminh)

    Hi @tictok , big thanks to your great contribution idea for the plugin. This maybe a small adjust but will make a big result – i’m not familiar with Klaviyo (i write this plugin just because one of my client need it. But i believe there are lots of people out there need this feature).

    So i have released a new update and include the option to enable the email consent if you want in the setting section. Please update to using it.

    Again, thanks for your valuable and have a great day!

    Thread Starter tictok

    (@tictok)

    Hi @thongnguyenminh – Wow, that was quick! thanks so much, I really appreciate it.

    Tested and confirmed working ??

    Thanks again!

    Plugin Author thongnguyenminh

    (@thongnguyenminh)

    Hi @tictok the reason i update the plugin that quick is because of you – your require vary clearl and show me exactly what i need to add to the code (this case is the $fields[ '$consent' ] = 'email'). So just a few simple check with Klaviyo API and simple modification i can done this in short time.

    Also, i always want to improve my plugin – so thanks you again for this valuable contribution.

    Please fell free to asking me if you need any thing else in the future!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Klaviyo $consent flag’ is closed to new replies.