Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: segmentio/analytics.js-integrations
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: dc9dca6ecd6be1b6a0643adb5389a705b77c2bbe
Choose a base ref
..
head repository: segmentio/analytics.js-integrations
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: d9d9a3c5d1194e0489602635728877c3f1888881
Choose a head ref
Showing with 5 additions and 4 deletions.
  1. +0 −1 integrations/klaviyo/lib/index.js
  2. +1 −1 integrations/klaviyo/package.json
  3. +4 −2 integrations/klaviyo/test/index.test.js
1 change: 0 additions & 1 deletion integrations/klaviyo/lib/index.js
Original file line number Diff line number Diff line change
@@ -144,7 +144,6 @@ Klaviyo.prototype.orderCompleted = function(track) {
'itemNames',
'items',
'revenue',
'total',
'products'
];
// strip standard props and leave custom props only
2 changes: 1 addition & 1 deletion integrations/klaviyo/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@segment/analytics.js-integration-klaviyo",
"description": "The Klaviyo analytics.js integration.",
"version": "2.2.5",
"version": "2.2.6",
"keywords": [
"analytics.js",
"analytics.js-integration",
6 changes: 4 additions & 2 deletions integrations/klaviyo/test/index.test.js
Original file line number Diff line number Diff line change
@@ -228,6 +228,7 @@ describe('Klaviyo', function() {
$value: 25,
Categories: ['Games', 'Interwebs'],
ItemNames: ['Monopoly: 3rd Edition', 'Suh dude'],
total: 30,
Items: [
{
id: '507f1f77bcf86cd799439011',
@@ -291,6 +292,7 @@ describe('Klaviyo', function() {
$value: 25,
Categories: ['Games'],
ItemNames: ['Monopoly: 3rd Edition'],
total: 30,
Items: [
{
id: '507f1f77bcf86cd799439011',
@@ -414,7 +416,6 @@ describe('Klaviyo', function() {
letMePass: 'hi',
customProp: true,
total: 30,
revenue: 25,
shipping: 3,
tax: 2,
discount: 2.5,
@@ -449,9 +450,10 @@ describe('Klaviyo', function() {
'Completed Order',
{
$event_id: '50314b8e9bcf000000000000',
$value: 25,
$value: 30,
Categories: ['Games', 'Interwebs'],
ItemNames: ['Monopoly: 3rd Edition', 'Suh dude'],
total: 30,
Items: [
{
id: '507f1f77bcf86cd799439011',