Reply To: groups within groups

Not one for queueing up? Get faster support with AdRotate Pro!
The forum is checked a few times per week. With AdRotate Pro you can get answers faster using email support.
More private, more direct and usually a solution within a day! Learn more »

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