TrackingCodeType

  • This document outlines the different types of generated tag snippets used for tracking conversions.

  • The snippets can be used for various actions including webpage loads, on-click events, click-to-call, and website call tracking.

  • Each enum value describes a specific use case for the conversion tag snippet.

The type of the generated tag snippets for tracking conversions.

Proto definition

Enums

CLICK_TO_CALL

For embedding on a mobile webpage. The snippet contains a JavaScript function which fires the tag.

UNKNOWN

Used for return value only. Represents value unknown in this version.

UNSPECIFIED

Not specified.

WEBPAGE

The snippet that is fired as a result of a website page loading.

WEBPAGE_ONCLICK

The snippet contains a JavaScript function which fires the tag. This function is typically called from an onClick handler added to a link or button element on the page.

WEBSITE_CALL

The snippet that is used to replace the phone number on your website with a Google forwarding number for call tracking purposes.