Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gb-tracker-client

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gb-tracker-client - npm Package Compare versions

Comparing version 3.0.2 to 3.1.0

6

lib/gb-tracker-core.js

@@ -134,2 +134,8 @@ var uuid = require('uuid');

self.sendSearchEvent = function (event) {
// Move search.id to the event object
if (event && event.search && event.search.id && !event.responseId) {
event.responseId = event.search.id;
delete event.search.id;
}
self.__private.prepareAndSendEvent(event, 'search');

@@ -136,0 +142,0 @@ };

2

package.json
{
"name": "gb-tracker-client",
"version": "3.0.2",
"version": "3.1.0",
"description": "GroupBy client-side event tracker",

@@ -5,0 +5,0 @@ "keywords": [

@@ -8,3 +8,3 @@ ## GroupBy Tracking Client

```
<script src="http://cdn.groupbycloud.com/dist/gb-tracker-client-3.0.2.min.js"></scipt>
<script src="http://cdn.groupbycloud.com/dist/gb-tracker-client-3.1.0.min.js"></scipt>
```

@@ -114,2 +114,3 @@

},
id: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', // Optional: 40-character search ID
totalRecordCount: 122,

@@ -116,0 +117,0 @@ area: 'Default',

@@ -74,3 +74,4 @@ var utils = require('./utils');

category: {
type: 'string'
type: 'string',
optional: true
},

@@ -280,3 +281,4 @@ collection: {

'lower'
]
],
optional: true
},

@@ -283,0 +285,0 @@ collection: {

@@ -86,2 +86,14 @@ var utils = require('./utils');

optional: false
},
autosearch: {
type: 'boolean',
optional: false
},
navigation: {
type: 'boolean',
optional: false
},
collectionSwitcher: {
type: 'boolean',
optional: false
}

@@ -232,2 +244,14 @@ },

def: false
},
autosearch: {
optional: false,
def: false
},
navigation: {
optional: false,
def: false
},
collectionSwitcher: {
optional: false,
def: false
}

@@ -234,0 +258,0 @@ },

@@ -90,3 +90,4 @@ var utils = require('./utils');

category: {
type: 'string'
type: 'string',
optional: true
},

@@ -312,3 +313,4 @@ collection: {

'lower'
]
],
optional: true
},

@@ -315,0 +317,0 @@ collection: {

@@ -85,2 +85,14 @@ var utils = require('./utils');

optional: false
},
autosearch: {
type: 'boolean',
optional: false
},
navigation: {
type: 'boolean',
optional: false
},
collectionSwitcher: {
type: 'boolean',
optional: false
}

@@ -128,5 +140,40 @@ },

},
relatedQueries: {
type: 'array',
items: {
type: 'string'
},
optional: true
},
rewrites: {
type: 'array',
items: {
type: 'string'
},
optional: true
},
siteParams: {
type: 'array',
items: {
type: 'object',
properties: {
key: {
type: 'string',
optional: true
},
value: {
type: 'string',
optional: true
}
}
},
optional: true
},
matchStrategy: {
type: 'object',
properties: {
name: {
type: 'string',
optional: true
},
rules: {

@@ -181,2 +228,10 @@ type: 'array',

},
moreRefinements: {
type: 'boolean',
optional: true
},
type: {
type: 'string',
optional: true
},
metadata: {

@@ -255,2 +310,10 @@ type: 'array',

},
moreRefinements: {
type: 'boolean',
optional: true
},
type: {
type: 'string',
optional: true
},
metadata: {

@@ -329,2 +392,6 @@ type: 'array',

optional: true
},
collection: {
type: 'string',
optional: true
}

@@ -349,2 +416,10 @@ }

},
area: {
type: 'string',
optional: true
},
query: {
type: 'string',
optional: true
},
skip: {

@@ -358,2 +433,19 @@ type: 'integer',

},
sort: {
type: 'array',
items: {
type: 'object',
properties: {
field: {
type: 'string',
optional: true
},
order: {
type: 'string',
optional: true
}
}
},
optional: true
},
fields: {

@@ -517,2 +609,14 @@ type: 'array',

def: false
},
autosearch: {
optional: false,
def: false
},
navigation: {
optional: false,
def: false
},
collectionSwitcher: {
optional: false,
def: false
}

@@ -566,4 +670,51 @@ },

},
relatedQueries: {
type: 'array',
maxLength: 10000,
rules: [
'trim',
'lower'
],
items: {}
},
rewrites: {
type: 'array',
maxLength: 10000,
rules: [
'trim',
'lower'
],
items: {}
},
siteParams: {
type: 'array',
items: {
properties: {
key: {
maxLength: 10000,
rules: [
'trim',
'lower'
]
},
value: {
maxLength: 10000,
rules: [
'trim',
'lower'
]
}
},
strict: true
}
},
matchStrategy: {
properties: {
name: {
maxLength: 10000,
rules: [
'trim',
'lower'
]
},
rules: {

@@ -610,2 +761,10 @@ type: 'array',

or: {},
moreRefinements: {},
type: {
maxLength: 10000,
rules: [
'trim',
'lower'
]
},
metadata: {

@@ -696,2 +855,10 @@ type: 'array',

or: {},
moreRefinements: {},
type: {
maxLength: 10000,
rules: [
'trim',
'lower'
]
},
metadata: {

@@ -789,2 +956,9 @@ type: 'array',

]
},
collection: {
maxLength: 10000,
rules: [
'trim',
'lower'
]
}

@@ -813,2 +987,16 @@ },

},
area: {
maxLength: 10000,
rules: [
'trim',
'lower'
]
},
query: {
maxLength: 10000,
rules: [
'trim',
'lower'
]
},
skip: {

@@ -820,2 +1008,24 @@ type: 'integer'

},
sort: {
type: 'array',
items: {
properties: {
field: {
maxLength: 10000,
rules: [
'trim',
'lower'
]
},
order: {
maxLength: 10000,
rules: [
'trim',
'lower'
]
}
},
strict: true
}
},
fields: {

@@ -822,0 +1032,0 @@ type: 'array',

@@ -65,3 +65,4 @@ var utils = require('./utils');

category: {
type: 'string'
type: 'string',
optional: true
},

@@ -236,3 +237,4 @@ collection: {

'lower'
]
],
optional: true
},

@@ -239,0 +241,0 @@ collection: {

@@ -253,3 +253,3 @@ const chai = require('chai');

it('should reject invalid addToCart event that is missing category', (done) => {
it('should NOT reject addToCart event that is missing category', (done) => {
const gbTrackerCore = new GbTrackerCore('testcustomer', 'area');

@@ -262,3 +262,15 @@

done('fail');
expect(event.cart.items).to.eql([
{
productId: 'asdfasd',
// category: 'boats',
collection: 'boatssrus',
title: 'boats',
sku: 'asdfasf98',
quantity: 10,
price: 100.21
}
]);
done();
};

@@ -269,5 +281,4 @@

gbTrackerCore.setInvalidEventCallback((event, error) => {
expect(error).to.match(/category: is missing/);
done();
gbTrackerCore.setInvalidEventCallback(() => {
done('fail');
});

@@ -274,0 +285,0 @@

@@ -53,6 +53,9 @@ const chai = require('chai');

origin: {
dym: false,
sayt: true,
search: false,
recommendations: false
dym: false,
sayt: true,
search: false,
recommendations: false,
autosearch: false,
navigation: false,
collectionSwitcher: false
}

@@ -152,3 +155,3 @@ }));

responseId: 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa',
search: {
search: {
// origin: {

@@ -155,0 +158,0 @@ // sayt: true

@@ -257,3 +257,3 @@ const chai = require('chai');

it('should reject invalid order event missing category', (done) => {
it('should NOT reject order event missing category', (done) => {
const gbTrackerCore = new GbTrackerCore('testcustomer', 'area');

@@ -266,3 +266,15 @@

done('fail');
expect(event.cart.items).to.eql([
{
productId: 'asdfasd',
// category: 'boats',
collection: 'boatssrus',
title: 'boats',
sku: 'asdfasf98',
quantity: 10,
price: 100.21
}
]);
done();
};

@@ -273,4 +285,3 @@

gbTrackerCore.setInvalidEventCallback((event, error) => {
expect(error).to.match(/category: is missing/);
done();
done('fail');
});

@@ -277,0 +288,0 @@

const chai = require('chai');
const expect = chai.expect;
const diff = require('deep-diff').diff;
var LZString = require('lz-string/libs/lz-string.min.js');
var LZString = require('lz-string/libs/lz-string.min.js');

@@ -41,3 +41,6 @@ window = false;

sayt: false,
recommendations: false
recommendations: false,
autosearch: false,
navigation: false,
collectionSwitcher: false
},

@@ -110,4 +113,4 @@ query: 'searchy searchface'

// 1 segment for setVisitor, 5 for search
if (segmentCounter >= 6) {
// 1 segment for setVisitor, 6 for search
if (segmentCounter > 6) {
done();

@@ -166,3 +169,6 @@ }

sayt: false,
recommendations: false
recommendations: false,
autosearch: false,
navigation: false,
collectionSwitcher: false
},

@@ -213,6 +219,9 @@ query: 'searchy searchface'

origin: {
search: true,
dym: false,
sayt: false,
recommendations: false
search: true,
dym: false,
sayt: false,
recommendations: false,
autosearch: false,
navigation: false,
collectionSwitcher: false
},

@@ -394,3 +403,3 @@ query: 'searchy searchface'

pageInfo: {
recordEnd: 10,
recordEnd: 10,
recordStart: 5

@@ -445,3 +454,3 @@ },

pageInfo: {
recordEnd: 10,
recordEnd: 10,
recordStart: 5

@@ -453,4 +462,3 @@ },

displayName: 'refined 1',
or: false,
// refinements: [
or: false, // refinements: [
// {

@@ -497,3 +505,3 @@ // type: 'value',

pageInfo: {
recordEnd: 10,
recordEnd: 10,
recordStart: 5

@@ -520,4 +528,3 @@ },

recommendations: false
},
// query: 'searchy searchface'
}, // query: 'searchy searchface'
}

@@ -530,31 +537,31 @@ });

"search": {
"totalRecordCount": 57048,
"id": "ba1428b2dfd8ad604a84d2b6f28d56cdc403052e",
"area": "ProductionSemanticDemo",
"biasingProfile": "All_Results",
"template": {
"name": "default",
"totalRecordCount": 57048,
"id": "ba1428b2dfd8ad604a84d2b6f28d56cdc403052e",
"area": "ProductionSemanticDemo",
"biasingProfile": "All_Results",
"template": {
"name": "default",
"zones": {}
},
"pageInfo": {
"pageInfo": {
"recordStart": 1,
"recordEnd": 12
"recordEnd": 12
},
"matchStrategy": {
"name": "strong match",
"matchStrategy": {
"name": "strong match",
"rules": [
{
"termsGreaterThan": 2,
"mustMatch": 80,
"percentage": true
"mustMatch": 80,
"percentage": true
},
{
"termsGreaterThan": 4,
"mustMatch": 70,
"percentage": true
"mustMatch": 70,
"percentage": true
},
{
"termsGreaterThan": 8,
"mustMatch": 60,
"percentage": true
"mustMatch": 60,
"percentage": true
}

@@ -565,8 +572,8 @@ ]

{
"name": "child.INSTOREPICKUP_INDICATOR",
"name": "child.INSTOREPICKUP_INDICATOR",
"displayName": "Pick up at myCVS®",
"type": "Value",
"type": "Value",
"refinements": [
{
"type": "Value",
"type": "Value",
"count": 14397,

@@ -576,13 +583,13 @@ "value": "Pick Up In Store"

],
"metadata": [],
"range": false,
"or": false
"metadata": [],
"range": false,
"or": false
},
{
"name": "category1",
"name": "category1",
"displayName": "Main Category",
"type": "Value",
"type": "Value",
"refinements": [
{
"type": "Value",
"type": "Value",
"count": 21459,

@@ -592,3 +599,3 @@ "value": "Household & Grocery"

{
"type": "Value",
"type": "Value",
"count": 15709,

@@ -598,3 +605,3 @@ "value": "Beauty"

{
"type": "Value",
"type": "Value",
"count": 4308,

@@ -604,3 +611,3 @@ "value": "Home Health Care"

{
"type": "Value",
"type": "Value",
"count": 3680,

@@ -610,3 +617,3 @@ "value": "Personal Care"

{
"type": "Value",
"type": "Value",
"count": 3533,

@@ -616,3 +623,3 @@ "value": "Vitamins"

{
"type": "Value",
"type": "Value",
"count": 3252,

@@ -622,3 +629,3 @@ "value": "Health & Medicine"

{
"type": "Value",
"type": "Value",
"count": 1161,

@@ -628,3 +635,3 @@ "value": "Baby & Child"

{
"type": "Value",
"type": "Value",
"count": 1147,

@@ -634,3 +641,3 @@ "value": "Diet & Nutrition"

{
"type": "Value",
"type": "Value",
"count": 412,

@@ -640,3 +647,3 @@ "value": "Sexual Health"

{
"type": "Value",
"type": "Value",
"count": 27,

@@ -646,3 +653,3 @@ "value": "Internal Pain Relief"

{
"type": "Value",
"type": "Value",
"count": 20,

@@ -652,3 +659,3 @@ "value": "Trending Vitamins"

{
"type": "Value",
"type": "Value",
"count": 13,

@@ -658,3 +665,3 @@ "value": "Pain Patches, Rubs & Creams"

{
"type": "Value",
"type": "Value",
"count": 2,

@@ -664,3 +671,3 @@ "value": "Bath Accessories"

{
"type": "Value",
"type": "Value",
"count": 2,

@@ -670,3 +677,3 @@ "value": "Pain Relief Devices"

{
"type": "Value",
"type": "Value",
"count": 1,

@@ -676,14 +683,14 @@ "value": "Natural Pain Relief"

],
"metadata": [],
"range": false,
"or": false
"metadata": [],
"range": false,
"or": false
},
{
"name": "category2",
"displayName": "Category",
"type": "Value",
"name": "category2",
"displayName": "Category",
"type": "Value",
"moreRefinements": true,
"refinements": [
"refinements": [
{
"type": "Value",
"type": "Value",
"count": 9356,

@@ -693,3 +700,3 @@ "value": "School & Office Supplies"

{
"type": "Value",
"type": "Value",
"count": 4491,

@@ -699,3 +706,3 @@ "value": "Perfume & Cologne"

{
"type": "Value",
"type": "Value",
"count": 3917,

@@ -705,3 +712,3 @@ "value": "Electronics"

{
"type": "Value",
"type": "Value",
"count": 3547,

@@ -711,3 +718,3 @@ "value": "Hair Care"

{
"type": "Value",
"type": "Value",
"count": 2644,

@@ -717,3 +724,3 @@ "value": "Other Daily Living Aids"

{
"type": "Value",
"type": "Value",
"count": 2530,

@@ -723,3 +730,3 @@ "value": "Skin Care"

{
"type": "Value",
"type": "Value",
"count": 2437,

@@ -729,3 +736,3 @@ "value": "Bath & Body"

{
"type": "Value",
"type": "Value",
"count": 1669,

@@ -735,3 +742,3 @@ "value": "Makeup"

{
"type": "Value",
"type": "Value",
"count": 1585,

@@ -741,3 +748,3 @@ "value": "Pet Supplies"

{
"type": "Value",
"type": "Value",
"count": 1488,

@@ -747,3 +754,3 @@ "value": "Food & Snacks"

{
"type": "Value",
"type": "Value",
"count": 1209,

@@ -753,3 +760,3 @@ "value": "Herbals"

{
"type": "Value",
"type": "Value",
"count": 1134,

@@ -759,3 +766,3 @@ "value": "Health Goals"

{
"type": "Value",
"type": "Value",
"count": 1038,

@@ -765,3 +772,3 @@ "value": "First Aid"

{
"type": "Value",
"type": "Value",
"count": 1035,

@@ -771,3 +778,3 @@ "value": "Beauty Tools & Accessories"

{
"type": "Value",
"type": "Value",
"count": 1009,

@@ -777,3 +784,3 @@ "value": "Candy"

{
"type": "Value",
"type": "Value",
"count": 905,

@@ -783,3 +790,3 @@ "value": "Braces & Supports"

{
"type": "Value",
"type": "Value",
"count": 852,

@@ -789,3 +796,3 @@ "value": "Toys & Games"

{
"type": "Value",
"type": "Value",
"count": 824,

@@ -795,3 +802,3 @@ "value": "Oral Care"

{
"type": "Value",
"type": "Value",
"count": 740,

@@ -801,3 +808,3 @@ "value": "Massage & Relaxation"

{
"type": "Value",
"type": "Value",
"count": 614,

@@ -807,14 +814,14 @@ "value": "Digestive Health"

],
"metadata": [],
"range": false,
"or": false
"metadata": [],
"range": false,
"or": false
},
{
"name": "category3",
"displayName": "Sub Category",
"type": "Value",
"name": "category3",
"displayName": "Sub Category",
"type": "Value",
"moreRefinements": true,
"refinements": [
"refinements": [
{
"type": "Value",
"type": "Value",
"count": 4742,

@@ -824,3 +831,3 @@ "value": "Binders & Folders"

{
"type": "Value",
"type": "Value",
"count": 2843,

@@ -830,3 +837,3 @@ "value": "Perfume for Women"

{
"type": "Value",
"type": "Value",
"count": 2127,

@@ -836,3 +843,3 @@ "value": "Face"

{
"type": "Value",
"type": "Value",
"count": 1948,

@@ -842,3 +849,3 @@ "value": "Medicine Accessories"

{
"type": "Value",
"type": "Value",
"count": 1899,

@@ -848,3 +855,3 @@ "value": "Desk Supplies"

{
"type": "Value",
"type": "Value",
"count": 1757,

@@ -854,3 +861,3 @@ "value": "Ink Cartridges"

{
"type": "Value",
"type": "Value",
"count": 1661,

@@ -860,3 +867,3 @@ "value": "Shampoo & Conditioner"

{
"type": "Value",
"type": "Value",
"count": 1648,

@@ -866,3 +873,3 @@ "value": "Cologne for Men"

{
"type": "Value",
"type": "Value",
"count": 1223,

@@ -872,3 +879,3 @@ "value": "Styling"

{
"type": "Value",
"type": "Value",
"count": 1213,

@@ -878,3 +885,3 @@ "value": "Dog Accessories"

{
"type": "Value",
"type": "Value",
"count": 1100,

@@ -884,3 +891,3 @@ "value": "Body Lotion, Oils & Sprays"

{
"type": "Value",
"type": "Value",
"count": 1089,

@@ -890,3 +897,3 @@ "value": "Other Herbals"

{
"type": "Value",
"type": "Value",
"count": 999,

@@ -896,3 +903,3 @@ "value": "Computer Supplies"

{
"type": "Value",
"type": "Value",
"count": 773,

@@ -902,3 +909,3 @@ "value": "Paper & Notebooks"

{
"type": "Value",
"type": "Value",
"count": 630,

@@ -908,3 +915,3 @@ "value": "Massage Oil & Lotion"

{
"type": "Value",
"type": "Value",
"count": 611,

@@ -914,3 +921,3 @@ "value": "Eyes"

{
"type": "Value",
"type": "Value",
"count": 608,

@@ -920,3 +927,3 @@ "value": "Accessories"

{
"type": "Value",
"type": "Value",
"count": 540,

@@ -926,3 +933,3 @@ "value": "Body Wash"

{
"type": "Value",
"type": "Value",
"count": 526,

@@ -932,3 +939,3 @@ "value": "Pens & Pencils"

{
"type": "Value",
"type": "Value",
"count": 515,

@@ -938,14 +945,14 @@ "value": "Calendars & Planners"

],
"metadata": [],
"range": false,
"or": false
"metadata": [],
"range": false,
"or": false
},
{
"name": "child.PRODUCT_BRAND",
"displayName": "Brand",
"type": "Value",
"name": "child.PRODUCT_BRAND",
"displayName": "Brand",
"type": "Value",
"moreRefinements": true,
"refinements": [
"refinements": [
{
"type": "Value",
"type": "Value",
"count": 2690,

@@ -955,3 +962,3 @@ "value": "CVS/pharmacy"

{
"type": "Value",
"type": "Value",
"count": 1530,

@@ -961,3 +968,3 @@ "value": "Avery"

{
"type": "Value",
"type": "Value",
"count": 747,

@@ -967,3 +974,3 @@ "value": "Smead"

{
"type": "Value",
"type": "Value",
"count": 639,

@@ -973,3 +980,3 @@ "value": "Pet Life"

{
"type": "Value",
"type": "Value",
"count": 616,

@@ -979,3 +986,3 @@ "value": "Drive Medical"

{
"type": "Value",
"type": "Value",
"count": 563,

@@ -985,3 +992,3 @@ "value": "Hollister"

{
"type": "Value",
"type": "Value",
"count": 549,

@@ -991,3 +998,3 @@ "value": "Oshadhi"

{
"type": "Value",
"type": "Value",
"count": 468,

@@ -997,3 +1004,3 @@ "value": "Sparco"

{
"type": "Value",
"type": "Value",
"count": 444,

@@ -1003,3 +1010,3 @@ "value": "Coloplast"

{
"type": "Value",
"type": "Value",
"count": 403,

@@ -1009,3 +1016,3 @@ "value": "Convatec"

{
"type": "Value",
"type": "Value",
"count": 386,

@@ -1015,3 +1022,3 @@ "value": "Cardinal"

{
"type": "Value",
"type": "Value",
"count": 385,

@@ -1021,3 +1028,3 @@ "value": "Kleer-Fax"

{
"type": "Value",
"type": "Value",
"count": 384,

@@ -1027,3 +1034,3 @@ "value": "Pendaflex"

{
"type": "Value",
"type": "Value",
"count": 372,

@@ -1033,3 +1040,3 @@ "value": "Royce Leather"

{
"type": "Value",
"type": "Value",
"count": 356,

@@ -1039,3 +1046,3 @@ "value": "Elite Image"

{
"type": "Value",
"type": "Value",
"count": 343,

@@ -1045,3 +1052,3 @@ "value": "Wilson Jones"

{
"type": "Value",
"type": "Value",
"count": 336,

@@ -1051,3 +1058,3 @@ "value": "L'Oreal"

{
"type": "Value",
"type": "Value",
"count": 310,

@@ -1057,3 +1064,3 @@ "value": "Touchdog"

{
"type": "Value",
"type": "Value",
"count": 307,

@@ -1063,3 +1070,3 @@ "value": "ITA-MED"

{
"type": "Value",
"type": "Value",
"count": 297,

@@ -1069,13 +1076,13 @@ "value": "Gabrialla"

],
"metadata": [],
"range": false,
"or": true
"metadata": [],
"range": false,
"or": true
},
{
"name": "child.REFINEMENT_GROUP_9",
"name": "child.REFINEMENT_GROUP_9",
"displayName": "Primary Color",
"type": "Value",
"type": "Value",
"refinements": [
{
"type": "Value",
"type": "Value",
"count": 275,

@@ -1085,3 +1092,3 @@ "value": "Black"

{
"type": "Value",
"type": "Value",
"count": 51,

@@ -1091,3 +1098,3 @@ "value": "Blonde"

{
"type": "Value",
"type": "Value",
"count": 69,

@@ -1097,3 +1104,3 @@ "value": "Blue"

{
"type": "Value",
"type": "Value",
"count": 4,

@@ -1103,3 +1110,3 @@ "value": "Bronze"

{
"type": "Value",
"type": "Value",
"count": 487,

@@ -1109,3 +1116,3 @@ "value": "Brown"

{
"type": "Value",
"type": "Value",
"count": 23,

@@ -1115,3 +1122,3 @@ "value": "Gold"

{
"type": "Value",
"type": "Value",
"count": 47,

@@ -1121,3 +1128,3 @@ "value": "Green"

{
"type": "Value",
"type": "Value",
"count": 4,

@@ -1127,3 +1134,3 @@ "value": "Grey"

{
"type": "Value",
"type": "Value",
"count": 4,

@@ -1133,3 +1140,3 @@ "value": "Nude"

{
"type": "Value",
"type": "Value",
"count": 46,

@@ -1139,3 +1146,3 @@ "value": "Orange"

{
"type": "Value",
"type": "Value",
"count": 188,

@@ -1145,3 +1152,3 @@ "value": "Pink"

{
"type": "Value",
"type": "Value",
"count": 95,

@@ -1151,3 +1158,3 @@ "value": "Purple"

{
"type": "Value",
"type": "Value",
"count": 154,

@@ -1157,3 +1164,3 @@ "value": "Red"

{
"type": "Value",
"type": "Value",
"count": 9,

@@ -1163,3 +1170,3 @@ "value": "Silver"

{
"type": "Value",
"type": "Value",
"count": 16,

@@ -1169,14 +1176,14 @@ "value": "Yellow "

],
"metadata": [],
"range": false,
"or": true
"metadata": [],
"range": false,
"or": true
},
{
"name": "child.PRODUCT_SIZE",
"displayName": "Size",
"type": "Value",
"name": "child.PRODUCT_SIZE",
"displayName": "Size",
"type": "Value",
"moreRefinements": true,
"refinements": [
"refinements": [
{
"type": "Value",
"type": "Value",
"count": 12323,

@@ -1186,3 +1193,3 @@ "value": "1 CT"

{
"type": "Value",
"type": "Value",
"count": 4643,

@@ -1192,3 +1199,3 @@ "value": "1 EA"

{
"type": "Value",
"type": "Value",
"count": 1675,

@@ -1198,3 +1205,3 @@ "value": "25 CT"

{
"type": "Value",
"type": "Value",
"count": 1501,

@@ -1204,3 +1211,3 @@ "value": "3.4 OZ"

{
"type": "Value",
"type": "Value",
"count": 1489,

@@ -1210,3 +1217,3 @@ "value": "1 OZ"

{
"type": "Value",
"type": "Value",
"count": 1326,

@@ -1216,3 +1223,3 @@ "value": "10 CT"

{
"type": "Value",
"type": "Value",
"count": 1258,

@@ -1222,3 +1229,3 @@ "value": "100 CT"

{
"type": "Value",
"type": "Value",
"count": 1159,

@@ -1228,3 +1235,3 @@ "value": "4 OZ"

{
"type": "Value",
"type": "Value",
"count": 1145,

@@ -1234,3 +1241,3 @@ "value": "1.7 OZ"

{
"type": "Value",
"type": "Value",
"count": 997,

@@ -1240,3 +1247,3 @@ "value": "8 OZ"

{
"type": "Value",
"type": "Value",
"count": 989,

@@ -1246,3 +1253,3 @@ "value": "2 OZ"

{
"type": "Value",
"type": "Value",
"count": 810,

@@ -1252,3 +1259,3 @@ "value": "16 OZ"

{
"type": "Value",
"type": "Value",
"count": 787,

@@ -1258,3 +1265,3 @@ "value": "60 CT"

{
"type": "Value",
"type": "Value",
"count": 736,

@@ -1264,3 +1271,3 @@ "value": "12 CT"

{
"type": "Value",
"type": "Value",
"count": 729,

@@ -1270,3 +1277,3 @@ "value": "50 CT"

{
"type": "Value",
"type": "Value",
"count": 722,

@@ -1276,3 +1283,3 @@ "value": "5 CT"

{
"type": "Value",
"type": "Value",
"count": 637,

@@ -1282,3 +1289,3 @@ "value": ".5 OZ"

{
"type": "Value",
"type": "Value",
"count": 625,

@@ -1288,3 +1295,3 @@ "value": "2.5 OZ"

{
"type": "Value",
"type": "Value",
"count": 564,

@@ -1294,3 +1301,3 @@ "value": "12 OZ"

{
"type": "Value",
"type": "Value",
"count": 561,

@@ -1300,59 +1307,59 @@ "value": "6 OZ"

],
"metadata": [],
"range": false,
"or": true
"metadata": [],
"range": false,
"or": true
},
{
"name": "child.PRODUCT_PRICE",
"name": "child.PRODUCT_PRICE",
"displayName": "Price",
"type": "Range",
"type": "Range",
"refinements": [
{
"type": "Range",
"type": "Range",
"count": 6445,
"high": "5",
"low": "0"
"high": "5",
"low": "0"
},
{
"type": "Range",
"type": "Range",
"count": 10549,
"high": "10",
"low": "5"
"high": "10",
"low": "5"
},
{
"type": "Range",
"type": "Range",
"count": 7406,
"high": "15",
"low": "10"
"high": "15",
"low": "10"
},
{
"type": "Range",
"type": "Range",
"count": 6768,
"high": "20",
"low": "15"
"high": "20",
"low": "15"
},
{
"type": "Range",
"type": "Range",
"count": 4391,
"high": "25",
"low": "20"
"high": "25",
"low": "20"
},
{
"type": "Range",
"type": "Range",
"count": 22752,
"high": "10000",
"low": "25"
"high": "10000",
"low": "25"
}
],
"metadata": [],
"range": true,
"or": false
"metadata": [],
"range": true,
"or": false
},
{
"name": "gbietl_product_rating_buckets",
"name": "gbietl_product_rating_buckets",
"displayName": "Reviews",
"type": "Value",
"type": "Value",
"refinements": [
{
"type": "Value",
"type": "Value",
"count": 7545,

@@ -1362,3 +1369,3 @@ "value": "1"

{
"type": "Value",
"type": "Value",
"count": 7199,

@@ -1368,3 +1375,3 @@ "value": "2"

{
"type": "Value",
"type": "Value",
"count": 6837,

@@ -1374,3 +1381,3 @@ "value": "3"

{
"type": "Value",
"type": "Value",
"count": 5871,

@@ -1380,13 +1387,13 @@ "value": "4"

],
"metadata": [],
"range": false,
"or": false
"metadata": [],
"range": false,
"or": false
},
{
"name": "child.gbietl_semantic_tags",
"name": "child.gbietl_semantic_tags",
"displayName": "Semantic Tags",
"type": "Value",
"type": "Value",
"refinements": [
{
"type": "Value",
"type": "Value",
"count": 118,

@@ -1396,13 +1403,13 @@ "value": "easy to swallow"

],
"metadata": [],
"range": false,
"or": false
"metadata": [],
"range": false,
"or": false
},
{
"name": "child.gbietl_sku_active_ingredients",
"name": "child.gbietl_sku_active_ingredients",
"displayName": "Active Ingredients",
"type": "Value",
"type": "Value",
"refinements": [
{
"type": "Value",
"type": "Value",
"count": 743,

@@ -1412,3 +1419,3 @@ "value": "yellow 6"

{
"type": "Value",
"type": "Value",
"count": 204,

@@ -1418,3 +1425,3 @@ "value": "acetaminophen"

{
"type": "Value",
"type": "Value",
"count": 154,

@@ -1424,3 +1431,3 @@ "value": "phenylephrine"

{
"type": "Value",
"type": "Value",
"count": 101,

@@ -1430,3 +1437,3 @@ "value": "diphenhydramine"

{
"type": "Value",
"type": "Value",
"count": 93,

@@ -1436,3 +1443,3 @@ "value": "guaifenesin"

{
"type": "Value",
"type": "Value",
"count": 57,

@@ -1442,3 +1449,3 @@ "value": "ibuprofen"

{
"type": "Value",
"type": "Value",
"count": 55,

@@ -1448,28 +1455,28 @@ "value": "aspirin"

],
"metadata": [],
"range": false,
"or": false
"metadata": [],
"range": false,
"or": false
}
],
"selectedNavigation": [],
"records": [
"selectedNavigation": [],
"records": [
{
"collection": "products2",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"gbietl_product_rating_buckets": [],
"category1": "Personal Care",
"title": "CVS Travel Toothbrush With Colgate Toothpaste",
"child": [
"category1": "Personal Care",
"title": "CVS Travel Toothbrush With Colgate Toothpaste",
"child": [
{
"CUSTOMER_PRICE": "1.99",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "1",
"PRODCUT_AVAILABILITY": "Available",
"id": "234381",
"PRODUCT_SIZE": "1 EA",
"PRODUCT_SHORTNAME": "CVS Travel Toothbrush With Colgate Toothpaste",
"PRODUCT_UPCNUMBER": "5042804753",
"DEFAULT_SKU_IMAGE": "m667511",
"CUSTOMER_PRICE": "1.99",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "1",
"PRODCUT_AVAILABILITY": "Available",
"id": "234381",
"PRODUCT_SIZE": "1 EA",
"PRODUCT_SHORTNAME": "CVS Travel Toothbrush With Colgate Toothpaste",
"PRODUCT_UPCNUMBER": "5042804753",
"DEFAULT_SKU_IMAGE": "m667511",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"

@@ -1479,43 +1486,43 @@ }

},
"_id": "01715b58c5a82069eb1cf72e6e7a8f3d",
"_u": "http://gbipoccvspilot1products2.com/234381",
"_t": "CVS Travel Toothbrush With Colgate Toothpaste"
"_id": "01715b58c5a82069eb1cf72e6e7a8f3d",
"_u": "http://gbipoccvspilot1products2.com/234381",
"_t": "CVS Travel Toothbrush With Colgate Toothpaste"
},
{
"collection": "products2",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"gbietl_product_rating_buckets": [
1
],
"category1": "Personal Care",
"title": "CVS Sensitive Toothpaste With Fluoride Extra Whitening",
"child": [
"category1": "Personal Care",
"title": "CVS Sensitive Toothpaste With Fluoride Extra Whitening",
"child": [
{
"CUSTOMER_PRICE": "4.99",
"CUSTOMER_PRICE": "4.99",
"gbietl_sku_rating_rounded_0": 1,
"PRODCUT_AVAILABILITY": "Available",
"PRODUCT_SIZE": "4 OZ",
"PRODUCT_SHORTNAME": "CVS Sensitive Toothpaste With Fluoride Extra Whitening",
"PRODUCT_REVIEW": "1",
"PRODUCT_RATING": "1",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "4",
"id": "307117",
"PRODUCT_UPCNUMBER": "5042807070",
"DEFAULT_SKU_IMAGE": "m654956",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"
"PRODCUT_AVAILABILITY": "Available",
"PRODUCT_SIZE": "4 OZ",
"PRODUCT_SHORTNAME": "CVS Sensitive Toothpaste With Fluoride Extra Whitening",
"PRODUCT_REVIEW": "1",
"PRODUCT_RATING": "1",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "4",
"id": "307117",
"PRODUCT_UPCNUMBER": "5042807070",
"DEFAULT_SKU_IMAGE": "m654956",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"
}
]
},
"_id": "e58d0a46807a30e1521f0ba3cd184138",
"_u": "http://gbipoccvspilot1products2.com/307117",
"_t": "CVS Sensitive Toothpaste With Fluoride Extra Whitening"
"_id": "e58d0a46807a30e1521f0ba3cd184138",
"_u": "http://gbipoccvspilot1products2.com/307117",
"_t": "CVS Sensitive Toothpaste With Fluoride Extra Whitening"
},
{
"collection": "products2",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"gbietl_product_rating_buckets": [

@@ -1526,31 +1533,31 @@ 1,

],
"category1": "Personal Care",
"title": "CVS Maximum Strength Sensitive Toothpaste with Fluoride, Fresh Mint",
"child": [
"category1": "Personal Care",
"title": "CVS Maximum Strength Sensitive Toothpaste with Fluoride, Fresh Mint",
"child": [
{
"CUSTOMER_PRICE": "4.99",
"CUSTOMER_PRICE": "4.99",
"gbietl_sku_rating_rounded_0": 3,
"PRODCUT_AVAILABILITY": "Available",
"PRODUCT_SIZE": "4 OZ",
"PRODUCT_SHORTNAME": "CVS Maximum Strength Sensitive Toothpaste with Fluoride, Fresh Mint",
"PRODUCT_REVIEW": "3",
"PRODUCT_RATING": "3.3333",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "4",
"id": "307118",
"PRODUCT_UPCNUMBER": "5042807071",
"DEFAULT_SKU_IMAGE": "m654959",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"
"PRODCUT_AVAILABILITY": "Available",
"PRODUCT_SIZE": "4 OZ",
"PRODUCT_SHORTNAME": "CVS Maximum Strength Sensitive Toothpaste with Fluoride, Fresh Mint",
"PRODUCT_REVIEW": "3",
"PRODUCT_RATING": "3.3333",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "4",
"id": "307118",
"PRODUCT_UPCNUMBER": "5042807071",
"DEFAULT_SKU_IMAGE": "m654959",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"
}
]
},
"_id": "dfbdab08437bc562ffc32a7ab098ac34",
"_u": "http://gbipoccvspilot1products2.com/307118",
"_t": "CVS Maximum Strength Sensitive Toothpaste with Fluoride, Fresh Mint"
"_id": "dfbdab08437bc562ffc32a7ab098ac34",
"_u": "http://gbipoccvspilot1products2.com/307118",
"_t": "CVS Maximum Strength Sensitive Toothpaste with Fluoride, Fresh Mint"
},
{
"collection": "products2",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"gbietl_product_rating_buckets": [

@@ -1562,31 +1569,31 @@ 1,

],
"category1": "Personal Care",
"title": "CVS Enamel Guard Toothpaste for Sensitive Teeth",
"child": [
"category1": "Personal Care",
"title": "CVS Enamel Guard Toothpaste for Sensitive Teeth",
"child": [
{
"CUSTOMER_PRICE": "4.99",
"CUSTOMER_PRICE": "4.99",
"gbietl_sku_rating_rounded_0": 5,
"PRODCUT_AVAILABILITY": "Available",
"PRODUCT_SIZE": "4 OZ",
"PRODUCT_SHORTNAME": "CVS Enamel Guard Toothpaste for Sensitive Teeth",
"PRODUCT_REVIEW": "1",
"PRODUCT_RATING": "5",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "4",
"id": "469084",
"PRODUCT_UPCNUMBER": "5042813564",
"DEFAULT_SKU_IMAGE": "m1100276",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"
"PRODCUT_AVAILABILITY": "Available",
"PRODUCT_SIZE": "4 OZ",
"PRODUCT_SHORTNAME": "CVS Enamel Guard Toothpaste for Sensitive Teeth",
"PRODUCT_REVIEW": "1",
"PRODUCT_RATING": "5",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "4",
"id": "469084",
"PRODUCT_UPCNUMBER": "5042813564",
"DEFAULT_SKU_IMAGE": "m1100276",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"
}
]
},
"_id": "be0a0d57285af0ac6d44e2ef2481f6be",
"_u": "http://gbipoccvspilot1products2.com/469084",
"_t": "CVS Enamel Guard Toothpaste for Sensitive Teeth"
"_id": "be0a0d57285af0ac6d44e2ef2481f6be",
"_u": "http://gbipoccvspilot1products2.com/469084",
"_t": "CVS Enamel Guard Toothpaste for Sensitive Teeth"
},
{
"collection": "products2",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"gbietl_product_rating_buckets": [

@@ -1598,31 +1605,31 @@ 1,

],
"category1": "Personal Care",
"title": "CVS Health HD Xtreme White Fluoride Anti-Cavity Whitening Toothpaste, Cool Mint",
"child": [
"category1": "Personal Care",
"title": "CVS Health HD Xtreme White Fluoride Anti-Cavity Whitening Toothpaste, Cool Mint",
"child": [
{
"CUSTOMER_PRICE": "3.69",
"CUSTOMER_PRICE": "3.69",
"gbietl_sku_rating_rounded_0": 4,
"PRODCUT_AVAILABILITY": "Available",
"PRODUCT_SIZE": "5.8 OZ",
"PRODUCT_SHORTNAME": "CVS Health HD Xtreme White Fluoride Anti-Cavity Whitening Toothpaste, Cool Mint",
"PRODUCT_REVIEW": "3",
"PRODUCT_RATING": "4.6667",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "5.8",
"id": "897731",
"PRODUCT_UPCNUMBER": "5042845585",
"DEFAULT_SKU_IMAGE": "m2680035",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"
"PRODCUT_AVAILABILITY": "Available",
"PRODUCT_SIZE": "5.8 OZ",
"PRODUCT_SHORTNAME": "CVS Health HD Xtreme White Fluoride Anti-Cavity Whitening Toothpaste, Cool Mint",
"PRODUCT_REVIEW": "3",
"PRODUCT_RATING": "4.6667",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "5.8",
"id": "897731",
"PRODUCT_UPCNUMBER": "5042845585",
"DEFAULT_SKU_IMAGE": "m2680035",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"
}
]
},
"_id": "cc3736fee1a0d0cd2db084c97109a5aa",
"_u": "http://gbipoccvspilot1products2.com/897731",
"_t": "CVS Health HD Xtreme White Fluoride Anti-Cavity Whitening Toothpaste, Cool Mint"
"_id": "cc3736fee1a0d0cd2db084c97109a5aa",
"_u": "http://gbipoccvspilot1products2.com/897731",
"_t": "CVS Health HD Xtreme White Fluoride Anti-Cavity Whitening Toothpaste, Cool Mint"
},
{
"collection": "products2",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"gbietl_product_rating_buckets": [

@@ -1634,45 +1641,45 @@ 1,

],
"category1": "Personal Care",
"title": "CVS Enamel Guard Daily Anti-Cavity Toothpaste with Fluoride, Alpine Mint",
"child": [
"category1": "Personal Care",
"title": "CVS Enamel Guard Daily Anti-Cavity Toothpaste with Fluoride, Alpine Mint",
"child": [
{
"CUSTOMER_PRICE": "4.99",
"CUSTOMER_PRICE": "4.99",
"gbietl_sku_rating_rounded_0": 5,
"PRODCUT_AVAILABILITY": "Available",
"PRODUCT_SIZE": "4 OZ",
"PRODUCT_SHORTNAME": "CVS Enamel Guard Daily Anti-Cavity Toothpaste with Fluoride, Alpine Mint",
"PRODUCT_REVIEW": "1",
"PRODUCT_RATING": "5",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "4",
"id": "897738",
"PRODUCT_UPCNUMBER": "5042845716",
"DEFAULT_SKU_IMAGE": "m2680013",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"
"PRODCUT_AVAILABILITY": "Available",
"PRODUCT_SIZE": "4 OZ",
"PRODUCT_SHORTNAME": "CVS Enamel Guard Daily Anti-Cavity Toothpaste with Fluoride, Alpine Mint",
"PRODUCT_REVIEW": "1",
"PRODUCT_RATING": "5",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "4",
"id": "897738",
"PRODUCT_UPCNUMBER": "5042845716",
"DEFAULT_SKU_IMAGE": "m2680013",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"
}
]
},
"_id": "f7c02374431a00695d14cdb7e49577e6",
"_u": "http://gbipoccvspilot1products2.com/897738",
"_t": "CVS Enamel Guard Daily Anti-Cavity Toothpaste with Fluoride, Alpine Mint"
"_id": "f7c02374431a00695d14cdb7e49577e6",
"_u": "http://gbipoccvspilot1products2.com/897738",
"_t": "CVS Enamel Guard Daily Anti-Cavity Toothpaste with Fluoride, Alpine Mint"
},
{
"collection": "products2",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"gbietl_product_rating_buckets": [],
"category1": "Personal Care",
"title": "CVS Reflective White Anticavity + Whitening Power Toothpaste, Dazzling Mint",
"child": [
"category1": "Personal Care",
"title": "CVS Reflective White Anticavity + Whitening Power Toothpaste, Dazzling Mint",
"child": [
{
"CUSTOMER_PRICE": "3.59",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "4",
"PRODCUT_AVAILABILITY": "Available",
"id": "909057",
"PRODUCT_SIZE": "4 OZ",
"PRODUCT_SHORTNAME": "CVS Reflective White Anticavity + Whitening Power Toothpaste, Dazzling Mint",
"PRODUCT_UPCNUMBER": "5042845708",
"DEFAULT_SKU_IMAGE": "m2950419",
"CUSTOMER_PRICE": "3.59",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "4",
"PRODCUT_AVAILABILITY": "Available",
"id": "909057",
"PRODUCT_SIZE": "4 OZ",
"PRODUCT_SHORTNAME": "CVS Reflective White Anticavity + Whitening Power Toothpaste, Dazzling Mint",
"PRODUCT_UPCNUMBER": "5042845708",
"DEFAULT_SKU_IMAGE": "m2950419",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"

@@ -1682,11 +1689,11 @@ }

},
"_id": "cfb7c606b9c9e8ee1a191fc11c4c4c80",
"_u": "http://gbipoccvspilot1products2.com/909057",
"_t": "CVS Reflective White Anticavity + Whitening Power Toothpaste, Dazzling Mint"
"_id": "cfb7c606b9c9e8ee1a191fc11c4c4c80",
"_u": "http://gbipoccvspilot1products2.com/909057",
"_t": "CVS Reflective White Anticavity + Whitening Power Toothpaste, Dazzling Mint"
},
{
"collection": "products2",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"gbietl_product_rating_buckets": [

@@ -1697,45 +1704,45 @@ 1,

],
"category1": "Personal Care",
"title": "CVS Interdental Brushes",
"child": [
"category1": "Personal Care",
"title": "CVS Interdental Brushes",
"child": [
{
"CUSTOMER_PRICE": "4.99",
"CUSTOMER_PRICE": "4.99",
"gbietl_sku_rating_rounded_0": 3,
"PRODCUT_AVAILABILITY": "Available",
"PRODUCT_SIZE": "16 EA",
"PRODUCT_SHORTNAME": "CVS Interdental Brushes",
"PRODUCT_REVIEW": "2",
"PRODUCT_RATING": "3.5",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "16",
"id": "933823",
"PRODUCT_UPCNUMBER": "5042846393",
"DEFAULT_SKU_IMAGE": "m3640199",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"
"PRODCUT_AVAILABILITY": "Available",
"PRODUCT_SIZE": "16 EA",
"PRODUCT_SHORTNAME": "CVS Interdental Brushes",
"PRODUCT_REVIEW": "2",
"PRODUCT_RATING": "3.5",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "16",
"id": "933823",
"PRODUCT_UPCNUMBER": "5042846393",
"DEFAULT_SKU_IMAGE": "m3640199",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"
}
]
},
"_id": "8512e75372e3c272fa38941ed7ab6734",
"_u": "http://gbipoccvspilot1products2.com/933823",
"_t": "CVS Interdental Brushes"
"_id": "8512e75372e3c272fa38941ed7ab6734",
"_u": "http://gbipoccvspilot1products2.com/933823",
"_t": "CVS Interdental Brushes"
},
{
"collection": "products2",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"gbietl_product_rating_buckets": [],
"category1": "Personal Care",
"title": "CVS Health Repair and Protect Toothpaste, 3.4 OZ",
"child": [
"category1": "Personal Care",
"title": "CVS Health Repair and Protect Toothpaste, 3.4 OZ",
"child": [
{
"CUSTOMER_PRICE": "4.99",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "3.4",
"PRODCUT_AVAILABILITY": "Available",
"id": "571448",
"PRODUCT_SIZE": "3.4 OZ",
"PRODUCT_SHORTNAME": "CVS Health Repair and Protect Toothpaste, 3.4 OZ",
"PRODUCT_UPCNUMBER": "5042853549",
"DEFAULT_SKU_IMAGE": "m5381431",
"CUSTOMER_PRICE": "4.99",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "3.4",
"PRODCUT_AVAILABILITY": "Available",
"id": "571448",
"PRODUCT_SIZE": "3.4 OZ",
"PRODUCT_SHORTNAME": "CVS Health Repair and Protect Toothpaste, 3.4 OZ",
"PRODUCT_UPCNUMBER": "5042853549",
"DEFAULT_SKU_IMAGE": "m5381431",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"

@@ -1745,25 +1752,25 @@ }

},
"_id": "fc499908d2d1802269ad0ec1c705ad9f",
"_u": "http://gbipoccvspilot1products2.com/1090042",
"_t": "CVS Health Repair and Protect Toothpaste, 3.4 OZ"
"_id": "fc499908d2d1802269ad0ec1c705ad9f",
"_u": "http://gbipoccvspilot1products2.com/1090042",
"_t": "CVS Health Repair and Protect Toothpaste, 3.4 OZ"
},
{
"collection": "products2",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"gbietl_product_rating_buckets": [],
"category1": "Personal Care",
"title": "CVS Health Gentle Dry Mouth Anticavity Toothpaste with Fluoride Fresh Mint, 4.3 OZ",
"child": [
"category1": "Personal Care",
"title": "CVS Health Gentle Dry Mouth Anticavity Toothpaste with Fluoride Fresh Mint, 4.3 OZ",
"child": [
{
"CUSTOMER_PRICE": "6.99",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "4.3",
"PRODCUT_AVAILABILITY": "Available",
"id": "571463",
"PRODUCT_SIZE": "4.3 OZ",
"PRODUCT_SHORTNAME": "CVS Health Gentle Dry Mouth Anticavity Toothpaste with Fluoride Fresh Mint, 4.3 OZ",
"PRODUCT_UPCNUMBER": "5042853488",
"DEFAULT_SKU_IMAGE": "m5381425",
"CUSTOMER_PRICE": "6.99",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "4.3",
"PRODCUT_AVAILABILITY": "Available",
"id": "571463",
"PRODUCT_SIZE": "4.3 OZ",
"PRODUCT_SHORTNAME": "CVS Health Gentle Dry Mouth Anticavity Toothpaste with Fluoride Fresh Mint, 4.3 OZ",
"PRODUCT_UPCNUMBER": "5042853488",
"DEFAULT_SKU_IMAGE": "m5381425",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"

@@ -1773,25 +1780,25 @@ }

},
"_id": "0ba64947b8023c519f567301627302b9",
"_u": "http://gbipoccvspilot1products2.com/1090043",
"_t": "CVS Health Gentle Dry Mouth Anticavity Toothpaste with Fluoride Fresh Mint, 4.3 OZ"
"_id": "0ba64947b8023c519f567301627302b9",
"_u": "http://gbipoccvspilot1products2.com/1090043",
"_t": "CVS Health Gentle Dry Mouth Anticavity Toothpaste with Fluoride Fresh Mint, 4.3 OZ"
},
{
"collection": "products2",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"gbietl_product_rating_buckets": [],
"category1": "Personal Care",
"title": "CVS Health Sensitive Enamel Guard Daily Anti-Cavity Toothpaste With Fluoride, 2CT",
"child": [
"category1": "Personal Care",
"title": "CVS Health Sensitive Enamel Guard Daily Anti-Cavity Toothpaste With Fluoride, 2CT",
"child": [
{
"CUSTOMER_PRICE": "8.99",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "8.0",
"PRODCUT_AVAILABILITY": "Available",
"id": "903500",
"PRODUCT_SIZE": "2 CT",
"PRODUCT_SHORTNAME": "CVS Health Sensitive Enamel Guard Daily Anti-Cavity Toothpaste With Fluoride, 2CT",
"PRODUCT_UPCNUMBER": "5042853705",
"DEFAULT_SKU_IMAGE": "m5425045",
"CUSTOMER_PRICE": "8.99",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "8.0",
"PRODCUT_AVAILABILITY": "Available",
"id": "903500",
"PRODUCT_SIZE": "2 CT",
"PRODUCT_SHORTNAME": "CVS Health Sensitive Enamel Guard Daily Anti-Cavity Toothpaste With Fluoride, 2CT",
"PRODUCT_UPCNUMBER": "5042853705",
"DEFAULT_SKU_IMAGE": "m5425045",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"

@@ -1801,25 +1808,25 @@ }

},
"_id": "539fb4c0a28d3044a48305ec0a4fec79",
"_u": "http://gbipoccvspilot1products2.com/1090372",
"_t": "CVS Health Sensitive Enamel Guard Daily Anti-Cavity Toothpaste With Fluoride, 2CT"
"_id": "539fb4c0a28d3044a48305ec0a4fec79",
"_u": "http://gbipoccvspilot1products2.com/1090372",
"_t": "CVS Health Sensitive Enamel Guard Daily Anti-Cavity Toothpaste With Fluoride, 2CT"
},
{
"collection": "products2",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"allMeta": {
"category2": "Oral Care",
"category3": "Toothpaste",
"gbietl_product_rating_buckets": [],
"category1": "Personal Care",
"title": "CVS Health Maximum Strength Sensitive Toothpaste With Fluoride, 2CT",
"child": [
"category1": "Personal Care",
"title": "CVS Health Maximum Strength Sensitive Toothpaste With Fluoride, 2CT",
"child": [
{
"CUSTOMER_PRICE": "8.99",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "8.0",
"PRODCUT_AVAILABILITY": "Available",
"id": "903468",
"PRODUCT_SIZE": "2 CT",
"PRODUCT_SHORTNAME": "CVS Health Maximum Strength Sensitive Toothpaste With Fluoride, 2CT",
"PRODUCT_UPCNUMBER": "5042853583",
"DEFAULT_SKU_IMAGE": "m5425049",
"CUSTOMER_PRICE": "8.99",
"PRODUCT_BRAND": "CVS/pharmacy",
"UNIT_PRICE_MEASAMT": "8.0",
"PRODCUT_AVAILABILITY": "Available",
"id": "903468",
"PRODUCT_SIZE": "2 CT",
"PRODUCT_SHORTNAME": "CVS Health Maximum Strength Sensitive Toothpaste With Fluoride, 2CT",
"PRODUCT_UPCNUMBER": "5042853583",
"DEFAULT_SKU_IMAGE": "m5425049",
"PRODUCT_SUBCATEGORYNAME": "Toothpaste"

@@ -1829,16 +1836,16 @@ }

},
"_id": "a0d029ee713442be98b56e6b82ba8916",
"_u": "http://gbipoccvspilot1products2.com/1090401",
"_t": "CVS Health Maximum Strength Sensitive Toothpaste With Fluoride, 2CT"
"_id": "a0d029ee713442be98b56e6b82ba8916",
"_u": "http://gbipoccvspilot1products2.com/1090401",
"_t": "CVS Health Maximum Strength Sensitive Toothpaste With Fluoride, 2CT"
}
],
"didYouMean": [],
"siteParams": [],
"originalRequest": {
"didYouMean": [],
"siteParams": [],
"originalRequest": {
"collection": "products2",
"area": "ProductionSemanticDemo",
"query": "",
"skip": 0,
"pageSize": 12,
"sort": [
"area": "ProductionSemanticDemo",
"query": "",
"skip": 0,
"pageSize": 12,
"sort": [
{

@@ -1849,3 +1856,3 @@ "field": "_relevance",

],
"fields": [
"fields": [
"child.CUSTOMER_PRICE",

@@ -1873,7 +1880,7 @@ "child.PRODUCT_SHORTNAME",

},
"relatedQueries": [],
"rewrites": [],
"origin": {},
"query": "something"
"relatedQueries": [],
"rewrites": [],
"origin": {},
"query": "something"
}
};

@@ -184,3 +184,3 @@ const chai = require('chai');

it('should reject invalid viewProduct event missing category', (done) => {
it('should NOT reject viewProduct event missing category', (done) => {
const gbTrackerCore = new GbTrackerCore('testcustomer', 'area');

@@ -193,3 +193,12 @@

done('fail');
expect(event.product).to.eql({
productId: 'asdfasd',
// category: 'boats',
collection: 'boatssrus',
title: 'boats',
sku: 'asdfasf98',
price: 100.21
});
done();
};

@@ -200,4 +209,3 @@

gbTrackerCore.setInvalidEventCallback((event, error) => {
expect(error).to.match(/category: is missing/);
done();
done('fail');
});

@@ -204,0 +212,0 @@ gbTrackerCore.sendViewProductEvent({

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc