Auto-link: Manual Test Page

Open the browser console to see [TG-Autolink] debug logs. Click Refresh after the config loads to update the columns.

Script Attributes

AttributeValue
data-tg-sid139064
data-tg-pbidFUJIWEBasdf123asdfasdf
data-tg-debugenabled

Static Links

Links are built from the config domains at page init.

Dynamic Content — MutationObserver

These buttons inject links after page load. The MutationObserver should pick them up automatically.

LinkMatched DomainTracking URLDecoded url param

href Change — MutationObserver

The observer watches href attribute changes. Changing a link's href should trigger re-evaluation.

LinkMatched DomainTracking URLDecoded url param
https://www.example.com/

Tracking URL with Dynamic PBID

Setting data-tg-pbid on the loader script tag triggers the observer to re-tag all existing links with the new value. Clearing it drops &pbid= from tracking URLs.

Current data-tg-pbid on script tag: FUJIWEBasdf123asdfasdf

LinkMatched DomainTracking URLDecoded url param