TrackingCodeType
Stay organized with collections
Save and categorize content based on your preferences.
The type of the generated tag snippets for tracking conversions.
Enums |
UNSPECIFIED
|
Not specified. |
UNKNOWN
|
Used for return value only. Represents value unknown in this version. |
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. |
CLICK_TO_CALL
|
For embedding on a mobile webpage. The snippet contains a JavaScript function which fires the tag. |
WEBSITE_CALL
|
The snippet that is used to replace the phone number on your website with a Google forwarding number for call tracking purposes. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-05-29 UTC."],[[["Generated tag snippets are categorized by type, including webpage load, click-based events, and call tracking."],["Snippet types encompass `WEBPAGE`, `WEBPAGE_ONCLICK`, `CLICK_TO_CALL`, and `WEBSITE_CALL`, each serving a distinct purpose for conversion tracking."],["While `UNSPECIFIED` and `UNKNOWN` exist as options, they are generally not used for active tracking implementation."]]],[]]