All Questions
Tagged with angularjs optimizely
8
questions
1
vote
1
answer
82
views
How to write Angular Controller inside Experirment JavaScript in Optimizely
I have tried writing angularJS controller inside experimental javascript of variation in optimizely. it does not seems to work.
Basically i would like to insert HTML snippet like this
<div ng-...
0
votes
3
answers
2k
views
How do I call a function after user clicks in ng-click?
I'm running an optimizely test in this page:
https://www.thelotter.com/pt/bilhetes-loteria/africa-sul-powerball/?player=0
This is the current javascript for the test:
/* Don't touch this code */
...
1
vote
1
answer
86
views
How to display my AngularJS correctly for GoogleBot and Optimizely?
I've a website called VoteCircle (www.votecircle.com), but i noted that it doesn't display well for Google Bot/Optimizely (used for A/B tests). It shows only the content that AREN'T in ng-view. All ...
1
vote
0
answers
223
views
Setting up Optimizely with Angular.js but scope is undefined
We're running Optimizely on our Angular.js single page app. According to the documentation the best way to trigger the experiment is using conditional activation with a callback.
However, the code ...
0
votes
1
answer
87
views
Defining scope in optimizely
I am reading through some of the docs for optimizely and saw an interesting value that they add to scope. I am not sure that I fully understand it.
Here is the function in their docs
function(...
0
votes
1
answer
547
views
How can I get the active experiment/variant name in optimizely?
I try to integrate Optimizely with AngularJS and I want to show different templates based on what variation is running. I would add a constant function to the Angular app, that would check if a ...
2
votes
0
answers
236
views
Defer 3rd party script to the next AngularJS digest
I've got a directive that manipulate DOM, and than a 3rd party script:
// manipulate DOM
var elButton = angular.element('<button></button>');
element.append(elButton);
// 3rd party-...
12
votes
5
answers
4k
views
Is it possible to use Optimizely (or other DOM manipulating A/B testing tools) on a site using Angularjs?
I am looking to use Optimizely on a site where we will use Angularjs, but from what I understand, that will be difficult because the whole purpose of Angularjs is to not manipulate the DOM, and ...