@abtasty/scroll-tracking
Advanced tools
Comparing version 3.1.3 to 3.1.4-0
@@ -1,1 +0,1 @@ | ||
!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):e.widgetForm=i()}(this,function(){"use strict";return[{category:"conditions",type:"paragraph",text:{fr:"Note : il s'agit d'un widget de tracking qui est appliqué sur la version originale ainsi que les variations de la page. Une fois le widget en place, vous pourrez suivre l'évolution du tracking dans le menu \"Tracking\".",en:'Note: this plugin is a tracking plugin, it is applied on all variations and original page. Once added, you can find it in the "Tracking" menu.'}},{propName:"engagementGoal",type:"replicable",category:"conditions",children:[{type:"text",propName:"name",label:{en:"Goal name",fr:"Nom de l'objectif",es:"Nombre del objetivo",de:"Ziel-Name"},defaultValue:{en:"Scroll 50%",fr:"Scroll 50%",es:"50% scroll",de:"Scroll 50%"}},{type:"slider",propName:"percentage",label:{en:"Scroll percentage",fr:"Niveau de scroll",es:"Porcentaje de scroll",de:"Scroll-Prozentsatz"},unit:"%",min:0,max:100,defaultValue:50}]}]}); | ||
!function(e,i){"object"==typeof exports&&"undefined"!=typeof module?module.exports=i():"function"==typeof define&&define.amd?define(i):e.widgetForm=i()}(this,function(){"use strict";return[{category:"conditions",type:"paragraph",text:{fr:"Note : il s'agit d'un widget de tracking qui est appliqué sur la version originale ainsi que les variations de la page. Une fois le widget en place, vous pourrez suivre l'évolution du tracking dans le menu \"Tracking\".",en:'Note: this plugin is a tracking plugin, it is applied on all variations and original page. Once added, you can find it in the "Tracking" menu.'}},{propName:"engagementGoal",type:"replicable",category:"conditions",children:[{type:"text",propName:"name",label:{en:"Goal name",fr:"Nom de l'objectif",es:"Nombre del objetivo",de:"Ziel-Name"},value:{en:"Scroll 50%",fr:"Scroll 50%",es:"50% scroll",de:"Scroll 50%"}},{type:"slider",propName:"percentage",label:{en:"Scroll percentage",fr:"Niveau de scroll",es:"Porcentaje de scroll",de:"Scroll-Prozentsatz"},unit:"%",min:0,max:100,value:50}]}]}); |
@@ -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?(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=[],n=arguments.length;n--;)e[n]=arguments[n];e.unshift("[AB Tasty Widget] "+PACKAGE+":"),console.log.apply(console,e)},n=["fr","en","de","es"],t=DATA.engagementGoal,o=navigator.language.substr(0,2)||"en",c=function(e){return n.indexOf(e)>-1}(o)?o:"en";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,l){var i=o.percentage;if(n>=i){var d=o.name[c]||o.name;t.splice(l,1),TEST_ID>0?(ABTastyEvent(d,null,TEST_ID),e('Engagement goal "'+d+'" sent to test '+TEST_ID+".")):e("Needs ID of the test.")}})},function(e,n){window.addEventListener(e,n)}("scroll",window.checkScrollGoals)}(); |
{ | ||
"name": "@abtasty/scroll-tracking", | ||
"description": "AB Tasty Widget", | ||
"version": "3.1.3", | ||
"version": "3.1.4-0", | ||
"icon": "icon.png", | ||
@@ -6,0 +6,0 @@ "form": "dist/form.js", |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
5734
2