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-02-20 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-02-20 UTC."],[[["Tag snippets for conversion tracking are categorized into types like webpage loading, click-based actions, and call tracking."],["`WEBPAGE` snippets trigger when a webpage loads, while `WEBPAGE_ONCLICK` and `CLICK_TO_CALL` snippets are activated by user clicks."],["`WEBSITE_CALL` snippets replace website phone numbers with Google forwarding numbers for call tracking."],["Snippet types `UNSPECIFIED` and `UNKNOWN` represent unspecified or unknown values, primarily used for system purposes."]]],[]]