Ga 4
Ga 4
- To connect your website to Google Analytics, you'll need to add a tag to your
site. A tag is a small piece of code that is added to each page on your website in
order to measure user behavior, or ad functionality. Tags can be added directly to
your website's code, or by using a tag management system like Google Tag Manager.
- the tag will collect information about users, like the device type, and their
geographic location, and how they interact with different pages on your website or
app, like page views and form submissions. As your customers engage with website or
app content, these interactions are sent to Google Analytics as events.
- when a user first visits your website or app, Google Analytics will log this
action as a first visit, or a first open event. And when a user clicks an outbound
link to leave your site, GA will record this as an outbound link click event.
- you should use a single web data stream to measure the web user journey to ensure
consistent user and session reporting. For web journeys that span domains, use a
single web data stream combined with cross domain measurement.
- To tag your website you'll first navigate to the data stream's creation screen,
choose web, and then enter your website URL. This will generate a measurement ID
and website tags specifically for your website. If you are using a website builder
or a CMS system, you should copy the measurement ID and paste it into your website
builder account. You can select your website builder to view instructions on how to
add the measurement ID to your website.
- Google Tag Manager allows you to install code on your website pages and add to or
change that code at any time using the account's interface instead of having to go
back and edit the code itself. In addition, Tag Manager serves as a central place
to manage and update all of your marketing and website tags. For this reason, we
recommend using Google Tag Manager to install your Analytics tag.
- install the tag on each page of your page: you'll see the new website tag listed
in the UI. This tag will need to be installed on every page of your website
immediately after the head tag. Once you install the Analytics tag on your website,
you'll start collecting many points of data automatically to the Google Analytics
property. add the Google tag to your website by copying and pasting it in the code
of every page of your website immediately after the <head> element.
- use manual install tag if:
1. You’re a web developer and prefer hard-coding your own tags.
2. You don’t have time or resources to invest in ramping up a tag management
system.
3. You only plan to set up a few simple tags on your website and don't plan to edit
or deploy new tags often.
- "enhanced measurement" is a setting that automatically measures many website
interactions without requiring updates to your code. Keeping this option enabled
lets you measure common web events like pageviews, scrolls, file downloads, and
video views.
- Use the logEvent method to define and collect up to 500 different event names,
with no limit on total volume.
- The Realtime report displays user activity during the past 30 minutes.
- You can also use Google Tag Assistant and the browser extension, Tag Assistant
Companion, to determine whether your tag is implemented correctly.
- Tag Assistant is a debugging tool, and the optional (but recommended) extension
provides additional debugging information when using Tag Assistant.
- Administrators have full control of the Analytics account. They can manage users
(add or delete users, assign any role or data restriction) and grant full
permissions to any user, including themselves.
- Editors have full control of the settings of the account and its properties. But
editors can't manage users.
- cross domain measurement: collect data across multiple websites from a single
customer. For example, you may have one website where customers shop and a separate
website for processing transactions.
- Unwanted referrals are segments of traffic that arrive on your website through
sources you don’t want included in your data, such as third-party tools that you
use to manage your website and customer transactions.
- developer traffic: Filter out activity from developers who use debug mode.
- internal traffic: Filter out users with an IP address or range of IP addresses
- 2 types of reports:
1. An overview report summarizes information about a topic into several cards, each
focusing on a different objective.
2. A detail report lets you drill into one or two dimensions so you can investigate
that data in greater detail.
- The cards that make up the overview reports focus on a specific objective. These
cards are typically previews of a detail report
- Dimension/metric picker: you can use them to change which data is displayed in
the card. In this case, the dimension is User medium.
- Date range selector: select the time frame you want to report on.
- Link to associated report: This will open a more in-depth report on the card
topic.
- New users by User medium: shows the total number of first-time users who visited
site over the course of the date range. This chart is segmented by medium, so it
tells where users came from — for example, organic, referral, or email.
- reporting categories:
1. Acquisition: Where are your customers coming from?
2. Engagement: What content are your customers engaging with?
3. Monetization: What's your customers' shopping activity?
4. Retention: Are your customers coming back?
5. User Attributes: Who are your customers?
6. Tech: What technology are your customers using?
- Google’s models look for trends between conversions that were directly observed
and those that weren’t. For example, if conversions attributed on one browser are
similar to unattributed conversions from another browser, the machine learning
model will predict overall attribution. Based on this prediction, conversions are
aggregated to include both modeled and observed conversions.
- Core reports (such as the Events, Conversions, and Attribution reports) and
explorations (to select event-scoped dimensions) include modeled data. These
reports automatically attribute conversion events across channels based on a mix of
observed data.
- cross-channel models:
1. last click: Ignores direct traffic and attributes 100% of the conversion value
to the last channel that the customer clicked through. ex:
a. Display > Social > Paid Search > Organic Search → 100% to Organic Search
b. Display > Social > Paid Search > Email → 100% to Email
c. Display > Social > Paid Search > Direct → 100% to Paid Search
2. first click: Gives all credit for the conversion to the first channel that a
customer clicked.
3. linear: Distributes the credit for the conversion equally across all the
channels a customer clicked.
4. position-based: Attributes 40% credit to the first and last interaction, and the
remaining 20% credit is distributed evenly to the middle interactions.
5. time decay: Gives more credit to the touchpoints that happened closer in time to
the conversion. Credit is distributed using a 7-day half-life. In other words, a
click 8 days before a conversion gets half as much credit as a click 1 day before a
conversion.
6. data-driven attribution: Distributes credit for the conversion based on observed
data for each conversion type. It's different from the other models because your
account's data is used to calculate the actual contribution of each click
interaction.
- ads-preferred last click model: same like last click mode. ex:
1. Display > Social > Paid Search > Organic Search → 100% to Paid Search
2. Display > Social > YouTube Engaged View > Email → 100% to YouTube
3. Display > Social > Email > Direct → 100% to Email (fallback to last non-direct
click) << case for no google ads interaction in the path.
- Scope: Set conditions to get the scope of when conditions must be met: across all
sessions, in a single session, or in a single event.
- Static vs. dynamic evaluation: Static evaluation includes users if the condition
was ever true for them. Dynamic evaluation includes users when they meet the
condition and excludes them when they don't.
- Time-windowed metrics: Specify that a metric condition can be true during any
point in the lifetime of a user or that it must be true during a specific number of
days.
- Sequences: let you specify the order in which conditions must be met: indirectly
followed by (anytime after the previous step), directly followed by (immediately
after the previous step), or within a specific time frame. Sequences also let you
specify scope for the entire sequence.
- Audience triggers let you create and trigger events based on criteria that exist
within the audience builder tool. New audience-based events are added to the rest
of your events, letting you analyze them across reports. You can also enable them
as conversions, like other events.
- YouTube EVCs: A conversion event that becomes available when you link your GA
account and Analytics property. A YouTube EVC event indicates that a user watched a
YouTube video for at least 10 seconds, then converted on your website within three
days of viewing the video.
- measurement protocol: A standard set of rules for collecting and sending events
directly to Google Analytics servers. It lets you send data to Analytics from
internet-connected devices like a kiosk or point-of-sale system that complement
your website or app. Measurement Protocol allows developers to make HTTP requests
to send events directly to Google Analytics servers. Developers can use the
Measurement Protocol to:
1. Tie online to offline behavior
2. Measure interactions both client-side and server-side
3. Send events that happen outside web and app (e.g. offline conversions, order
refund, in-store purchases).
- You can also add information to existing events that Analytics has already
collected. Measurement Protocol data and events are joined with existing Analytics
data via a join key, such as user_id or event_id.
- subproperties: gets its data from one other property called the source property.
The data in a subproperty is typically a subset of the data in its source property.
use case:
1. data governance: controlling what data is included or excluded from a property.
Subproperties let you filter data in or out to create the data set needed for a
specific audience or use case.
2. user governance: ex: You have strict company policies stating that one region
(North America) can see a certain subset of data related to their region, but
another region (South America) shouldn't have any access.
- roll-up properties: contains data from two or more source properties. It can
include source data from ordinary properties and subproperties. For example, if you
have separate properties for multiple brands that your company owns, you can roll
those up to a single property that provides an aggregate look at how those brands
perform.