Skip to main content
Solved

Custom integration not delivering data on event

  • June 21, 2021
  • 1 reply
  • 152 views

Forum|alt.badge.img+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.

 

Best answer by Dov

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.

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

Dov
Forum|alt.badge.img+61
  • Klaviyo Alum
  • 1493 replies
  • Answer
  • June 22, 2021

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.