<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Vu Thanh Tung</title>
	<atom:link href="https://vutung.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://vutung.com/</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2023 10:34:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.10</generator>

<image>
	<url>https://vutung.com/wp-content/uploads/2020/10/cropped-Untitled-e1602229264330-32x32.png</url>
	<title>Vu Thanh Tung</title>
	<link>https://vutung.com/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>What are Statistical Tests? How to choose the right test</title>
		<link>https://vutung.com/2023/01/31/what-are-statistical-tests-how-to-choose-the-right-test/</link>
					<comments>https://vutung.com/2023/01/31/what-are-statistical-tests-how-to-choose-the-right-test/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 31 Jan 2023 10:34:37 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://vutung.com/?p=4965</guid>

					<description><![CDATA[<p>Statistical tests are an essential tool for analyzing data and making informed decisions based on the results. These tests provide a systematic and objective way to evaluate the presence or...</p>
<p>The post <a rel="nofollow" href="https://vutung.com/2023/01/31/what-are-statistical-tests-how-to-choose-the-right-test/">What are Statistical Tests? How to choose the right test</a> appeared first on <a rel="nofollow" href="https://vutung.com">Vu Thanh Tung</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>Statistical tests are an essential tool for analyzing data and making informed decisions based on the results. These tests provide a systematic and objective way to evaluate the presence or absence of relationships between variables, or to compare the means or proportions of different groups. They play a crucial role in many fields, including business, finance, health care, psychology, and social sciences, to name a few.</p>



<h2>What are statistical tests?</h2>



<p>Statistical tests are techniques used to analyze and make decisions based on data. They provide a systematic and objective way to analyze data and make inferences about a population based on a sample of data. <strong>These tests are used to determine if there is a relationship between variables, or to compare the means or proportions of different groups. </strong>They are widely used in various fields such as business, finance, healthcare, psychology, and social sciences to answer research questions and make evidence-based decisions.</p>



<p>The <strong>results of statistical tests are often reported as p-values, confidence intervals, and effect sizes,</strong> and they must be interpreted carefully in the context of the research question and the limitations of the test. The appropriate test to use depends on the type of data and research question. </p>



<h2>Types of statistical tests: Parametric and non-parametric</h2>



<p>There are two broad categories of statistical tests: <strong>parametric tests </strong>and <strong>non-parametric tests.</strong> Parametric tests make assumptions about the data being normally distributed and are typically used for interval or ratio level data, which have a meaningful zero point and allow for meaningful comparisons. Examples of parametric tests include t-tests, ANOVA (Analysis of Variance), and regression analysis.</p>



<p>Non-parametric tests, on the other hand, do not make assumptions about the distribution of the data and are typically used for ordinal or nominal level data, which do not have a meaningful zero point and do not allow for meaningful comparisons. Examples of non-parametric tests include Wilcoxon signed-rank test, Mann-Whitney U test, and Kruskal-Wallis test.</p>



<p>Regardless of the type of test used, it is important to remember that statistical tests provide only a tool to make decisions, and they must be used in conjunction with other information and critical thinking to make informed decisions.</p>



<h3>What is parametric tests? Common types of parametric tests</h3>



<p>Parametric tests are a type of statistical test that make assumptions about the population distribution, including normality and equal variances. Some common examples of parametric tests include:</p>



<ol><li>t-test: This test is used to compare the means of two groups and determine if there is a significant difference between them.</li><li>ANOVA (Analysis of Variance): This test is used to compare the means of more than two groups and determine if there is a significant difference among them.</li><li>Regression analysis: This test is used to model the relationship between a dependent variable and one or more independent variables.</li><li>Pearson’s correlation coefficient: This test is used to measure the strength and direction of the linear relationship between two continuous variables.</li><li>Chi-square test: This test is used to compare the observed frequencies in a categorical data set to the expected frequencies.</li></ol>



<p>It is important to keep in mind that parametric tests make assumptions about the population distribution, and it is crucial to assess the assumptions before conducting these tests. When the assumptions are not met, alternative non-parametric tests should be used instead.</p>



<h4>Introduction to T-test</h4>



<p>A t-test is a type of parametric test used to compare the means of two groups and determine if there is a significant difference between them. It assumes that the data is normally distributed and has equal variances. The t-test calculates a t-statistic and a p-value, which are used to make inferences about the population mean. The t-statistic is a measure of the difference between the sample means and the population mean, and the p-value is the probability of observing a t-statistic as extreme as the one calculated from the sample data, given that the null hypothesis is true.</p>



<p>The null hypothesis in a t-test is usually that there is no difference between the means of the two groups. If the p-value is less than a predetermined level of significance (e.g. 0.05), the null hypothesis is rejected and it is concluded that there is a significant difference between the means. If the p-value is greater than the level of significance, the null hypothesis is not rejected and it is concluded that there is not enough evidence to support a difference between the means.</p>



<p>There are two types of t-tests: a dependent t-test (also known as a paired t-test) and an independent t-test (also known as a two-sample t-test). A dependent t-test is used when the same individuals are being compared before and after some intervention, while an independent t-test is used when comparing the means of two distinct groups.</p>



<p>Examples of when a t-test might be used include:</p>



<ol><li>Comparing the mean height of two groups of individuals, one group who received a new growth hormone treatment and one group who received a placebo.</li><li>Comparing the mean test scores of two classes, one class taught by a traditional teacher and one class taught by an online teacher.</li><li>Comparing the mean weight loss of two diet programs, one low-carbohydrate diet and one low-fat diet.</li></ol>



<p>In each of these examples, a t-test would be used to determine if there is a significant difference between the means of the two groups, and to make inferences about the population mean.</p>



<h4>Introduction to ANOVA test</h4>



<p>ANOVA (Analysis of Variance) is a statistical test used to determine if there is a significant difference among the means of two or more groups. It is an extension of the t-test and is used when there are more than two groups being compared. ANOVA tests the null hypothesis that the means of all groups are equal.</p>



<p>In ANOVA, the total variance in the data is partitioned into two components: between-group variability and within-group variability. The between-group variability measures the variation between the means of the different groups, while the within-group variability measures the variation within each group. If the between-group variability is large relative to the within-group variability, it suggests that the means of the groups are different.</p>



<p>There are several types of ANOVA tests, including one-way ANOVA, two-way ANOVA, and repeated measures ANOVA. The one-way ANOVA tests the differences between the means of two or more groups with a single independent variable. The two-way ANOVA tests the differences between the means of two or more groups with two independent variables. The repeated measures ANOVA tests the differences between the means of two or more groups with a single dependent variable and a within-subjects independent variable.</p>



<p>Example of when ANOVA might be used:</p>



<ol><li>Comparing the mean scores of three different teaching methods (lecture, group discussion, and individual projects) on a standardized test.</li><li>Comparing the mean yields of four different fertilizer treatments (A, B, C, and D) on crop growth.</li><li>Comparing the mean scores of three different diets (low-fat, low-carb, and balanced) on a weight loss program.</li></ol>



<p>In each of these examples, ANOVA would be used to determine if there is a significant difference among the means of the groups, and to make inferences about the population means.</p>



<h3>Overview of non-parametric statistical tests</h3>



<p>Non-parametric statistical tests are a type of statistical test that do not assume a specific distribution (such as normal distribution) of the data. They are used when the data is not normally distributed or when the sample size is small. Non-parametric tests are also known as distribution-free tests.</p>



<p>Some common non-parametric tests include the Wilcoxon rank-sum test, the Kruskal-Wallis test, the Mann-Whitney U test, and the Friedman test. These tests are used to compare the difference between two or more groups in terms of their central tendency or location.</p>



<p>For example, the Wilcoxon rank-sum test is used to compare the median of two groups. The Kruskal-Wallis test is used to compare the medians of more than two groups. The Mann-Whitney U test is used to compare the medians of two groups and the Friedman test is used to compare the medians of more than two groups with a single dependent variable and a within-subjects independent variable.</p>



<p>Non-parametric tests are typically more robust than parametric tests and are less sensitive to outliers or skewness in the data. However, they may have lower power (the ability to detect a difference when it exists) compared to parametric tests.</p>



<p>Example of when non-parametric test might be used:</p>



<ol><li>Comparing the median salary of employees in two different departments (marketing and finance).</li><li>Comparing the median number of sales made by three different salespeople (A, B, and C).</li><li>Comparing the median weight loss of two different diets (low-fat and low-carb).</li></ol>



<p>In each of these examples, a non-parametric test would be used to determine if there is a significant difference between the medians of the groups and to make inferences about the population medians.</p>



<h4>Wilcoxon Rank-Sum Test: an comprehensive overview</h4>



<p>The Wilcoxon Rank-Sum Test, also known as the Mann-Whitney U Test, is a non-parametric test used to compare two independent groups and determine if there is a significant difference in the central tendency (e.g. median) between the two groups. The test is used when the data is not normally distributed or the sample sizes are small.</p>



<p>The Wilcoxon Rank-Sum Test works by ranking all the observations from the two groups together and then comparing the sum of ranks for each group. If the sum of ranks for one group is significantly larger than the other group, we can conclude that the central tendency for that group is higher.</p>



<p>Suppose we want to compare the effectiveness of two different types of headache medication. We conduct a study where 20 patients are randomly assigned to either medication A or medication B and the severity of their headache is rated on a scale of 0 to 10, with 0 being no headache and 10 being the worst headache. The data collected is as follows:</p>



<p>Medication A: 6, 5, 4, 7, 8, 9, 5, 7, 6, 8, 4, 6, 7, 5, 6, 7, 8, 9, 5, 7 Medication B: 5, 8, 9, 6, 7, 4, 8, 6, 5, 7, 8, 9, 5, 7, 6, 5, 4, 7, 8, 9</p>



<p>To perform the Wilcoxon Signed-Rank Test, we first rank the difference in headache severity for each patient, giving a positive rank for an improvement and a negative rank for a worsening. Then, we sum the positive ranks and negative ranks separately and compare the sum of positive ranks to a critical value. If the sum of positive ranks is significantly larger than the critical value, we can conclude that medication A is more effective in reducing headache severity.</p>



<p>This is just one example of a non-parametric test. Non-parametric tests are widely used in a variety of research areas when the data does not meet the assumptions of parametric tests, such as normality. Other common non-parametric tests include the Kruskal-Wallis Test, the Friedman Test, and the Wilcoxon Rank-Sum Test.</p>



<h4>What is Wilcoxon Rank-Sum Test</h4>



<p>The Wilcoxon Rank-Sum Test, also known as the Mann-Whitney U Test, is a non-parametric test used to compare two independent groups and determine if there is a significant difference in the central tendency (e.g. median) between the two groups. The test is used when the data is not normally distributed or the sample sizes are small.</p>



<p>The Wilcoxon Rank-Sum Test works by ranking all the observations from the two groups together and then comparing the sum of ranks for each group. If the sum of ranks for one group is significantly larger than the other group, we can conclude that the central tendency for that group is higher.</p>



<p>For example, suppose we want to compare the height of a sample of men and women. We measure the height of 20 men and 20 women and the data is as follows:</p>



<ul><li>Men: 68, 70, 71, 72, 72, 72, 73, 73, 74, 74, 75, 75, 75, 76, 76, 77, 77, 78, 78, 79 </li><li>Women: 63, 64, 65, 66, 66, 67, 67, 68, 68, 69, 69, 69, 70, 70, 71, 71, 72, 73, 74, 75</li></ul>



<p>To perform the Wilcoxon Rank-Sum Test, we first rank all the observations from both groups and compare the sum of ranks for each group. If the sum of ranks for men is significantly larger than the sum of ranks for women, we can conclude that men have a higher central tendency for height.</p>



<p>This is a simple example of the Wilcoxon Rank-Sum Test. It is widely used in fields such as medical research, social sciences, and engineering when the data does not meet the assumptions of parametric tests.Regenerate resp</p>



<h2>How to perform statistical tests correctly</h2>



<p>When conducting a statistical test, it is important to specify the null hypothesis and the alternative hypothesis. The null hypothesis represents the default assumption that there is no relationship between the variables, while the alternative hypothesis represents the opposite assumption. The goal of the statistical test is to determine whether the sample data provides sufficient evidence to reject the null hypothesis in favor of the alternative hypothesis.</p>



<p>The significance level of a statistical test is used to control the probability of making a Type I error, which occurs when the null hypothesis is rejected when it is actually true. The most common significance level used is 0.05, which means that there is a 5% chance of making a Type I error. This level can be adjusted based on the consequences of making a Type I error in a particular situation.</p>



<p>Choosing the appropriate statistical test is a critical step in the data analysis process. The type of data, research question, and number of variables involved all play a role in determining the appropriate statistical test. It is important to understand the assumptions and limitations of each test and to interpret the results with caution, in the context of the research question and the limitations of the test.</p>



<p>One of the key challenges in using statistical tests is understanding the results and interpreting them in a meaningful way. It is essential to understand the meaning of p-values, confidence intervals, and effect sizes, and how they can be used to draw conclusions about the data. It is also important to be aware of potential confounding variables that could affect the results and to take steps to control for these variables.</p>



<p>In conclusion, statistical tests are an important tool for analysing and interpreting data. However, they must be used appropriately and with caution in order to obtain meaningful results. A thorough understanding of the assumptions, limitations, and interpretations of each test is essential for accurate and meaningful results. It is important to use statistical tests in conjunction with other analytical tools and to consider the results in the context of the research question and the limitations of the test.</p>
<p>The post <a rel="nofollow" href="https://vutung.com/2023/01/31/what-are-statistical-tests-how-to-choose-the-right-test/">What are Statistical Tests? How to choose the right test</a> appeared first on <a rel="nofollow" href="https://vutung.com">Vu Thanh Tung</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://vutung.com/2023/01/31/what-are-statistical-tests-how-to-choose-the-right-test/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to perform triple click on Selenium with Python</title>
		<link>https://vutung.com/2021/09/23/how-to-perform-triple-click-on-selenium-with-python/</link>
					<comments>https://vutung.com/2021/09/23/how-to-perform-triple-click-on-selenium-with-python/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 23 Sep 2021 03:02:40 +0000</pubDate>
				<category><![CDATA[Python]]></category>
		<guid isPermaLink="false">https://vutung.com/?p=4475</guid>

					<description><![CDATA[<p>I will go straight to the point. This is the piece of code that help you to perform triple click into any element by using Selenium on Python. In the...</p>
<p>The post <a rel="nofollow" href="https://vutung.com/2021/09/23/how-to-perform-triple-click-on-selenium-with-python/">How to perform triple click on Selenium with Python</a> appeared first on <a rel="nofollow" href="https://vutung.com">Vu Thanh Tung</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>I will go straight to the point. This is the piece of code that help you to perform triple click into any element by using Selenium on Python.</p>



<p>In the code below, I find the H1 element on my page, and then perform triple click on it</p>



<blockquote class="wp-block-quote"><p>from selenium import webdriver<br>from selenium.webdriver.common.keys import Keys<br>from selenium.webdriver.common.action_chains import ActionChains</p><p>driver = webdriver.Chrome()<br>driver.get(&#8220;https://vutung.com/2019/08/23/how-to-use-timer-in-gtm-to-track-real-time-on-page/&#8221;)</p><p>triple_click_element = driver.find_elements_by_tag_name(&#8216;h1&#8217;)[1]<br>actions = ActionChains(driver)<br>for i in range(3):<br>actions.move_to_element(triple_click_element).click()<br>actions.perform()</p></blockquote>



<p>You can try to change the find_element_by&#8230; function with any other function that suit your needs</p>



<h2>How to triple click on Selenium with Python</h2>
<p>The post <a rel="nofollow" href="https://vutung.com/2021/09/23/how-to-perform-triple-click-on-selenium-with-python/">How to perform triple click on Selenium with Python</a> appeared first on <a rel="nofollow" href="https://vutung.com">Vu Thanh Tung</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://vutung.com/2021/09/23/how-to-perform-triple-click-on-selenium-with-python/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to unblock Google search terms report</title>
		<link>https://vutung.com/2020/10/22/how-to-unblock-google-search-terms-report/</link>
					<comments>https://vutung.com/2020/10/22/how-to-unblock-google-search-terms-report/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 22 Oct 2020 08:07:39 +0000</pubDate>
				<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">https://vutung.com/?p=2036</guid>

					<description><![CDATA[<p>Google filtered insignificant (but important) search terms from the reports Recently, Google has made an unsurprising move when limit the Search terms report. Before September, 2020, all search terms having...</p>
<p>The post <a rel="nofollow" href="https://vutung.com/2020/10/22/how-to-unblock-google-search-terms-report/">How to unblock Google search terms report</a> appeared first on <a rel="nofollow" href="https://vutung.com">Vu Thanh Tung</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h2>Google filtered insignificant (but important) search terms from the reports</h2>



<p>Recently, Google has made an unsurprising move when limit the Search terms report. Before September, 2020, all search terms having more than 1 clicks will be shown in the search terms report, but now, Google limit it to a new threshold.</p>



<p>Google’s statements “…Search Terms Report to only include terms that a significant number of users searched for…” and how significant is enough will remain as a question. Search Engine Land reported that 20% of the search terms will be invisible to the users. Read more here <a href="https://searchengineland.com/googles-search-terms-move-will-make-millions-in-ad-spend-invisible-to-advertisers-340182">https://searchengineland.com/googles-search-terms-move-will-make-millions-in-ad-spend-invisible-to-advertisers-340182</a></p>



<p>However, I recently find out that we still can access these report from Google Analytics, as long as the auto-tag feature is turned on. The key idea here is Google hid the search terms in Google Ads, but they have not hidden them in Google Analytics</p>



<p>It should be noted here that Google Analytics and Google Ads are 2 totally different systems, and the data will not be accurate as the old search term report, but this is the best we can have right now.</p>



<h2>How to see the search terms that has been filtered in Google Analytics</h2>



<p>Now, these are the procedure you can follow to unblock the Google Search terms report:</p>



<p><strong>Step 1:</strong> Make sure the auto-tag is turned on and Google Analytics and Google Ads are linked</p>



<p><strong>Step 2:</strong> Visit Google Analytics, go to Acquisition, Google Ads, Campaign</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="530" src="https://vutung.com/wp-content/uploads/2020/10/image-1024x530.png" alt="" class="wp-image-2037" srcset="https://vutung.com/wp-content/uploads/2020/10/image-1024x530.png 1024w, https://vutung.com/wp-content/uploads/2020/10/image-300x155.png 300w, https://vutung.com/wp-content/uploads/2020/10/image-768x397.png 768w, https://vutung.com/wp-content/uploads/2020/10/image-1536x795.png 1536w, https://vutung.com/wp-content/uploads/2020/10/image-680x352.png 680w, https://vutung.com/wp-content/uploads/2020/10/image.png 1838w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>Step 3</strong>: Choose secondary dimension, type search query, and click on search query.</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="537" src="https://vutung.com/wp-content/uploads/2020/10/image-1-1024x537.png" alt="" class="wp-image-2039" srcset="https://vutung.com/wp-content/uploads/2020/10/image-1-1024x537.png 1024w, https://vutung.com/wp-content/uploads/2020/10/image-1-300x157.png 300w, https://vutung.com/wp-content/uploads/2020/10/image-1-768x403.png 768w, https://vutung.com/wp-content/uploads/2020/10/image-1-1536x806.png 1536w, https://vutung.com/wp-content/uploads/2020/10/image-1-680x357.png 680w, https://vutung.com/wp-content/uploads/2020/10/image-1.png 1814w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p><strong>Step 4</strong>: Click on sessions to sort the data by the number of sessions. These filtered search terms are likely to be the search terms having 0 clicks, 0 impressions and >1 sessions (it is not totally correct)</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="522" src="https://vutung.com/wp-content/uploads/2020/10/image-2-1024x522.png" alt="" class="wp-image-2040" srcset="https://vutung.com/wp-content/uploads/2020/10/image-2-1024x522.png 1024w, https://vutung.com/wp-content/uploads/2020/10/image-2-300x153.png 300w, https://vutung.com/wp-content/uploads/2020/10/image-2-768x392.png 768w, https://vutung.com/wp-content/uploads/2020/10/image-2-1536x783.png 1536w, https://vutung.com/wp-content/uploads/2020/10/image-2-680x347.png 680w, https://vutung.com/wp-content/uploads/2020/10/image-2.png 1816w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>
<p>The post <a rel="nofollow" href="https://vutung.com/2020/10/22/how-to-unblock-google-search-terms-report/">How to unblock Google search terms report</a> appeared first on <a rel="nofollow" href="https://vutung.com">Vu Thanh Tung</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://vutung.com/2020/10/22/how-to-unblock-google-search-terms-report/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>The difference between All Element and Just Link</title>
		<link>https://vutung.com/2020/10/09/the-difference-between-all-element-and-just-link/</link>
					<comments>https://vutung.com/2020/10/09/the-difference-between-all-element-and-just-link/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 09 Oct 2020 12:01:00 +0000</pubDate>
				<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Tag Manager]]></category>
		<guid isPermaLink="false">https://vutung.com/?p=1977</guid>

					<description><![CDATA[<p>One of the most frequent questions I was asked is the difference between 2 types of click trigger: All elements and Just link. Basically, they are all click triggers, which...</p>
<p>The post <a rel="nofollow" href="https://vutung.com/2020/10/09/the-difference-between-all-element-and-just-link/">The difference between All Element and Just Link</a> appeared first on <a rel="nofollow" href="https://vutung.com">Vu Thanh Tung</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<h1 class="has-normal-font-size">One of the most frequent questions I was asked is the difference between 2 types of click trigger: All elements and Just link.</h1>



<figure class="wp-block-image size-large"><img loading="lazy" width="768" height="762" src="https://vutung.com/wp-content/uploads/2020/10/Untitled-1.png" alt="All element vs just link click trigger" class="wp-image-1980" srcset="https://vutung.com/wp-content/uploads/2020/10/Untitled-1.png 768w, https://vutung.com/wp-content/uploads/2020/10/Untitled-1-300x298.png 300w, https://vutung.com/wp-content/uploads/2020/10/Untitled-1-150x150.png 150w, https://vutung.com/wp-content/uploads/2020/10/Untitled-1-100x100.png 100w, https://vutung.com/wp-content/uploads/2020/10/Untitled-1-680x675.png 680w" sizes="(max-width: 768px) 100vw, 768px" /></figure>



<p>Basically, they are all click triggers, which means it is based on clicks to determine the tag is fired or not.</p>



<p>Just link is specifically used for &#8220;click on link&#8221;, and All elements is used for every click on website. Link click is any clicks on &lt;a href&#8230;&gt;, which could be a link to other sites, or may be click to call</p>



<p>2 examples that you will frequently met are:</p>



<ul><li>&lt;a href=&#8221;https://vutung.com/2020/10/09/the-difference-between-all-element-and-just-link/&#8221;&gt;Click here&lt;/a&gt;</li><li>&lt;a href=&#8221;tel:+84982129595&#8243;&gt;0982129595&lt;/a&gt;</li></ul>



<p>Every link click can trigger both All element and Just link, however, if it is a normal click (for example, click on submit button) then it will only trigger All elements click.</p>



<p>To determine which one you should choose, just think that is the click you want to be tracked, are link click or not.</p>



<p>Click here to read more about how to track <a href="https://vutung.com/2019/08/23/how-to-use-timer-in-gtm-to-track-real-time-on-page/" data-type="URL" data-id="https://vutung.com/2019/08/23/how-to-use-timer-in-gtm-to-track-real-time-on-page/" target="_blank" rel="noreferrer noopener">real time-on-page by Google Tag Manager</a></p>



<p></p>
<p>The post <a rel="nofollow" href="https://vutung.com/2020/10/09/the-difference-between-all-element-and-just-link/">The difference between All Element and Just Link</a> appeared first on <a rel="nofollow" href="https://vutung.com">Vu Thanh Tung</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://vutung.com/2020/10/09/the-difference-between-all-element-and-just-link/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to use Timer in GTM to track real time on page (Google Tag Manager)</title>
		<link>https://vutung.com/2019/08/23/how-to-use-timer-in-gtm-to-track-real-time-on-page/</link>
					<comments>https://vutung.com/2019/08/23/how-to-use-timer-in-gtm-to-track-real-time-on-page/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 23 Aug 2019 06:18:52 +0000</pubDate>
				<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Tag Manager]]></category>
		<guid isPermaLink="false">https://vutung.com/?p=1894</guid>

					<description><![CDATA[<p>GA calculates time spent on a given page by taking the difference between the timestamp of that pageview and the timestamp of the subsequent hit. But if a pageview is the...</p>
<p>The post <a rel="nofollow" href="https://vutung.com/2019/08/23/how-to-use-timer-in-gtm-to-track-real-time-on-page/">How to use Timer in GTM to track real time on page (Google Tag Manager)</a> appeared first on <a rel="nofollow" href="https://vutung.com">Vu Thanh Tung</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>GA calculates time spent on a given page by taking the difference between the timestamp of that pageview and the timestamp of the subsequent hit. But if a pageview is the last (or only) hit in the session, GA will assign it a time of zero.</p>
<p>For example: If a person entered the website, then spent around 20 minutes reading your page, and gather all the information he needed, then he exit the page. He  is an potential customer, but in Google Analytics, he is count as a bounce, and session duration is 0.</p>
<h1 style="text-align: center;">How to use Google Tag Manager to track user&#8217;s time on page</h1>
<p>Now, we can use Google Tag manager, timer trigger to fix that problem, by identify the real time-on-page for a particular page.</p>
<p>*** This trick should only be use in some specific pages, such as blog pages, or key pages, since it will send multiple hits to GA, and send much more events than normal.</p>
<p>See more: <a href="https://vutung.com/2019/08/23/send-client-id-to-google-analytics-to-track-every-single-visitor/">Track every user behaviors by sending client ID</a></p>
<h2>1, Send a hit after user spend 30 seconds on page.</h2>
<p>Create the Timer trigger as follows:</p>
<ol>
<li>Add a new trigger. Choose <strong>Timer</strong> as the event type.</li>
<li>Enter the desired timer interval in milliseconds, e.g. For a 30 seconds timer, enter 30000, and set the timer limit to 1 (only fire once per page)</li>
<li>At the conditions, you enter Page Url -&gt; contains -&gt; URL of the pages you want to track. Leave domain for all pages</li>
<li>This trigger fire on all timers</li>
</ol>
<p><img loading="lazy" class="alignnone wp-image-2082 size-large" src="https://vutung.com/wp-content/uploads/2019/08/Create-timer-trigger-1024x552.png" alt="Create-timer-trigger" width="900" height="485" srcset="https://vutung.com/wp-content/uploads/2019/08/Create-timer-trigger-1024x552.png 1024w, https://vutung.com/wp-content/uploads/2019/08/Create-timer-trigger-300x162.png 300w, https://vutung.com/wp-content/uploads/2019/08/Create-timer-trigger-768x414.png 768w, https://vutung.com/wp-content/uploads/2019/08/Create-timer-trigger-1536x828.png 1536w, https://vutung.com/wp-content/uploads/2019/08/Create-timer-trigger-680x367.png 680w, https://vutung.com/wp-content/uploads/2019/08/Create-timer-trigger.png 1806w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>Now, you create a universal analytics event, with category and label as you wish. This will not affect any reports. The correct set up should look like this</p>
<p><img loading="lazy" class="aligncenter wp-image-1997 size-large" src="https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-10-134720-1024x466.png" alt="tag-manager-time-on-page" width="900" height="410" srcset="https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-10-134720-1024x466.png 1024w, https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-10-134720-300x137.png 300w, https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-10-134720-768x350.png 768w, https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-10-134720-680x310.png 680w, https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-10-134720.png 1462w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p><img loading="lazy" class="alignnone wp-image-2084 size-large" src="https://vutung.com/wp-content/uploads/2021/03/timer-tag-1024x511.png" alt="" width="900" height="449" srcset="https://vutung.com/wp-content/uploads/2021/03/timer-tag-1024x511.png 1024w, https://vutung.com/wp-content/uploads/2021/03/timer-tag-300x150.png 300w, https://vutung.com/wp-content/uploads/2021/03/timer-tag-768x383.png 768w, https://vutung.com/wp-content/uploads/2021/03/timer-tag-680x339.png 680w, https://vutung.com/wp-content/uploads/2021/03/timer-tag.png 1520w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<h2>2. Multiple timer on a page</h2>
<p>What if you want to record multiple timer events from the same timer? A single 30 second timer is better than nothing, but what if visitors are spending 5, 10, or as much as 20 minutes on a single page before leaving your site? With only a 30-sec timer, your session duration metric could still be hugely misleading.</p>
<p>The set up will be quite the same, as following instructions below:</p>
<p>1, Create a timer trigger. Set up the same as above, but you should leave limit blank. This will allow the timer listener to fire indefinitely until the user leaves the page or closes their browser.</p>
<p><img loading="lazy" class="aligncenter wp-image-1945 size-large" src="https://vutung.com/wp-content/uploads/2019/08/unlimited-timer-google-analytics-1024x490.png" alt="unlimited-timer-google-analytics" width="900" height="431" srcset="https://vutung.com/wp-content/uploads/2019/08/unlimited-timer-google-analytics-1024x490.png 1024w, https://vutung.com/wp-content/uploads/2019/08/unlimited-timer-google-analytics-300x144.png 300w, https://vutung.com/wp-content/uploads/2019/08/unlimited-timer-google-analytics-768x368.png 768w, https://vutung.com/wp-content/uploads/2019/08/unlimited-timer-google-analytics-680x326.png 680w, https://vutung.com/wp-content/uploads/2019/08/unlimited-timer-google-analytics.png 1132w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>2, Create two new variables to capture the timerEventNumber and timerInterval auto-event variables as follows. At least right now, GTM does not create these macros by default:</p>
<p>Create a new variable named <em>timerEventNumber, </em>set to the value of the <strong>gtm.timerEventNumber </strong>variable in the data layer. This will return the count of the number of times that the timer listener has fired on the page.</p>
<p><img loading="lazy" class="aligncenter wp-image-1947 size-large" src="https://vutung.com/wp-content/uploads/2019/08/create-user-defined-variable-1024x563.png" alt="create-user-defined-variable" width="900" height="495" srcset="https://vutung.com/wp-content/uploads/2019/08/create-user-defined-variable-1024x563.png 1024w, https://vutung.com/wp-content/uploads/2019/08/create-user-defined-variable-300x165.png 300w, https://vutung.com/wp-content/uploads/2019/08/create-user-defined-variable-768x422.png 768w, https://vutung.com/wp-content/uploads/2019/08/create-user-defined-variable-1536x844.png 1536w, https://vutung.com/wp-content/uploads/2019/08/create-user-defined-variable-680x374.png 680w, https://vutung.com/wp-content/uploads/2019/08/create-user-defined-variable.png 1719w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p><img loading="lazy" class="aligncenter wp-image-1949 size-large" src="https://vutung.com/wp-content/uploads/2019/08/create-gtmeventtimer-variable-1024x527.png" alt="Data-layer-variable-configure-time-on-page" width="900" height="463" srcset="https://vutung.com/wp-content/uploads/2019/08/create-gtmeventtimer-variable-1024x527.png 1024w, https://vutung.com/wp-content/uploads/2019/08/create-gtmeventtimer-variable-300x154.png 300w, https://vutung.com/wp-content/uploads/2019/08/create-gtmeventtimer-variable-768x395.png 768w, https://vutung.com/wp-content/uploads/2019/08/create-gtmeventtimer-variable-680x350.png 680w, https://vutung.com/wp-content/uploads/2019/08/create-gtmeventtimer-variable.png 1430w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>Create a new variable named <em>timerInterval</em> exactly as above, but with <strong>gtm.timerInterval</strong> as the data layer variable name. This will return the timer interval that you have specified in the listener tag.</p>
<p>3, Configure a variable , custom javascript</p>
<p><img loading="lazy" class="alignnone wp-image-2086 size-large" src="https://vutung.com/wp-content/uploads/2021/03/custom-javascript-variable-1024x583.png" alt="" width="900" height="512" srcset="https://vutung.com/wp-content/uploads/2021/03/custom-javascript-variable-1024x583.png 1024w, https://vutung.com/wp-content/uploads/2021/03/custom-javascript-variable-300x171.png 300w, https://vutung.com/wp-content/uploads/2021/03/custom-javascript-variable-768x437.png 768w, https://vutung.com/wp-content/uploads/2021/03/custom-javascript-variable-1536x874.png 1536w, https://vutung.com/wp-content/uploads/2021/03/custom-javascript-variable-680x387.png 680w, https://vutung.com/wp-content/uploads/2021/03/custom-javascript-variable.png 1736w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>Then input the following code into the custom Javascript</p>
<p>function() {<br />var elapsed = {{gtm.timerEventNumber}} * {{gtm.timerInterval}} / 1000;<br />var min = elapsed/60;<br />return min + &#8216;m &#8216;;<br />}</p>
<p> <img loading="lazy" class="aligncenter wp-image-1950 size-large" src="https://vutung.com/wp-content/uploads/2019/08/custom-javescript-variable-1024x529.png" alt="custom-javascript-variable-time-on-page" width="900" height="465" srcset="https://vutung.com/wp-content/uploads/2019/08/custom-javescript-variable-1024x529.png 1024w, https://vutung.com/wp-content/uploads/2019/08/custom-javescript-variable-300x155.png 300w, https://vutung.com/wp-content/uploads/2019/08/custom-javescript-variable-768x397.png 768w, https://vutung.com/wp-content/uploads/2019/08/custom-javescript-variable-680x351.png 680w, https://vutung.com/wp-content/uploads/2019/08/custom-javescript-variable.png 1462w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>4, Configure your Universal Analytics event tag as follows.</p>
<p><img loading="lazy" class="aligncenter wp-image-1954 size-large" src="https://vutung.com/wp-content/uploads/2019/08/Configure-GA-event-1024x885.png" alt="GA-configure-time-on-page" width="900" height="778" srcset="https://vutung.com/wp-content/uploads/2019/08/Configure-GA-event-1024x885.png 1024w, https://vutung.com/wp-content/uploads/2019/08/Configure-GA-event-300x259.png 300w, https://vutung.com/wp-content/uploads/2019/08/Configure-GA-event-768x664.png 768w, https://vutung.com/wp-content/uploads/2019/08/Configure-GA-event-680x588.png 680w, https://vutung.com/wp-content/uploads/2019/08/Configure-GA-event.png 1448w" sizes="(max-width: 900px) 100vw, 900px" /></p>


<p>Finally, in Google Analytics, it will look something like this</p>



<figure class="wp-block-image size-large"><img loading="lazy" width="1024" height="583" src="https://vutung.com/wp-content/uploads/2020/10/result-real-time-on-page-1024x583.png" alt="google-tag-manager-gtm-time-on-page" class="wp-image-1957" srcset="https://vutung.com/wp-content/uploads/2020/10/result-real-time-on-page-1024x583.png 1024w, https://vutung.com/wp-content/uploads/2020/10/result-real-time-on-page-300x171.png 300w, https://vutung.com/wp-content/uploads/2020/10/result-real-time-on-page-768x437.png 768w, https://vutung.com/wp-content/uploads/2020/10/result-real-time-on-page-680x387.png 680w, https://vutung.com/wp-content/uploads/2020/10/result-real-time-on-page.png 1461w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p></p>
<p>The post <a rel="nofollow" href="https://vutung.com/2019/08/23/how-to-use-timer-in-gtm-to-track-real-time-on-page/">How to use Timer in GTM to track real time on page (Google Tag Manager)</a> appeared first on <a rel="nofollow" href="https://vutung.com">Vu Thanh Tung</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://vutung.com/2019/08/23/how-to-use-timer-in-gtm-to-track-real-time-on-page/feed/</wfw:commentRss>
			<slash:comments>38</slash:comments>
		
		
			</item>
		<item>
		<title>Send Client ID to Google Analytics to track EVERY SINGLE visitor</title>
		<link>https://vutung.com/2019/08/23/send-client-id-to-google-analytics-to-track-every-single-visitor/</link>
					<comments>https://vutung.com/2019/08/23/send-client-id-to-google-analytics-to-track-every-single-visitor/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 23 Aug 2019 06:18:32 +0000</pubDate>
				<category><![CDATA[Google Analytics]]></category>
		<category><![CDATA[Tag Manager]]></category>
		<guid isPermaLink="false">https://vutung.com/?p=1892</guid>

					<description><![CDATA[<p>Client ID is the anonymous cookie identifier that Google Analytics assigns to every single browser instance of any given web visitor. It’s how GA calculates the Users metric in views...</p>
<p>The post <a rel="nofollow" href="https://vutung.com/2019/08/23/send-client-id-to-google-analytics-to-track-every-single-visitor/">Send Client ID to Google Analytics to track EVERY SINGLE visitor</a> appeared first on <a rel="nofollow" href="https://vutung.com">Vu Thanh Tung</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="https://developers.google.com/analytics/devguides/collection/analyticsjs/cookies-user-id">Client ID is the anonymous cookie identifier that Google Analytics</a> assigns to every single browser instance of any given web visitor. It’s how GA calculates the Users metric in views which don’t have the User ID feature enabled.</p>
<p>Sending the Client ID as a Custom Dimension to Google Analytics is absolutely necessary. It’s the only way to get row-by-row reports split by user, and it’s the only way to query for data collected from any anonymous user.</p>
<p>The setup is really simple. You need a <strong>Custom Dimension</strong> setup in Universal Analytics, and then you simply need to add a new <strong>Field to set</strong> in your Page View tag (or whatever you want to use to send the data to GA)</p>
<h2>1, Create Custom dimension in Google Analytics</h2>
<p>Click on admin -&gt; custom dimension</p>
<p><img loading="lazy" class="wp-image-2005 size-large aligncenter" src="https://vutung.com/wp-content/uploads/2019/08/Untitled-1024x516.png" alt="custom-dimension-client-id-google-analytics" width="900" height="454" srcset="https://vutung.com/wp-content/uploads/2019/08/Untitled-1024x516.png 1024w, https://vutung.com/wp-content/uploads/2019/08/Untitled-300x151.png 300w, https://vutung.com/wp-content/uploads/2019/08/Untitled-768x387.png 768w, https://vutung.com/wp-content/uploads/2019/08/Untitled-1536x774.png 1536w, https://vutung.com/wp-content/uploads/2019/08/Untitled-680x343.png 680w, https://vutung.com/wp-content/uploads/2019/08/Untitled.png 1714w" sizes="(max-width: 900px) 100vw, 900px" /><img loading="lazy" class="aligncenter size-full wp-image-402" src="https://demo2.themaorishop.com/wp-content/uploads/2018/09/Untitled-5.png" alt="" width="1302" height="718" /></p>
<p>Name and choose the type. There are 3 scopes in Google Analytics: hit, session and user. Here, client ID is user scope, which related to each cookies.</p>
<p><img loading="lazy" class="wp-image-2008 size-large aligncenter" src="https://vutung.com/wp-content/uploads/2019/08/Untitled2-1024x744.png" alt="custom-dimension-client-id-google-analytics-2" width="900" height="654" srcset="https://vutung.com/wp-content/uploads/2019/08/Untitled2-1024x744.png 1024w, https://vutung.com/wp-content/uploads/2019/08/Untitled2-300x218.png 300w, https://vutung.com/wp-content/uploads/2019/08/Untitled2-768x558.png 768w, https://vutung.com/wp-content/uploads/2019/08/Untitled2-680x494.png 680w, https://vutung.com/wp-content/uploads/2019/08/Untitled2.png 1098w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p><img loading="lazy" class="aligncenter size-full wp-image-404" src="https://demo2.themaorishop.com/wp-content/uploads/2018/09/Untitled-7.png" alt="" width="1177" height="682" />Then click save. After creating the custom dimensions, there will be an associated index number with it. We will use this index number later.</p>
<p><img loading="lazy" class="aligncenter wp-image-2011 size-large" src="https://vutung.com/wp-content/uploads/2019/08/3-1024x499.png" alt="custom-dimension-client-id-google-analytics-3" width="900" height="439" srcset="https://vutung.com/wp-content/uploads/2019/08/3-1024x499.png 1024w, https://vutung.com/wp-content/uploads/2019/08/3-300x146.png 300w, https://vutung.com/wp-content/uploads/2019/08/3-768x374.png 768w, https://vutung.com/wp-content/uploads/2019/08/3-680x331.png 680w, https://vutung.com/wp-content/uploads/2019/08/3.png 1342w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p><img loading="lazy" class="aligncenter size-full wp-image-412" src="https://demo2.themaorishop.com/wp-content/uploads/2018/09/Untitled1-3.png" alt="" width="1287" height="648" /></p>
<h2>2, Create a variable in Google Tag Manager</h2>
<p><img loading="lazy" class="aligncenter size-full wp-image-406" src="https://demo2.themaorishop.com/wp-content/uploads/2018/09/Untitled1.png" alt="" width="1303" height="696" /></p>
<p>First, you navigate to Google Tag Manager, and create a new variable.</p>
<p><img loading="lazy" class="aligncenter wp-image-2016 size-large" src="https://vutung.com/wp-content/uploads/2019/08/4-1024x585.png" alt="custom-dimension-client-id-google-analytics-3" width="900" height="514" srcset="https://vutung.com/wp-content/uploads/2019/08/4-1024x585.png 1024w, https://vutung.com/wp-content/uploads/2019/08/4-300x171.png 300w, https://vutung.com/wp-content/uploads/2019/08/4-768x439.png 768w, https://vutung.com/wp-content/uploads/2019/08/4-1536x877.png 1536w, https://vutung.com/wp-content/uploads/2019/08/4-680x388.png 680w, https://vutung.com/wp-content/uploads/2019/08/4.png 1660w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p>Then choose custom javascript</p>
<p><img loading="lazy" class="aligncenter wp-image-2018 size-large" src="https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-15-131121-1024x549.png" alt="custom-dimension-client-id-google-analytics-5" width="900" height="483" srcset="https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-15-131121-1024x549.png 1024w, https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-15-131121-300x161.png 300w, https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-15-131121-768x411.png 768w, https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-15-131121-1536x823.png 1536w, https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-15-131121-680x364.png 680w, https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-15-131121.png 1766w" sizes="(max-width: 900px) 100vw, 900px" /></p>
<p><img loading="lazy" class="aligncenter size-full wp-image-407" src="https://demo2.themaorishop.com/wp-content/uploads/2018/09/Untitled1-1.png" alt="" width="1304" height="696" /></p>
<p>Name that client_id_setter, and input this script</p>
<p><code>function() {<br />     // Modify customDimensionIndex to match the index number you want to send the data to<br />     var customDimensionIndex = 5;<br />     return function(model) {<br />          model.set('dimension' + customDimensionIndex, model.get('clientId'));<br />}<br />}</code></p>
<p><img loading="lazy" class="aligncenter wp-image-2024 size-large" src="https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-15-132505-1024x687.png" alt="custom-dimension-client-id-google-analytics-7" width="900" height="604" srcset="https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-15-132505-1024x687.png 1024w, https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-15-132505-300x201.png 300w, https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-15-132505-768x515.png 768w, https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-15-132505-680x456.png 680w, https://vutung.com/wp-content/uploads/2019/08/Screenshot-2020-10-15-132505.png 1410w" sizes="(max-width: 900px) 100vw, 900px" /><br /><img loading="lazy" class="aligncenter size-full wp-image-408" src="https://demo2.themaorishop.com/wp-content/uploads/2018/09/Untitled1-2.png" alt="" width="1316" height="697" /></p>
<p><strong style="font-size: inherit;">REMEMBER TO CHANGE THE &#8220;customDimensionIndex&#8221; IN THE CODE TO THE INDEX NUMBER IN CUSTOM DIMENSION. Here, we must change it to 2</strong></p>
<p>Then save.</p>
<h2>3, Change Google Analytics variable</h2>
<p>Refer to your Google Analytics variable</p>
<p>Click on More setting</p>
<p><img loading="lazy" class="aligncenter size-full wp-image-400" src="https://demo2.themaorishop.com/wp-content/uploads/2018/09/Untitled-3.png" alt="" width="1134" height="690" /></p>
<p>Enter as below screenshot</p>
<p><img loading="lazy" class="aligncenter wp-image-2026 size-large" src="https://vutung.com/wp-content/uploads/2019/08/5-1024x657.png" alt="custom-dimension-client-id-google-analytics-8" width="900" height="577" srcset="https://vutung.com/wp-content/uploads/2019/08/5-1024x657.png 1024w, https://vutung.com/wp-content/uploads/2019/08/5-300x192.png 300w, https://vutung.com/wp-content/uploads/2019/08/5-768x493.png 768w, https://vutung.com/wp-content/uploads/2019/08/5-680x436.png 680w, https://vutung.com/wp-content/uploads/2019/08/5.png 1481w" sizes="(max-width: 900px) 100vw, 900px" /><img loading="lazy" class="aligncenter size-full wp-image-401" src="https://demo2.themaorishop.com/wp-content/uploads/2018/09/Untitled-4.png" alt="" width="908" height="692" /></p>
<p>Then save.</p>
<p>After all changes, you may see the client ID as secondary dimension</p>
<p><img loading="lazy" class="aligncenter size-full wp-image-398" src="https://demo2.themaorishop.com/wp-content/uploads/2018/09/Untitled-2.png" alt="" width="666" height="526" />Good luck on your Digital Marketing career.</p>
<p>Source: https://www.simoahava.com/gtm-tips/use-customtask-access-tracker-values-google-tag-manager/</p>


<p></p>
<p>The post <a rel="nofollow" href="https://vutung.com/2019/08/23/send-client-id-to-google-analytics-to-track-every-single-visitor/">Send Client ID to Google Analytics to track EVERY SINGLE visitor</a> appeared first on <a rel="nofollow" href="https://vutung.com">Vu Thanh Tung</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://vutung.com/2019/08/23/send-client-id-to-google-analytics-to-track-every-single-visitor/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
