Reply To: groups within groups

Home Forums AdRotate for WordPress Groups groups within groups Reply To: groups within groups



I will describe our problem:
Now we have for every advertising partner an ad group with rotating ads. We want to split ad spaces for two advertising partners. So one ad space has two different ad groups. Every time when the site loads the ad space should load „group 1“ or „group 2“.

So far we split the group with this javascript:

    var random_number = Math.random();
    if (random_number < .5){
    } else {

But with Adrotate we can’t add the ad groups shortcode in this code. Also we can’t use PHP, because our WordPress page is cached.

Many Thanks

You may be interested in