TagSnippet

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

  • The fields include the type of tracking code, the format of the web page, the global site tag, and the event snippet.

  • The global site tag adds visitors to remarketing lists and sets cookies.

  • The event snippet works with the site tag to track conversions.

The site tag and event snippet pair for a TrackingCodeType.

Proto definition

Fields

event_snippet

string

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

global_site_tag

string

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

page_format

TrackingCodePageFormat

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

type

TrackingCodeType

The type of the generated tag snippets for tracking conversions.