# **Google Analytics For Beginners #1**
###### tags: `Google Analytics` `Google Certificate` `Job` `自我學習`
## Define Digital Analytics
Purchase funnel is the overall stages of customer interaction. Within the basic purchase funnel, contians the following steps:
- Acquisition: Building awareness & Acquiring user interest
- Behavior: User engagements with the business
- Conversion: When user becomes a customer and transact with your business
Besides from a website, GA can also collect behavioral data from a variety of systems, such as:
- Mobile Apps
- Online POS systems
- Video game consoles
- CRM systems
- other internet-connected platforms
Basically, any system that can insert the GA tracking code!
## Process of collecting Analytics data
### Tracking a Website
To track a website, we'll need to create a Google Analytics Account to acquire the Javascript tracking code. **The tracking code should be paste into the HTML of every page of the website, immediately after the opening <head> tag**. Third-party websites, such as Shopify, may have an automated process for including Google Analytics tracking code.
By putting the tracking code in the website, we can collect anonymous information about the user and how they interact with the page.
Information we could collect:
- Language
- Type of Browser
- Device & Operating System
- Traffic Source
Once the page with tracking code is loaded, GA records the "session", which is the period of time of a user navigating through the page. ***A session ends after 30 mins of inactivity.*** If the user returns after the session ended, a new session will begin.
### Processing & Reporting
> *Once Analytics processes the data, it’s stored in a database where it can’t be changed*
>
The collected data will be sent to GA for making reports and analysis.
## Analytics account structure
All GA Accounts can be grouped in an "Organization", with multiple accounts and properties [(img 1)][1]. Genarally, small businesses only need one account.
Each GA account has at least one "Property". Each property can collect data independently of each other, with unique tracking ID in property's tracking info [(img 2)][2].
![image alt][1]
![image alt][2]
### View Settings
In each properties, we can create multiple views. We can use Filters to configurate settings, using the data we want to generate reports. In view level, we can set "Goals" to track conversions and business objectives.
When we set the views, it should always include these three:
- **RAW VIEW**
For all the raw data, without exclusions
- **TEST VIEW**
For testing purposes
- **MASTER VIEW**
Final implementation (Latest version)
Add filters to exclude bots, internal IP and external traffic.
- View settings>Bot filtering>Exclude all hits from known bots and spiders
- Filter>Add filter>Internal IP
- Filter>Add filter>External traffic
Ref: [How to set up account views with filters](https://support.google.com/analytics/answer/6382981?hl=en)
#### Important features of the View:
1. New views only include data from the date created and onwards. When a new view is created, it will not include past data. Also, when we apply new Filters or implementations to the view, the past data will still be in the view.
1. If accidently deleting a view, an Administrator may now recover it within 35 days. Otherwise, it would be permanently deleted.
### User Permission
- **Admin**
Add or remove user access to the account, property, or view.
- **Editor**
Make changes to the configuration settings
- **Analyst**
Allow access to share dashboards or certain measurement settings
- **Viewer**
Allow to view data, analyze reports, create dashboards
Restricted from making changes to the settings or users
[1]: https://lh3.googleusercontent.com/_FW7BZSOnetJdZw_FShlv1rINVBM1_OSKISLi9BIAZKe5C2GxTGdLbXGLq6o2IHV1fyh=w1020-h570
[2]: https://i.imgur.com/Ey4jCFX.png