deep-link-web-tracker
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -1,1 +0,1 @@ | ||
var track=function(){if(-1!==location.search.indexOf("ems_dl")){var e=location.search.search(/[\?|&]ems_dl=/),s=location.search.substr(e+1).split("&")[0].split("="),t=new XMLHttpRequest;t.open("POST","https://deep-link.eservice.emarsys.net/api/clicks"),t.setRequestHeader("Content-Type","application/json"),t.send({ems_dl:s[1]})}},track(); | ||
var track=function(){if(location.search.indexOf("ems_dl")===-1){return}var e=location.search.search(/[\?|&]ems_dl=/);var s=location.search.substr(e+1).split("&");var t=s[0].split("=");var a=new XMLHttpRequest;a.open("POST","https://deep-link.eservice.emarsys.net/api/clicks");a.setRequestHeader("Content-Type","application/json");a.send({ems_dl:t[1]})};track(); |
@@ -12,3 +12,5 @@ var gulp = require('gulp'); | ||
return gulp.src('build.js') | ||
.pipe(uglify()) | ||
.pipe(uglify({ | ||
compress:false | ||
})) | ||
.pipe(rename({ | ||
@@ -15,0 +17,0 @@ suffix: '.min' |
{ | ||
"name": "deep-link-web-tracker", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Deep Link Web Tracker", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4838
98