What is Google Analytics
Google Analytics is a web analytics service offered by Google that tracks and reports website traffic, currently as a platform inside the Google Marketing Platform brand. Google launched the service in November 2005.
Google Analytics Setup :-
- Sign in through Gmail account or create a Google Analytics account.
- In the left bottom of the sidebar, click Admin.
- On the right side of the screen, select the account you would like to use or create a new account by clicking the + Create Account button.
- Click the + Create Property button.
- Select Website - Copy MEASUREMENT ID and link the same with website setup.
Global site tag (gtag.js) Use this if
you're using a website builder or CMS-hosted site, copy the gtag.js code and paste in head section on the HTML website.
- Link to Google Search Console
- Sign in through Gmail account or create a Google Analytics account.
- In the left bottom of the sidebar, click Admin.
- On the right side of the screen, select the account you would like to use or create a new account by clicking the + Create Account button.
- Click the + Create Property button.
- Select Website - Copy MEASUREMENT ID and link the same with website setup.
Global site tag (gtag.js) Use this if you're using a website builder or CMS-hosted site, copy the gtag.js code and paste in head section on the HTML website.
- Link to Google Search Console
gtag.js code show like :
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-VYSW2ZFKPT"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-VYSW2ZFKPT');
</script>
How Google Analytic works : -
Google
Analytics works by the inclusion of a block of JavaScript code on pages
in your website. When users to your website view a page, this JavaScript code
references a JavaScript file which then executes the tracking operation for Analytics.
What does a session mean in Google Analytics?
A session is a group of user interactions with your website that take place within a given time frame. For example a single session can contain multiple page views, events, ecommerce transactions, and social interactions. ... A single user can open multiple sessions.
0 Comments