Ad Links Test

This page simulates real-world ad links with query parameters in the href.

These links have testID query parameters in their href attributes, simulating real ad traffic:

Freshpaint Configuration

CSS Selector: a[href*="/playground/"] or button[onclick*="/playground/"]

Property Filter: Full URL contains testID=

Dynamic Property (JavaScript):

// For links - extract from href
const link = event.target;
const href = link.getAttribute('href');
const url = new URL(href, window.location.origin);
const testID = url.searchParams.get('testID');
return testID || null;

// For buttons - extract from current URL after navigation
const urlParams = new URLSearchParams(window.location.search);
const testID = urlParams.get('testID');
return testID || null;