@abtasty/scroll-tracking
Advanced tools
Comparing version 3.1.2 to 3.1.3-0
@@ -1,1 +0,1 @@ | ||
!function(){"use strict";var e=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];e.unshift("[AB Tasty Widget] "+PACKAGE+":"),console.log.apply(console,e)},t=DATA.engagementGoal;window.checkScrollGoals=function(){var n=100*(document.body.scrollTop||document.documentElement.scrollTop)/(Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)-window.innerHeight);t.forEach(function(o,c){var l=o.percentage;if(n>=l){var i=o.name;t.splice(c,1),TEST_ID>0?(window.ABTastyEvent(i,null,TEST_ID),e('Engagement goal "'+i+'" sent to test '+TEST_ID+".")):e("Needs ID of the test.")}})},function(e,t){window.addEventListener(e,t)}("scroll",window.checkScrollGoals)}(); | ||
!function(){"use strict";var e=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];e.unshift("[AB Tasty Widget] "+PACKAGE+":"),console.log.apply(console,e)},t=DATA.engagementGoal;window.checkScrollGoals=function(){var n=100*(document.body.scrollTop||document.documentElement.scrollTop)/(Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)-window.innerHeight);t.forEach(function(o,c){var l=o.percentage;if(n>=l){var i=o.name;t.splice(c,1),TEST_ID>0?(ABTastyEvent(i,null,TEST_ID),e('Engagement goal "'+i+'" sent to test '+TEST_ID+".")):e("Needs ID of the test.")}})},function(e,t){window.addEventListener(e,t)}("scroll",window.checkScrollGoals)}(); |
{ | ||
"name": "@abtasty/scroll-tracking", | ||
"description": "AB Tasty Widget", | ||
"version": "3.1.2", | ||
"version": "3.1.3-0", | ||
"icon": "icon.png", | ||
@@ -41,4 +41,4 @@ "form": "dist/form.js", | ||
"dependencies": { | ||
"@abtasty/widget-utils": "^1.10.0" | ||
"@abtasty/widget-utils": "^1.12.2" | ||
} | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
5626
2