TagSnippet

  • This page describes the site tag and event snippet used for a specific TrackingCodeType.

  • The content defines fields such as type, page_format, global_site_tag, and event_snippet.

  • The type field specifies the type of generated tag snippets for tracking conversions.

  • The global_site_tag adds visitors to remarketing lists and sets cookies, while the event_snippet tracks actions counted as conversions.

The site tag and event snippet pair for a TrackingCodeType.

Fields

type

TrackingCodeType

The type of the generated tag snippets for tracking conversions.

page_format

TrackingCodePageFormat

The format of the web page where the tracking tag and snippet will be installed, for example, HTML.

global_site_tag

string

The site tag that adds visitors to your basic remarketing lists and sets new cookies on your domain.

event_snippet

string

The event snippet that works with the site tag to track actions that should be counted as conversions.