THÊM GOOGLE ANALYTICS VÀO WEBSITE

      14

Adding Google Analytics to trang web is a must for most webmasters.Google Analytics has been increasingly improved, from interface to lớn measurement features in the new version is Google Analytics 4. This article, Lucid Gen will guide both versions & make sure you can add Google Analytics lớn website with any platsize on the most popular platforms in Vietnam, such as WordPress, LadiPage, and Haravan.

Bạn đang xem: Thêm google analytics vào website


Table of contentsHow khổng lồ generate & get Google Analytics code mãHow khổng lồ add Google Analytics to website with Tag ManagerHow to lớn kiểm tra if Google Analytics is working

A Quiông xã Intro lớn Google Analytics

Google Analytics is the forefather of measurement and statistics tools for websites.And since Google Ads was born, Google Analytics has become a great assistant for conversion measurement and generating volume files for resale.

The usual metrics we will be interested in are as follows:

ViewUserPage loading speedPage viewing time…

More advanced metrics you need khổng lồ measure events khổng lồ see:

EventTargetBehavioral flow…

But this article I only focus on showing you how to lớn add Google Analytics lớn Website.For more details about measurement in Analytics, perhaps I have khổng lồ do another article because it is vibrant.


The two new & old versions of Google Analytics have the following differences in the names of the ID & Tag IDs:

New version:Measurement code ID, measurement tag code.Old version:Tracking code ID, tracking tag code.

Xem thêm: Nơi Bán Khuôn Làm Thạch Mua Ở Đâu Không Lo Độc Hại? Khuôn Làm Thạch Rau Câu Mua Ở Đâu Xịn

Now, let’s start adding Google Analytics to your website.

How lớn generate and get Google Analytics code mã

The first thing we need lớn vị is get the Google Analytics code; if you have never created a Google Analytics account, please see the instructions below.

Create a Google Analytics account

Actually, your Gmail trương mục is your Analytics tài khoản. Unless you don’t have Gmail, create it.Use your Gmail and start following the instructions.

Step 1:Go toanalytics.google.comand clichồng theStartbutton.


*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
How to add Google Analytics khổng lồ Website of Haravan

How to add Google Analytics to any website

For a hand-coded website, you need to lớn find the correct file that will appear in all subpages, such as header, footer, or body.You can insert the Measurement Tag Code (Tracking Tag Code) according lớn this rule.