File tree Expand file tree Collapse file tree 7 files changed +10
-22
lines changed Expand file tree Collapse file tree 7 files changed +10
-22
lines changed Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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
142141Pinterest . 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 ) {
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff 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 *
Original file line number Diff line number Diff line change 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" ,
Original file line number Diff line number Diff line change @@ -238,4 +238,4 @@ describe('WalkMe', function() {
238238 } ) . timeout ( 10000 ) ;
239239 } ) ;
240240 } ) ;
241- } ) ;
241+ } ) ;
You can’t perform that action at this time.
0 commit comments