Solved

Custom integration not delivering data on event

  • 21 June 2021
  • 1 reply
  • 142 views

Badge +2

Hi,

We have a custom Klaviyo integration using the PHP API. Our developer has the code working perfectly on his local machine but the exact same code when deployed on our development site/server does not trigger the event in Klaviyo.

I chatted with support and they suggested adding:

## Whitelist Klaviyo
if ($http_user_agent ~* (Klaviyo)) {
  set $magestack_protect_api false;
  set $magestack_bot_type "Good";
}

to the nginx file. This did not solve the issue however.

I attached some code. The try loop at the bottom returns ‘New User info sent to Klaviyo’ in our sites activity feed but the profile is never created in Klaviyo. It only works when running on our developers local machine.

 

icon

Best answer by Dov 22 June 2021, 17:16

View original

1 reply

Userlevel 7
Badge +61

Hi @garrettTQF,

Thanks for sharing your question with the Klaviyo Community.

There is currently a member of our staff looking into your issue. Please continue corresponding with our staffmember over email for the time being. 

Thanks for being a member of the Klaviyo community.

Reply