Skip to content

Commit e1d15ca

Browse files
authored
Revert "[STAGE] Stratconn-2841 (#772)"
This reverts commit 2a89693.
1 parent 2a89693 commit e1d15ca

File tree

7 files changed

+10
-22
lines changed

7 files changed

+10
-22
lines changed

integrations/madkudu/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ var integration = require('@segment/analytics.js-integration');
1010
* UMD?
1111
*/
1212

13-
var umd = typeof window.define === 'function' && window.define.amd && window.require;
13+
var umd = typeof window.define === 'function' && window.define.amd;
1414

1515
/**
1616
* Expose `Madkudu` integration.

integrations/madkudu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@segment/analytics.js-integration-madkudu",
33
"description": "The Madkudu analytics.js integration.",
4-
"version": "2.0.2",
4+
"version": "2.0.1",
55
"keywords": [
66
"analytics.js",
77
"analytics.js-integration",

integrations/pinterest-tag/lib/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,7 @@ Pinterest.prototype.createPropertyMapping = function() {
117117
order_id: 'order_id',
118118
coupon: 'coupon',
119119
value: 'value',
120-
currency: 'currency',
121-
messageId: 'event_id'
120+
currency: 'currency'
122121
};
123122

124123
// This is a second map to allow us to loop over specific potentially-nested properties.
@@ -141,8 +140,6 @@ Pinterest.prototype.createPropertyMapping = function() {
141140

142141
Pinterest.prototype.generatePropertiesObject = function(track) {
143142
// Generate the properties object to send with the call.
144-
console.log({"segmentEvent": segmentEvent, "pinterestEvent": pinterestEvent, "pinterestObject": pinterestObject});
145-
146143
var pinterestProps = {};
147144
var trackValue;
148145
for (var prop in this.propertyMap) {

integrations/pinterest-tag/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@segment/analytics.js-integration-pinterest-tag",
33
"description": "The Pinterest Tag analytics.js integration.",
4-
"version": "1.2.4",
4+
"version": "1.2.3",
55
"keywords": [
66
"analytics.js",
77
"analytics.js-integration",

integrations/walkme/lib/index.js

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ WalkMe.prototype.initialize = function() {
4040

4141
var env = (this.options.environment && this.options.environment.toLowerCase());
4242

43-
if (env === "/" || env === "/production") {
43+
if (!env || env == "\/" || env == "\/production") {
4444
env = "";
4545
}
4646

@@ -67,25 +67,16 @@ WalkMe.prototype.initialize = function() {
6767
if (this.options.integrityHash) {
6868
sriSuffix = 'private_';
6969
}
70-
70+
7171
var bucket = (this.options.customDirectory) ? this.options.customDirectory : 'users';
7272
var url = 'https://cdn.walkme.com/' + bucket + '/' + walkMeSystemId + '/' + env + '/walkme_' + sriSuffix + walkMeSystemId + '_https.js';
7373

74-
75-
var payload = {
74+
this.load({
7675
url,
7776
hash: this.options.integrityHash
78-
};
79-
80-
this.initializeTester(payload);
81-
this.load(payload);
77+
});
8278
};
8379

84-
/**
85-
* Used for testing initialization
86-
*/
87-
WalkMe.prototype.initializeTester = function () {};
88-
8980
/**
9081
* Has the WalkMe library been loaded yet?
9182
*

integrations/walkme/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@walkme/analytics.js-integration-walkme",
33
"description": "The WalkMe analytics.js integration.",
4-
"version": "1.2.1",
4+
"version": "1.1.0",
55
"keywords": [
66
"analytics.js",
77
"analytics.js-integration",

integrations/walkme/test/index.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,4 +238,4 @@ describe('WalkMe', function() {
238238
}).timeout(10000);
239239
});
240240
});
241-
});
241+
});

0 commit comments

Comments
 (0)