This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- VWO One Smartcode (Replace <ACCOUNTID> with your VWO account id) --> | |
<script src = "https://dev.visualwebsiteoptimizer.com/lib/<ACCOUNTID>_nojq.js"> </script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type='text/javascript'> | |
use_existing_jquery=false, | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type='text/javascript'> | |
var _vwo_click = 10; // this will track first 10 clicks | |
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.VWO = window.VWO || []; | |
window.VWO.push(['onVariationApplied', function(data) { | |
if (!data) { | |
return; | |
} | |
var expId = data[1]; | |
var variationId = data[2]; | |
if (typeof(_vwo_exp[expId].comb_n[variationId]) !== 'undefined' && ['VISUAL_AB', 'VISUAL', 'SPLIT_URL', 'SURVEY'].indexOf(_vwo_exp[expId].type) > -1) { | |
utag.link({ | |
event_category: "VWO", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default-src 'self' blob:; | |
connect-src *.visualwebsiteoptimizer.com app.vwo.com; | |
style-src 'self' 'unsafe-inline' *.visualwebsiteoptimizer.com app.vwo.com cdn.pushcrew.com; | |
script-src 'unsafe-eval' 'unsafe-inline' 'self' *.visualwebsiteoptimizer.com app.vwo.com cdn.pushcrew.com; | |
script-src-elem 'unsafe-eval' 'unsafe-inline' 'self' *.visualwebsiteoptimizer.com app.vwo.com cdn.pushcrew.com; | |
img-src 'self' *.visualwebsiteoptimizer.com cdn.pushcrew.com chart.googleapis.com app.vwo.com; | |
worker-src 'self' blob:; | |
frame-src app.vwo.com *.visualwebsiteoptimizer.com; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default-src 'self' blob:; | |
connect-src *.visualwebsiteoptimizer.com app.vwo.com; | |
style-src 'self' 'unsafe-inline' *.visualwebsiteoptimizer.com app.vwo.com; | |
script-src 'self' 'unsafe-eval' 'unsafe-inline' *.visualwebsiteoptimizer.com app.vwo.com; | |
script-src-elem 'self' 'unsafe-eval' 'unsafe-inline' *.visualwebsiteoptimizer.com app.vwo.com; | |
img-src 'self' *.visualwebsiteoptimizer.com chart.googleapis.com app.vwo.com; | |
worker-src 'self' blob:; | |
frame-src app.vwo.com *.visualwebsiteoptimizer.com; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if first_time_accessed %} | |
<script type="text/javascript"> | |
window.VWO = window.VWO || []; | |
{% assign _vis_opt_revenue = total_price | divided_by: 100.0 %} | |
window._vis_opt_queue = window._vis_opt_queue || []; | |
window._vis_opt_queue.push(function() {_vis_opt_revenue_conversion('{{ _vis_opt_revenue }}');}); | |
window.VWO.push(['track.revenueConversion','{{ _vis_opt_revenue }}']); | |
</script> | |
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.VWO = window.VWO || []; | |
window.VWO.push(['onSurveyShown', function (data) { | |
// Add your code here | |
}]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.VWO = window.VWO || []; | |
window.VWO.push(['onSurveyShown', function (data) { | |
// Add your code here | |
}]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.VWO = window.VWO || []; | |
window.VWO.push(['onSurveyAnswerSubmitted', function(data) { | |
// Add your code here | |
}]); |