Google Marketing: Analytics & DV360
Overview
You can sync Lytics audiences to Google Analytics and Google Display & Video (DV360) in the Google Marketing Platform.
Google Analytics is a web analytics service that is part of the Google Marketing Platform. Connect your Google Analytics account to Lytics to run more targeted marketing campaigns based on how your prospects, customers, and other Lytics audiences engage with your website.
Lytics can pass all public audiences as a Custom Dimension to Google Analytics out-of-the-box. This allows for global filters based on Lytics audiences to be applied to reports, custom views and nearly every aspect of your existing Google Analytics account.
Google DV360 enables marketers to manage their reservation, programmatic, and programmatic guaranteed campaigns across display, video, TV, audio, and other channels, all in one place. The Google DV360 Export in combination with the latest version of the Lytics JavaScript tag can be used to sync Lytics audiences to DV360.
The Google Analytics Measurement Protocol for Google Analytics 4 allows users to augment their automatic collection via gtag, Tag Manager, and Google Analytics for Firebase. Export Lytics event streams or audiences via GA4 Measurement Protocol to tie online to offline behavior, or to send events to Google Analytics that happen outside user-interaction (e.g. offline conversions).
Authorization
Passing Lytics audiences to Google Analytics requires that the Lytics JavaScript tag be installed on your site. Also, keep in mind that any Lytics audience you would like to access in Google Analytics must be API enabled, which Lytics also refers to as "public audiences". This will ensure the JavaScript tag can pass the audience membership to Google Analytics.
If you are new to creating authorizations in Lytics, see the Authorizations documentation for more information.
- Select Google Marketing from the list of providers.
- Select the method for authorization. Note that different methods may support different job types. Google Marketing supports the following authorization methods:
- Google Sign-In for Google Analytics Exports
- GA4 Measurement Protocol API Secret for GA4 Measurement Protocol Exports
- DV360 Delegated Auth for Google DV360 Exports
- Enter a Label to identify your authorization.
- (Optional) Enter a Description for further context on your authorization.
- Complete the configuration steps needed for your authorization. These steps will vary by method.
- Click Save Authorization.
Google Sign-In
- Click Google Sign-in to initiate the authorization flow.
- Log in to the Google account you want to authorize and follow Google's instructions.
GA4 Measurement Protocol API Secret
To authorize with a GA4 Measurement Protocol API Secret you will need an API secret created in Google Analytics. Your GA4 API Secret can be found in the Google Analytics UI under Admin > Data Streams > choose your stream > Measurement Protocol > Create. See the GA4 documentation for more information
- In the Label text box, enter a name for the authorization
- (optional) In the Description text box, enter a description for this authorization
- In the API Secret text box, enter your API Secret credential.
DV360 Delegated Auth
The Google DV360 export workflow does not require an authorization, as authorization is delegated to the Lytics DMP Google Ads account. In order to export to DV360 successfully, you will need to link your DV360 advertiser account with the Lytics DMP account. This is done in Google DV360 via the process described here.
The Google DV360 export workflow requires the DV360 tag sync to be enabled in the Lytics account settings first. This configuration can be found in Vault, under Settings > Javascript tag.
Google Analytics 4 (GA4)
GA4, which was first released into beta in 2019, has replaced Universal Analytics (UA) as the default version for Google Analytics installations. GA4 offers a great deal of flexibility and power over its predecessor. The following document outlines the preferred method for enriching GA4 with an individual's profile information, such as audience membership and Lytics user ID.
There are a variety of robust use cases enabled by this integration, most notably the ability to filter GA4 dashboards by Lytics Audiences as well as distribute those audiences efficiently across the Google ecosystem from GA4 directly. Lastly, web properties are complicated by nature. The following recommended approach aims to focus on ease of installation while also preventing a limitation of the power of GA4. Please note that it is always recommended that you consult with your technical teams or partners before proceeding.
Integration Details
- Implementation Type: Server-side Integration (optional) and Client-side Integrations.
- Implementation Technique: JavaScript Tag Integration.
- Frequency: Real-time Integration
- Resulting data: Audiences and/or User IDs in Google Analytics.
If leveraging the workflow to configure new Dimensions on your behalf. Alternatively, custom user-scoped dimensions can be configured manually. Passing the audience membership data or IDs will leverage the profile request API within our JavaScript tag along with the GA4 set user_properties API.
Step 1: Creating Dimensions
To attribute onsite events such as page views or purchases, you must first define new Custom User Scoped Dimensions
to store the set of audiences and/or User ID depending on preference. This can be done through our server-to-server integration, in which we'll create two properties: Lytics User ID (ly_user_id_dim)
and Lytics Audiences (ly_segments_dim)
. Alternatively, because we'll pass the data to Google via JavaScript, you can create whatever dimensions you want by following Google's documentation. If taking the manual approach, just be sure to use the user
scope option during creation. For details on our server-to-server integration please view our Google Analytics: Setup Custom Dimensions instructions.
Step 2: Enabling Lytics Audiences
Once the necessary dimensions exist within your preferred Google Analytics account, you'll need to ensure all audiences you would like to send to GA4 are flagged as API Enabled from the Audience edit area of Lytics. This feature ensures no data is ever shared or passed to another tool without your explicit instructions to do so.
Step 3: Configuring GA4
Finally, leveraging the profile listener feature of our JavaScript tag, we'll get details of the current visitor and pass those along to GA4 via your new dimensions. Since there are a nearly infinite number of ways sites can be configured and constructed, it is always best to consult your technical team on this step. Here we'll outline the most common approach assuming that GA4 tag installation default instructions were followed.
Installing GA4
A typical installation of GA4 is completed by installing a few lines of JavaScript on your site. Typically in the header or footer.
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-D2LPRHX5G4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'YOUR-PROPERTY-ID');
</script>
Setting User Properties
This will also need to be modified to include the setting of your custom dimensions as well as optionally altering how the initial pageview event is fired. The following example shows ultimately how we'll be sending data to GA4.
gtag('set', 'user_properties', {
'ly_segments_dim': 'one,two,three',
'ly_user_id_dim': 'myid123'
});
Getting Profile Data
To pass the current user's audience information as well as optional user ID, you'll first need to retrieve the profile via our personalization API. Luckily the Lytics tag makes this simple using our entityready listener. The Lytics tag will call the desired function once it has identified the user and accessed their profile. Using the information returned, we'll send the user properties as outlined above.
<script type="text/javascript">
var myCallbackFunction = function(profile){
// do something here with the profile
console.log(profile.data.user.segments);
}
jstag.call('entityReady', myCallbackFunction); // register the listener
</script>
Full Example
We'll alter the default listener example to verify we did receive audience membership data and then pass that along to GA4 as our lytics_segments_dim
dimensions or whatever you named it during the manual creation process.
<!-- Start Send Lytics Audiences to GA4 -->
<script type="text/javascript">
var handleGA4UserProperties = function(profile){
if (window.gtag) {
// ensure we have segments to send to prevent javascript errors
if(typeof profile != "undefined" && typeof profile.data != "undefined" && typeof profile.data.user != "undefined" && typeof profile.data.user.segments != "undefined") {
// send the audience membership to GA4 as a user property
gtag('set', 'user_properties', {
'ly_segments_dim': profile.data.user.segments.join(',')
});
};
} else {
// log a warning if the profile can't be accessed
console.warn('unable to set audience membership in GA4');
}
}
jstag.call('entityReady', handleGA4UserProperties); // register the entityReady listener
</script>
<!-- End Send Lytics Audiences to GA4 -->
In this case, we also log a warning to the console when a set of audience memberships are unavailable for debugging purposes. For demonstration purposes, a full HTML example of loading the GA4 tag, Lytics tag, and listener function might look like the following:
<html>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-D2LPRHX5G4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'YOUR-GA4-PROPERTY-ID');
</script>
</head>
<body>
Lytics GA4 Demonstration
<!-- Start Lytics Tracking Tag Version 3 -->
<script type="text/javascript">
!function(){"use strict";var o=window.jstag||(window.jstag={}),r=[];function n(e){o[e]=function(){for(var n=arguments.length,t=new Array(n),i=0;i<n;i++)t[i]=arguments[i];r.push([e,t])}}n("send"),n("mock"),n("identify"),n("pageView"),n("unblock"),n("getid"),n("setid"),n("loadEntity"),n("getEntity"),n("on"),n("once"),n("call"),o.loadScript=function(n,t,i){var e=document.createElement("script");e.async=!0,e.src=n,e.onload=t,e.onerror=i;var o=document.getElementsByTagName("script")[0],r=o&&o.parentNode||document.head||document.body,c=o||r.lastChild;return null!=c?r.insertBefore(e,c):r.appendChild(e),this},o.init=function n(t){return this.config=t,this.loadScript(t.src,function(){if(o.init===n)throw new Error("Load error!");o.init(o.config),function(){for(var n=0;n<r.length;n++){var t=r[n][0],i=r[n][1];o[t].apply(o,i)}r=void 0}()}),this}}();
// Define config and initialize Lytics tracking tag.
// - The setup below will disable the automatic sending of Page Analysis Information (to prevent duplicative sends, as this same information will be included in the jstag.pageView() call below, by default)
jstag.init({
src: 'https://c.lytics.io/api/tag/YOUR-LYTICS-ACCOUNT-ID/latest.min.js',
pageAnalysis: {
dataLayerPull: {
disabled: true
}
}
});
// You may need to send a page view, depending on your use-case
jstag.pageView();
</script>
<script type="text/javascript">
var handleGA4UserProperties = function(profile){
if (window.gtag) {
// ensure we have segments to send to prevent javascript errors
if(typeof profile != "undefined" && typeof profile.data != "undefined" && typeof profile.data.user != "undefined" && typeof profile.data.user.segments != "undefined") {
// send the audience membership to GA4 as a user property
gtag('set', 'user_properties', {
'ly_segments_dim': profile.data.user.segments.join(',')
});
};
} else {
// log a warning if the profile can't be accessed
console.warn('unable to set audience membership in GA4');
}
}
jstag.call('entityReady', handleGA4UserProperties); // register the entityReady listener
</script>
</body>
</html>
Additional Considerations
At this point, you should successfully pass audience membership to GA4 for each user. Given the flexibility of GA4, there are a variety of configuration options. That said, there are a couple of common points that are worth considering.
- The load order of tags is essential. For this to work correctly, you'll want to load tags in this order:
- GA4
- Lytics Tag
- Lytics Listener
- It may be desired that the GA4 default pageView tag is delayed until the profile information has been set. This ensures all events are associated with the user but could impact the efficiency of tracking page views. This is only recommended for advanced users with a firm understanding of JavaScript. In this case, you would disable the default page view as described here and then fire it manually following the setting of the user properties in our example.
- It may be desired to send an event to GA4 noting when the properties are set. This can be done following the entityready function and the user properties being set. For more information on the various ways to configure events, consult Google's documentation.
- When testing your integration, Google supports a debug setting in their tag configuration settings. These settings allow access to a debug view where you can see the events stream in real-time to confirm proper behavior.
Step 4: Add GA4 Audience
The final step of this integration is to follow Google's recommended approach for building an audience inside of GA4 using custom dimensions. When prompted which dimension to use, you'll want to select the ly_segments_dim
or whatever custom parameter you created and then match based on the value of your audience or a regex match. When passing the audiences to GA4, Lytics converts them to a string
separated by commas as Google does not accept arrays. As such, the dimension value will look similar to audience1,audience2,audience3
.
Google DV360: Cookie Matching Export
Combining this export job with the latest version of the Lytics JavaScript Tag allows you to create powerful audiences for targeting in Google DV360.
Due to a Google requirement beginning March 1, 2024, the User Consent Confirmed checkbox must be selected for the DV360 Export Audiences workflow to run successfully.
Integration Details
- Implementation Type: Server-side Integration and Client-side Integrations.
- Implementation Technique: JavaScript Tag Integration, REST API Integration, Audience Trigger Integration.
- Frequency: Real-time Integration.
- Resulting data: A Lytics audience is synced to Google DV360. The name will be equal to the audience slug in Lytics.
The client-side part of this integration uses the Lytics JavaScript tag (Version 3) and Google DV360 cookie sync to sync visitors to your website. Once a user visits a page of your website where the tag is installed and the DV360 plugin is enabled, the following will happen:
- The user's browser will send an event to Lytics with the user's cookie ID.
- The user's browser will send a request to the DV360 cookie sync endpoint with Lytics' Google Network ID and the user's Lytics cookie ID in base64 encoding.
- Google DV360 will map the Lytics cookie ID to a cookie ID in their system.
When an export job is created in Lytics, it will do the following:
- Create a list in Google DV360 corresponding to the Lytics audience being exported via the Google DV360 proprietary API. The name of the list will be equal to the Audience slug in Lytics. If a DV360 list with that name already exists, the job will use the pre-existing list.
- Scan the Lytics audience for current members.
- For every audience member, the job will check its Lytics profile for the
dv360_id_ts
field, which indicates when the the user was last synced by the client-side cookie sync. If the timestamp does not exist or is older than 90 days, the user will be ignored. - For users with a valid
dv360_id_ts
field, the job will send the user's Lytics cookie ID to Google DV360. Google DV360 will use the match table in their system from the cookie sync to find the user's DV360 ID and add it to the audience. - The job will listen continually for enter and exit events. Users will be added and removed from the audience in Google DV360 via the process described above as they enter or exit the Lytics audience.
Fields
By default, Lytics exports the following fields to Google Marketing DV360.
Lytics User Field | Description | Google Marketing Field | Type |
---|---|---|---|
_uid | Web Cookie Id(current) | Google DV360 ID | string |
Configuration
Follow these steps to set up and configure an export job for Google Marketing in the Lytics platform. If you are new to creating jobs in Lytics, see the Destinations documentation for more information.
- Select Google Marketing: Analytics & DV360 from the list of providers.
- Select the DV360: Cookie Matching Export job type from the list.
- For the Authorization, select DV360 does not need require authorization. To use the DV360 export, an authorization is not necessary in Lytics, but before starting an export, your DV360 account must first be linked with Lytics through the process described here: https://support.google.com/displayvideo/answer/9649053?hl=en.
- Enter a Label to identify this job you are creating in Lytics.
- (Optional) Enter a Description for further context on your job.
- In the Advertiser ID text box, enter your DV360 Advertiser ID.
- (Optional) From the DV360 List input, select which Google DV360 list to append to. If left empty, a new list will be created.
- In Audience Select the Lytics audience to export.
- Select the Existing Users checkbox to add users who already exist in the selected Lytics audience.
- Select User Consent Confirmed to confirm that you have obtained all necessary consent to export users in this audience to Google DV360. This is a Google requirement beginning March 1, 2024, and if this checkbox is not selected after this date, the job will fail. For more information, see https://www.google.com/about/company/user-consent-policy/"
- Click Complete to start job.
Google DV360: Customer Match Export
Export your Lytics audiences to Google DV360 Customer Match to reach and re-engage with your customers across Google Search, Google Shopping, Gmail, and YouTube. Learn more about Google DV360 Customer Match. Refine your targeting efforts using Lytics audiences containing rich information on user behavior and content affinities across channels.
Integration Details
- Implementation Type: Server-side Integration .
- Implementation Technique: REST API Integration, Audience Trigger Integration.
- Frequency: Real-time Integration.
- Resulting data: A Lytics audience is synced to a Google DV360 Customer Match audience.
This integration utilizes the Google Audience Partner API.
When an export job is created in Lytics, it will do the following:
- A CrmBasedUserList is created with the name: Lytics {Audience Name}. If a list with that name already exists, the list will be named: Lytics {Audience Name} {Timestamp}.
- As users enter the Lytics audience, if the selected identifier exists on the user, the user is added to the Google DV360 Customer Match audience with the consent status specified. When users exit the audience the identifiers will be removed from the Google DV360 Customer Match audience.
- Updates are sent to Google DV360 in batches of 10000 or every 10 minutes, whichever is first.
Starting on March 6, 2024 if consent is missing for European Economic Area (EEA) users, then the consent value is determined as not consented. Data from unconsented EEA users won't be processed and cannot be used for ad personalization using Customer Match. See Google's FAQs and updates to consent mode for more details.
Fields
Lytics can export the following fields to Google DV360. You can customize the Lytics source fields as part of the job configuration.
Lytics User Field | Description | Google DV360 Field | Type |
---|---|---|---|
string | |||
idfa | Current IDFA | Mobile Device ID | string |
android_id | Android ID | Mobile Device ID | string |
first_name | First Name | First Name | string |
last_name | Last Name | Last Name | string |
phone | Phone Number | Phone | string |
country_code | Country Code | Country | string |
zip_code | Zip | Zip | string |
Configuration
Follow these steps to set up and configure an export job for Google Marketing: Analytics & DV360 in the Lytics platform. If you are new to creating jobs in Lytics, see the Jobs Dashboard documentation for more information.
- Select Google Marketing: Analytics & DV360 from the list of providers.
- Select the export job type from the list.
- For the Authorization, select DV360 does not need require authorization. To use the DV360 export, an authorization is not necessary in Lytics, but before starting an export, your DV360 account must first be linked with Lytics through the process described here: https://support.google.com/displayvideo/answer/9649053?hl=en.
- Enter a Label to identify this job you are creating in Lytics.
- (Optional) Enter a Description for further context on your job.
- Complete the configuration steps for your job.
- In the Advertiser ID text box, enter your DV360 Advertiser ID.
- (optional) From the DV360 List input, select an existing Google DV360 list to append to. If left empty, a new list will be created..
- From the Ad User Data Consent input, select the consent status for sending user data to Google for advertising purposes. Different consent groups should be sent through separate jobs to the same list.
- From the Personalization Consent input, select consent status for ad personalization. Different consent groups should be sent through separate jobs to the same list.
- From the Email Field input, select which field contains the user's email.
- (optional) From the SHA256 Email input, if email addresses are already hashed in Lytics, select which field contains the SHA256 hashed email .
- (optional) From the Mobile ID input, select to match on mobile ID field instead of email.
- (optional) In the Mobile App ID text box, if Mobile ID is entered, enter the Mobile App ID for the mobile application from which the data was collected to Google DV360 API.
- (optional) From the Phone Number input, select which field contains the user's phone number.
- (optional) From the First Name input, select which field contains the user's first name. To match by name, country code and ZIP Code must be provided.
- (optional) From the Last Name input, select which field contains the user's last name.
- (optional) From the Country Code input, select which field contains the user's two letter country code.
- (optional) From the ZIP Code input, select which field contains the user's ZIP code.
- Click Complete to start job.
Google Marketing: GA4: Measurement Protocol Event Export
The Google Analytics Measurement Protocol for Google Analytics 4 allows users to augment their automatic collection via gtag, Tag Manager, and Google Analytics for Firebase. Export Lytics event streams via GA4 Measurement Protocol to tie online to offline behavior, or to send events to Google Analytics that happen outside user-interaction (e.g. offline conversions).
Integration Details
- Implementation Type: Server-side
- Implementation Technique:
REST API
Audience triggers - Frequency: Real-time
- Resulting data: configured Engagement Time Field and Session ID Field values and any configured additional parameters are exported to GA4
When an export is created, events from the selected streams will be exported via HTTP to Google Analytics, starting from the first event ever received on the stream and continuing in chronological order. Thereafter, events will be sent as received in near real time (note that a small processing delay is expected between when events are received by Lytics and when they are triggered for export in this workflow). Events are formatted using the fields and inputs selected in the job configuration. For more information on GA4 Measurement Protocol payload formatting see the GA4 documentation
The configuration options and fields sent as identifiers depend on the GA4 Version selected in step 8 of the configuration options below. The Client ID and Measurement ID fields are required for exports selecting gtag.js, while Firebase App ID and App Instance ID are required for those that select Firebase.
For both versions, additional fields choice can be included in the Export Scalar Fields selector, which will be sent as event parameters, included in the param
property of the request
Like the client side sync, Lytics sends two user properties: one with an array of Lytics segments that the user belongs to, and another with the User ID Field selected in the job configuration. The job configuration allows you to select the names of these properties, but by default they are set to ly_segments_dim
and ly_user_id_dim
, respectively.
Fields
According to the GA4 documentation, engagement_time_msec and session_id parameters are recommended for inclusion on each event sent, in order for events to be included in reports like Realtime. These two fields therefore have dedicated selectors in the job configuration in steps 12 and 14.
Additional parameters of your choice can be included using the Export Scalar Fields input.
The name property in the outgoing payload can be configured using the Event Name Field. If none is selected, the name of the stream will be used.
Configuration
Follow these steps to set up and configure an export job for Google Marketing in the Lytics platform. If you are new to creating jobs in Lytics, see the Jobs Dashboard documentation for more information.
- Select Google Marketing from the list of providers.
- Select the export job type from the list.
- Select the Authorization you would like to use or create a new one.
- Enter a Label to identify this job you are creating in Lytics.
- (Optional) Enter a Description for further context on your job.
- Complete the configuration steps for your job.
-
From the Data Streams to Export input, select choose data to export, a stream is a single source/type of data (you may choose more than one). If none are selected, all streams are exported.
-
From the GA4 Version input, select either gtag.js or Firebase
-
(optional) In the Client ID text box, enter the unique identifier for a client. This is a required field for gtag.js.
-
(optional) In the Measurement ID text box, enter the measurement ID associated with a stream. This is a required field for gstag.js and can be found in the Google Analytics UI under Admin > Data Streams > choose your stream > Measurement ID.
-
(optional) In the Firebase App ID text box, enter the Firebase App ID. This is a required field for Firebase and can be found in the Google Analytics UI under Project Settings > General > Your Apps > App ID.
-
(optional) From the Engagement Time Field input, select the field that contains the user's engagement time in milliseconds.
-
(optional) From the User ID Field input, select a unique identifier for the user.
-
(optional) In the User Dimension input, enter the custom dimension in your GA4 account that holds unique IDs from Lytics in your GA4 account. The field selected for User ID Field above will be sent as the value. If none is provided, the default is
ly_user_id_dim
. -
(optional) From the Session ID Field input, select the field that contains the user's session ID.
-
(optional) From the App Instance ID Field input, select the field that contains the user's app instance ID.
-
(optional) In the Event Name Field text box, enter the field that contains the event name. If none is provided, the default with be the name of the stream.
-
(optional) In the Segment Dimension input, enter the custom dimension in your GA4 account that contains Lytics Audiences for users in your GA4 account. If none is provided, the default is
ly_segments_dim
. -
(optional) From the Export Scalar Fields input, select additional user fields to send as event parameters in the payload to Google Analytics.
-
Click the Complete button to start the job.
Google Marketing: GA4: Measurement Protocol Audience Export
The Google Analytics Measurement Protocol for Google Analytics 4 allows users to augment their automatic collection via gtag, Tag Manager, and Google Analytics for Firebase. Export Lytics audiences via GA4 Measurement Protocol to tie online to offline behavior, or to send events to Google Analytics that happen outside user-interaction (e.g. offline conversions).
Integration Details
- Implementation Type: Server-side
- Implementation Technique:
REST API,
Audience triggers - Frequency: Real-time
- Resulting data: configured Engagement Time Field and Session ID Field values and any configured additional parameters are exported to GA4
When an export is created, users will be exported via HTTP to Google Analytics as they enter or exit the selected audience in real time, starting with enter events for all current members of the audience. Events are formatted using the fields and inputs selected in the job configuration. For more information on GA4 Measurement Protocol payload formatting see the GA4 documentation
The configuration options and fields sent as identifiers depend on the GA4 Version selected in step 8 of the configuration options below. The Client ID and Measurement ID fields are required for exports selecting gtag.js, while Firebase App ID and App Instance ID are required for those that select Firebase.
For both versions, up to 25 additional fields of your choice can be included in the Export Scalar Fields selector, which will be included in the param
property of the request
Fields
According to the GA4 documentation, engagement_time_msec and session_id parameters are recommended for inclusion on each event sent, in order for events to be included in reports like Realtime. These two fields therefore have dedicated selectors in the job configuration in steps 12 and 14.
Up to 25 additional parameters of your choice can be included using the Export Scalar Fields input.
The name property in the outgoing payload will be set using the following convention, depending on whether the user is entering or exiting the audience: {enter|exit}_{audience_slug}
Configuration
Follow these steps to set up and configure an export job for Google Marketing in the Lytics platform. If you are new to creating jobs in Lytics, see the Jobs Dashboard documentation for more information.
- Select Google Marketing: Analytics & DV360 from the list of providers.
- Select the export job type from the list.
- Select the Authorization you would like to use or create a new one.
- Enter a Label to identify this job you are creating in Lytics.
- (Optional) Enter a Description for further context on your job.
- Select the audience to export.
- Complete the configuration steps for your job.
- From the GA4 Version input, select either gtag.js or Firebase
- (optional) In the Client ID text box, enter the unique identifier for a client. This is a required field for gtag.js.
- (optional) In the Measurement ID text box, enter the measurement ID associated with a stream. This is a required field for gstag.js and can be found in the Google Analytics UI under Admin > Data Streams > choose your stream > Measurement ID.
- (optional) In the Firebase App ID text box, enter the Firebase App ID. This is a required field for Firebase and can be found in the Google Analytics UI under Project Settings > General > Your Apps > App ID.
- (optional) From the Engagement Time Field input, select the field that contains the user's engagement time in milliseconds.
- (optional) From the User ID Field input, select a unique identifier for the user.
- (optional) From the Session ID Field input, select the field that contains the user's session ID.
- (optional) From the App Instance ID Field input, select the field that contains the user's app instance ID.
- (optional) From the Export Scalar Fields input, select additional user fields to send as properties in the payload to Google Analytics. Up to 25 may be selected.
- Click the Complete button to start the job.
Updated 7 months ago