Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 2|回復: 0

Learn about the main variables in Google Tag Manager

[複製鏈接]

1

主題

1

帖子

5

積分

新手上路

Rank: 1

積分
5
發表於 3 天前 | 顯示全部樓層 |閱讀模式

What are the main variables in Google Tag Manager? Bringing this concept to the world of technology and, mainly, the Google Tag Manager tool, a variable is responsible for storing data on user behavior in a given action/moment on the website and communicating this information to Google servers. Let's find out what they are now.

The main variables within the GTM
The variables are divided into:

-Predefined
-Custom

Predefined variables are standard variables available rcs data saudi arabia all accounts, while custom variables are defined by the user to store specific information.

The main variables in Google Tag Manager are: page variables, utilities, errors, clicks, and forms.


Pages
These are variables that store information related to the address of the website or external websites.

Page URL:  Returns the complete URL information
Example: https://www.lambdamarketingdigit ... -google-tag-manager
Page Hostname: returns only the hostname
Example: lambamarketingdigital.com.br
Page Path: Returns only the relative path of the page
Example: know-the-main-variables-in-google-tag-manager
Referrer: returns the URL of the page that sent the visitor to your site
Example: https://www.lambdamarketingdigital.com.br/ or http:/www.facebook.com/
Utilities
These are variables that have information defined in the Google Tag Manager account.

Event: Name of the event that triggered an action (such as 'click' or 'scroll')
Environment name: Name of the environment defined in the GTM account
Container ID: Container ID
Container Version: Current version of the container
Random Number: Random number generated
HTML ID: ID that represents the HTML page


Errors
These are the variables filled when an exception occurs in the page's Javascript code.

Error Message: returns the exception error message
Error Line: returns the line of source code where the error occurred
Error URL: returns the URL of the page where the error occurred
Debug Mode: displays whether GTM is in debug mode (for debugging errors) or not
Clicks
This is the information passed to the data layer whenever a click is performed anywhere on the page.

Click Element: HTML tag of the clicked element
Click Classes: CSS class of the clicked element
Click ID: ID of the clicked HTML element
Click Target: value of the target attribute, when present, on the clicked element
Click URL: URL of the page where the click occurred
Click Text: text of the clicked element
Forms
This is the information passed to the data layer whenever a form is submitted on a page (does not apply to AJAX forms).

Form Element: HTML tag of the element that submitted the form
Form Classes: CSS class of the submitted form
Form ID: ID of the submitted form
Form Target: indicates the action the form was submitted to (POST, GET, etc.)
Form URL: URL where the form was submitted


回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|自動贊助|GameHost抗攻擊論壇

GMT+8, 2025-3-9 22:31 , Processed in 0.904520 second(s), 19 queries .

抗攻擊 by GameHost X3.4

© 2001-2017 Comsenz Inc.

快速回復 返回頂部 返回列表
一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |