Skip to content

Conversation

@chrisconlon-klaviyo
Copy link
Contributor

@chrisconlon-klaviyo chrisconlon-klaviyo commented Jul 9, 2021

What does this PR do?

Klaviyo recently made an update to its web tracking. An $exchange_id was introduced which is an encrypted envelope containing identifiers. Segment's Klaviyo integration does not consider this identifier, and in the absence of other identifiers (like email and ID) is skipping track requests.

This PR allows the Segment/Klaviyo integration to recognize and pass along exchange IDs as they are encountered.

Are there breaking changes in this PR?

No, these changes are supplemental to existing behavior.

Testing
Testing completed successfully on stage via AJS 2.0
Test cases were added to existing coverage, all of which is passing.

Any background context you want to provide?

https://help.klaviyo.com/hc/en-us/articles/115005076767-Guide-to-Klaviyo-Web-Tracking#the-_kx-parameter5

Is there parity with the server-side/android/iOS integration components (if applicable)?

Unsure.

Does this require a new integration setting? If so, please explain how the new setting works

No.

Links to helpful docs and other external resources

https://help.klaviyo.com/hc/en-us/articles/115005076767-Guide-to-Klaviyo-Web-Tracking#the-_kx-parameter5

@pooyaj pooyaj self-requested a review July 12, 2021 17:51
@pooyaj pooyaj merged commit 72e9538 into segmentio:master Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants