diff --git a/integrations/klaviyo/lib/index.js b/integrations/klaviyo/lib/index.js index 33b60bb21..88b09e543 100644 --- a/integrations/klaviyo/lib/index.js +++ b/integrations/klaviyo/lib/index.js @@ -144,7 +144,6 @@ Klaviyo.prototype.orderCompleted = function(track) { 'itemNames', 'items', 'revenue', - 'total', 'products' ]; // strip standard props and leave custom props only diff --git a/integrations/klaviyo/package.json b/integrations/klaviyo/package.json index a086b0109..9944f180f 100644 --- a/integrations/klaviyo/package.json +++ b/integrations/klaviyo/package.json @@ -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", diff --git a/integrations/klaviyo/test/index.test.js b/integrations/klaviyo/test/index.test.js index c51239fcc..7b07cd23d 100644 --- a/integrations/klaviyo/test/index.test.js +++ b/integrations/klaviyo/test/index.test.js @@ -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',