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-10-12 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-10-12 UTC."],[[["The tag snippet types indicate how and where conversion tracking tags are implemented, such as on webpages, through clicks, or for call tracking."],["Options include basic webpage loading, click-triggered actions, and specialized snippets for phone call conversions."],["While most values represent specific tracking methods, `UNSPECIFIED` and `UNKNOWN` are for internal use or situations where the type isn't explicitly known."]]],[]]