deep-link-web-tracker
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -1,1 +0,1 @@ | ||
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(); | ||
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(JSON.stringify({ems_dl:t[1]}))};track(); |
@@ -18,3 +18,3 @@ module.exports = function() { | ||
xhr.send({ ems_dl: emsDl[1]}); | ||
xhr.send(JSON.stringify({ ems_dl: emsDl[1]})); | ||
}; |
{ | ||
"name": "deep-link-web-tracker", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"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
4870