Tag management

Learn about using a tag management solution to manage tracking, advertising, and other marketing functions on your site.

Overview

You can use a tag manager to dynamically inject Affirm-related scripts on the promotiona

Google Tag Manager

GTM includes a feature to sequence tag execution, so that you can make sure that Affirm JS is always loaded first.

Promos

Here's an example of how that would be setup:

Tag #

Contents

Location

Trigger

Tag 1

Affirm JS embed code

All pages

page load (auto)

Tag 2

Affirm promo html

Only pages where promo should be displayed

Fires after 'Tag 1'

And here is a screenshot of how these settings look in GTM:

443443

Checkout

Tag #

Contents

Location

Trigger

Tag 1

Affirm JS embed code

All pages

page load (auto)

Tag 2

Affirm promo html

Only pages where promo should be displayed

Fires after 'Tag 1'


Did this page help you?