21b274f91f8d11bc4d94e808daad7fec6a50c226
js/plausible-events.js classifies every outbound click: Affiliate Click — host in AFFILIATES map, or rel=sponsored Outbound Click — any other external link props: network, destination, destination_path, placement (utm_medium), link_text, lang. Internal links, in-page anchors, mailto: and tel: are ignored; data-plausible-skip opts an element out. Adding a new partner is one line in AFFILIATES. Loaded on 1206 pages before </body>. Create the two goals in Plausible (Settings -> Goals -> Custom event) named exactly 'Affiliate Click' and 'Outbound Click' for them to show as conversions.
Languages
HTML
99.5%
JavaScript
0.2%
Python
0.2%