Skip to content

Commit 44f04da

Browse files
author
markzegarelli
authored
Merge pull request #2231 from segmentio/DOC-386_GA4-Actions
DOC-386 GA 4 Private Beta
2 parents cd33e8d + 786aec4 commit 44f04da

File tree

2 files changed

+66
-1
lines changed

2 files changed

+66
-1
lines changed

.vscode/yml.code-snippets

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,9 @@
2020
"prefix": ["- name"],
2121
"body":["- name: ${1:name}\r\tdescription: ${2:description}\r\tdefault: ${3}"],
2222
"description": "Yaml settings"
23-
}
23+
},
24+
"ext_link":{
25+
"prefix": ["{:}"],
26+
"body":["{:target='${1:_blank}'}"]
27+
},
2428
}
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
---
2+
title: Google Analytics 4 Destination
3+
hide-boilerplate: true
4+
hide-dossier: true
5+
hidden: true
6+
---
7+
8+
[Google Analytics 4](https://support.google.com/analytics/answer/10089681){:target="_blank"} is Google's new Analytics property, which you can use for both websites and applications. Google Analytics 4 has machine learning at its core to help surface insights and give you a more complete understanding of your customers across devices and platforms. When you have Segment installed, you can use your existing tracking implementation to fulfill your data collection needs with Google Analytics 4.
9+
10+
> info ""
11+
> This document is about a feature which is in beta. This means that the Destination Actions are in active development, and some functionality may change before it becomes generally available
12+
13+
14+
> success ""
15+
> **Good to know**: This page is about the [Actions-framework](/docs/connections/destinations/actions/) Google Analytics destination. There's also a page about the [non-Actions Google Analytics destination](/docs/connections/destinations/catalog/google-analytics/). Both of these destinations receives data _from_ Segment.
16+
17+
## Benefits of Google Analytics 4
18+
19+
The Google Analytics 4 destination provides the following benefits:
20+
21+
- **Fewer settings**. Data mapping for actions-based destinations happens during configuration, which eliminates the need for most settings.
22+
- **Clearer mapping of data**. Actions-based destinations enable you to define the mapping between the data Segment receives from your source and the data Segment sends to Google Analytics 4.
23+
- **Support for multi-product arrays**. Products nested within arrays, like the products array in the [Order Completed](/docs/connections/spec/ecommerce/v2/#order-completed) event, can be sent to Google Analytics 4.
24+
- **Multi-platform support**. You can use a Google Analytics 4 property for a website, an app, or both a website and app together.
25+
26+
## Getting started
27+
28+
Before you connect Segment to Google Analytics 4, configure a Google Analytics 4 property in your Analytics account. For more information, see Google's article: [Set up Analytics for a website and/or app](https://support.google.com/analytics/answer/9304153){:target='_blank'}.
29+
30+
The Google Analytics 4 destination is in Private Beta and does not appear in the Destinations catalog.
31+
32+
1. To access the destination, navigate to this URL: `https://app.segment.com/<workspace_slug>/destinations/catalog/actions-google-analytics-4`. Replace `<workspace_slug>` with your workspace slug.
33+
2. Click **Configure Google Analytics 4** in the top-right corner of the screen.
34+
3. Choose which of your sources to connect the destination to. (You can connect more sources to the destination later.)
35+
4. Click **Configure Actions** and follow the set up steps to** Create Destination**.
36+
5. On the Settings tab, enter in the [Measurement ID](https://support.google.com/analytics/answer/9539598){:target='_blank'} and API Secret associated with your GA4 stream and click **Save**._ Note: to create a new API Secret, navigate in the Google Analytics UI to Admin > Data Streams > choose your stream > Measurement Protocol > Create. _
37+
6. Follow the steps in the Destinations Actions documentation on [Customizing mappings](/docs/connections/destinations/actions/#customizing-mappings).
38+
39+
## Available Google Analytics 4 actions
40+
41+
Combine the supported [triggers](docs/connections/destinations/actions/#components-of-a-destination-action) with the following Google Analytics 4-supported actions:
42+
43+
* Page View
44+
* Search
45+
* Select Item
46+
* View Item
47+
* View Item List
48+
* Add to Wishlist
49+
* Add to Cart
50+
* Remove from Cart
51+
* View Cart
52+
* Select Promotion
53+
* View Promotion
54+
* Begin Checkout
55+
* Add Payment Info
56+
* Purchase
57+
* Refund
58+
* Generate Lead
59+
* Sign Up
60+
* Login
61+
* Custom Event

0 commit comments

Comments
 (0)