Skip to content

Install with GTM ​

Use the QuickPipe template from the Google Tag Manager Community Template Gallery. The template has the same settings as the script tag. For the steps without technical detail, read Quick start.

Procedure ​

  1. In Google Tag Manager, add a new tag from the Community Template Gallery. Search for QuickPipe.
  2. Set the Key field to your publishable key, lg-pub-live-….
  3. Change the other fields only when you need a different behavior.
  4. Set the trigger to All Pages.
  5. Submit and publish the container.

Fields and script attributes ​

Each template field has the same name and the same values as a script tag attribute. For example, the field Forms has the values on, off and no-identify, the same as data-forms. Refer to the configuration reference.

Version and integrity ​

The sandbox of Google Tag Manager cannot set the integrity attribute. Thus the template loads only one fixed version of the script. The template permissions allow only the URL of that version. A new template version loads a new script version.

By default, the script reads Google Consent Mode v2 from the dataLayer. It stores the visitor ID only when analytics_storage is granted. Refer to Set consent.

The dataLayer ​

The script also sends the events of the dataLayer. Refer to Use the dataLayer.