I need to add A/B testing functionality to a large application built with Angular 2 and bundled with Webpack.
Tools like VWO are not flexible enough for us.
Any online guides or tips?
Thanks.
I need to add A/B testing functionality to a large application built with Angular 2 and bundled with Webpack.
Tools like VWO are not flexible enough for us.
Any online guides or tips?
Thanks.
In case anyone else comes with the same question, I'm launching a product to solve this need. It works great with Angular2/4 or any other JavaScript framework.
Here's an example from the docs. You can easily switch out the jQuery DOM manipulation for a function that updates a variable bound to an ng-if
for use with Angular.
var experiment = engauge.experiment({
name: 'signup-button',
variants: {
// This is the first variant. It should be your control.
'#ff5722': {
activate: function() {
$('#signup-col').html('<button class="variant-1 signup-button">Try it Free</button>');
}
},
// This is the second variant.
'#9c27b0': {
activate: function() {
$('#signup-col').html('<button class="variant-2 signup-button">Try it Free</button>');
}
}
}
});
The home page is now up at https://engaugeab.com and if you mention this post i'll give you access to an extended free tier.
© 2022 - 2024 — McMap. All rights reserved.