
Adform Cookie Retrieval Script by Stape is a custom Google Tag Manager (GTM) web template designed to retrieve the Adform user ID and store it in a first-party cookie called adfuid. The cookie is then passed to the sGTM Adform tag.
adfcookieid) in the URL (such as after viewing an ad) the server container can’t capture the Adform cookie ID on its own. This tag fetches the ID through Adform's script and saves it, enabling attribution for view-through conversions.adfuid cookie shields it from browser third-party cookie restrictions and makes it easy to forward to sGTM through GA4 or Data Tag.adfuid cookie is present. If the user already has a valid ID, no external third-party script is injected or downloaded.