http://tracking.example.com?lpurl={lpurl} <?php
header("Status: 301 Moved Permanently");
// some code to add data to our database
// then redirect traffic to url:
header("Location:".$_GET["lpurl"]."?". $_SERVER['QUERY_STRING']);
exit;
?> https://example.com/?uid=[unique id]&adp={adposition}&lpm={loc_physical_ms}&lim={loc_interest_ms}&adi={adgroupid}&k={keyword}&n={network}&ci={campaignid}&d={device}&p={placement}&u={lpurl}&ma={matchtype}&ta={target}&cr={creative} http://example.com?url={lpurl} https://example.com/?uid=[unique id]&adp={adposition}&lpm={loc_physical_ms}&lim={loc_interest_ms}&adi={adgroupid}&k={keyword}&n={network}&ci={campaignid}&d={device}&p={placement}&u={lpurl}&ma={matchtype}&ta={target}&cr={creative} [edited by: not2easy at 12:06 pm (utc) on Aug 27, 2023]
[edit reason] specifics removed - see Charter [/edit]