Hello!
I'm using your module since new version was introduced (before I used the 1x version). It works absolutemy wonderful!
I'd like to propose you to allow a/b testing with your module, or random choosing of ads.
I've tried to use the following code from Adsense Help center: http://adsense.blogspot.fr/2006/08/abcs-of-ab-testing.html
<script type="text/javascript">
var random_number = Math.random();
if (random_number < .5){
//your first ad unit code goes here
} else {
//your second ad unit code goes here
}
</script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
Even if Content Injector do use java script, it didn't allow me to use random script. I had to move back to AdSense code.
Please, consider allowing A/B testing in the module. Thanks.
Comments
Comment #1
Valeratal commentedI need this option too.
Comment #2
greg boggsA/B testing can be done with Google Analytics serving up test pages or tools like Optimizely. There's also a couple of Drupal modules dedicated entirely to A/B testing: https://drupal.org/project/multivariate, https://drupal.org/project/abtest.
You could also implement this functionality in a snippet of custom code. However, a nice "how to" for using either of those two modules with content injection would certainly be useful.
(status change due to lack of response)