test — Automation
Config
Conversion postback
Copy this PHP snippet into your thank-you page (or wherever a conversion completes). It reads
absys_vid / absys_pid / absys_vk
cookies (set by the lander/rotator on each page load) and fires one conversion event per hit.
Requires the TY page to be on the same domain as the lander — otherwise the cookies
aren't readable. Silent failure — never blocks the TY page.
<?php
// absys conversion postback — paste at the TOP of your thank-you page.
// Reads three cookies set by the lander/rotator (absys_vid, absys_pid,
// absys_vk). All three must live on the same domain as this TY page.
// Silent failure, never blocks rendering.
(function () {
// No visitor id = visitor never touched an absys lander (organic traffic,
// direct hit, cookie cleared). Skip entirely — nothing to attribute.
if (empty($_COOKIE['absys_vid'])) return;
if (empty($_COOKIE['absys_pid'])) return;
if (empty($_COOKIE['absys_vk'])) return;
$body = json_encode([
'event' => 'conversion',
'page_id' => $_COOKIE['absys_pid'],
'variant_key' => $_COOKIE['absys_vk'],
'visitor_id' => $_COOKIE['absys_vid'],
]);
$ch = curl_init('https://absys.americanexceptionalism.store/api/track');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_HTTPHEADER => ['Content-Type: text/plain'],
CURLOPT_POSTFIELDS => $body,
CURLOPT_TIMEOUT => 3,
CURLOPT_RETURNTRANSFER => true,
]);
@curl_exec($ch);
curl_close($ch);
})();
Tracker URL: https://absys.americanexceptionalism.store/api/track
Run now
Run history
| # | Started | Trigger | Action | Notes / error | Duration |
|---|---|---|---|---|---|
| No runs yet. | |||||