Test: Impressions and Cookies

Test Visitor Conditions which use a cookie and/or count page impressions.

The following ads should show up here:

  • max ad impressions: 8, the ad showing up contains the number and a link to remove the stats
  • max page impressions: show after 3 page impressions (all pages, not just this one)
  • cookie: show if page-impressions cookie is exactly 3
  • new visitor: show only on first page impression

no cache-busting

[the_ad_placement id=”test-vc-impressions-and-cookie”]

impressions now: [the_ad_impressions id=”245″]

impressions now: [the_ad_impressions id=”256″]

impressions now: [the_ad_impressions id=”258″]

impressions now: [the_ad_impressions id=”260″]

passive cache-busting

[the_ad_placement id=”test-vc-impressions-and-cookie-passive-cache-busting”]

impressions now: [the_ad_impressions id=”245″]

impressions now: [the_ad_impressions id=”256″]

impressions now: [the_ad_impressions id=”258″]

impressions now: [the_ad_impressions id=”260″]

AJAX cache-busting

[the_ad_placement id=”test-vc-impressions-and-cookie-ajax-cache-busting”]

impressions now: [the_ad_impressions id=”245″]

impressions now: [the_ad_impressions id=”256″]

impressions now: [the_ad_impressions id=”258″]

impressions now: [the_ad_impressions id=”260″]

Test: Browser Language + mobile + user agent

Test (all) Visitor Conditions with direct shortcode, ajax cache-busting and passive cache-busting.

The following ads should show up here:

  • browser language: German OR English
  • mobile device
  • user agent: contains Firefox

no cache-busting

[the_ad_placement id=”test-visitor-conditions-no-cache-busting”]

impressions now: [the_ad_impressions id=”229″]

impressions now: [the_ad_impressions id=”234″]

impressions now: [the_ad_impressions id=”239″]

impressions now: [the_ad_impressions id=”240″]

impressions now: [the_ad_impressions id=”241″]

impressions now: [the_ad_impressions id=”243″]

passive cache-busting

[the_ad_placement id=”test-visitor-conditions-passive-cache-busting”]

impressions now: [the_ad_impressions id=”229″]

impressions now: [the_ad_impressions id=”234″]

impressions now: [the_ad_impressions id=”239″]

impressions now: [the_ad_impressions id=”240″]

impressions now: [the_ad_impressions id=”241″]

impressions now: [the_ad_impressions id=”243″]

AJAX cache-busting

[the_ad_placement id=”test-visitor-conditions-ajax-cache-busting”]

impressions now: [the_ad_impressions id=”229″]

impressions now: [the_ad_impressions id=”234″]

impressions now: [the_ad_impressions id=”239″]

impressions now: [the_ad_impressions id=”240″]

impressions now: [the_ad_impressions id=”241″]

impressions now: [the_ad_impressions id=”243″]

Test: Categories and Tags

This post contains ads with Display Conditions based on specific categories and tags.

Only the green content ad that has Category 1 AND Tag A set in display conditions should show up here. The other two in the same group shouldn’t.

Category & Tag (Group Shortcode)

[the_ad_group id=”10″]

impressions now: [the_ad_impressions id=”218″]

impressions now: [the_ad_impressions id=”219″] (should not change, since not visible)

impressions now: [the_ad_impressions id=”224″] (should not change, since not visible)

Category & Tag (passive cache-busting)

[the_ad_placement id=”test-rich-content-category-display-conditions-passive-cache”]

impressions now: [the_ad_impressions id=”218″]

impressions now: [the_ad_impressions id=”219″] (should not change, since not visible)

impressions now: [the_ad_impressions id=”224″] (should not change, since not visible)

Category & Tag (AJAX cache-busting)

[the_ad_placement id=”test-rich-content-category-display-conditions-ajax-cache”]

impressions now: [the_ad_impressions id=”218″]

impressions now: [the_ad_impressions id=”219″] (should not change, since not visible)

impressions now: [the_ad_impressions id=”224″] (should not change, since not visible)

Test: Plain Text & Code + Tracking

Direct Ad Shortcode

Ad with dynamic PHP. The number should not change on page reload since the site is cached.

[the_ad id=”205″]

Direct Group Shortcode (Randon 50:50)

Below is a random ad group with two ads directly added to the page using a shortcode. This means, the ad should not change since the site is cached.

[the_ad_group id=”7″]

Without Cache-Busting

A placement with a random group that is not using cache-busting. This meant, the same ad keeps showing when reloading the page.

[the_ad_placement id=”test-plain-text-without-cache-busting”]

With AJAX Cache-Busting

Same group, but implemented with AJAX cache-busting. Refresh the page a couple of times to see different ads.

The random number in the one ad should also change.

[the_ad_placement id=”test-plain-text-with-ajax-cache-busting”]

impressions now: [the_ad_impressions id=”201″]

impressions now: [the_ad_impressions id=”205″]

With Passive Cache-Busting

Should use AJAX Cache-Busting when the group is enabled and PHP inside one of the ads.

Should use Passive Cache-Busting if no PHP-based ads are used.

[the_ad_placement id=”test-plain-text-with-passive-cache-busting”]

impressions now: [the_ad_impressions id=”201″]

impressions now: [the_ad_impressions id=”205″]


Warning: Attempt to read property "frontend_config_data" on null in /www/htdocs/w00eb87d/test-setup.appundweb.de/wp-content/plugins/adpresso/core/pipeline/class-runtime.php on line 226