You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/connections/destinations/catalog/actions-google-analytics-4/index.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,10 @@ For a complete map of Universal Analytics functionality to corresponding Google
128
128
129
129
## FAQ & Troubleshooting
130
130
131
+
### Data not sending to Google
132
+
133
+
Ensure that at least one mapping has been configured and enabled in the destination mappings for an event that you would like to reach Google. Without any mappings enabled to trigger on an event that has been ingested by the connected source, the destination will not send events downstream.
134
+
131
135
### Attribution Reporting
132
136
133
137
Google doesn't currently support passing certain reserved fields to the Google Analytics 4 Measurement Protocol API. This includes attribution data, like UTM parameters. If you rely on attribution reporting, you can either send this data as [custom dimensions](/docs/connections/destinations/catalog/actions-google-analytics-4/#custom-dimensions-and-metrics) or implement a parallel client-side integration to collect this data with gtag.js.
4. Select the source that will send data to Intercom Cloud Mode (Actions) and follow the steps to name your destination.
34
-
5. On the **Settings** tab, authenticate with Intercom using OAuth.
34
+
5. On the **Settings** tab, authenticate with Intercom using OAuth. If you have multiple Intercom workspaces, choose one workspace that you'll connect to Segment.
35
35
6. Follow the steps in the Destinations Actions documentation on [Customizing mappings](/docs/connections/destinations/actions/#customize-mappings).
36
36
7. Enable the destination and configured mappings.
[Matomo](https://matomo.org/), formerly Piwik, is the leading open source web analytics platform that gives you valuable insights into your website's visitors, your marketing campaigns and much more, so you can optimize your strategy and online experience of your visitors.
7
+
[Matomo](https://matomo.org/), formerly Piwik, is the leading open source web analytics platform that gives you valuable insights into your website's visitors, your marketing campaigns and much more, so you can optimize your strategy and online experience of your visitors.
8
+
9
+
Segment’s Matomo destination code is open-source and can be viewed on GitHub:
Segment can keep track of events occurring on any number of video players on your
14
-
page. **You must include the `session_id`propert with every video event you want to send to the Youbora so Segment can keep track of which player to attribute the events to.**
14
+
page. **You must include the `session_id`property with every video event you want to send to Youbora so Segment can keep track of which player to attribute the events to.**
15
15
16
16
17
17
### Video Playback Started
18
18
19
-
When a user starts playback of a video, use the [Video Playback Started](/docs/connections/spec/video/#playback-events) event. Segment maps the properties
20
-
from the Video Playback Started event to the following Youbora video metadata
21
-
fields:
22
-
23
-
<table>
24
-
<tr>
25
-
<td>**Youbora Parameter**</td>
26
-
<td>**Segment Property**</td>
27
-
<td>**Data Type**</td>
28
-
</tr>
29
-
<tr>
30
-
<td>'content.isLive'</td>
31
-
<td>`properties.livestream`</td>
32
-
<td>Boolean</td>
33
-
</tr>
34
-
<tr>
35
-
<td>Resource</td>
36
-
<td>`context.page.url`</td>
37
-
<td>String</td>
38
-
</tr>
39
-
</table>
19
+
When a user starts playback of a video, use the [Video Playback Started](/docs/connections/spec/video/#playback-events) event. Segment maps the properties from the Video Playback Started event to the following Youbora video metadata fields:
20
+
21
+
| Youbora Parameter | Segment Property | Data Type |
When the video content actually begins playing, use the [Video Content
44
-
Started](/docs/connections/spec/video/#content-events) event. Segment maps the properties
45
-
from the Video Playback Started event to the following Youbora video metadata
46
-
fields:
47
-
48
-
<table>
49
-
<tr>
50
-
<td>**Youbora Parameter**</td>
51
-
<td>**Segment Property**</td>
52
-
<td>**Data Type**</td>
53
-
</tr>
54
-
<tr>
55
-
<td>'content.title'</td>
56
-
<td>`properties.title`</td>
57
-
<td>String</td>
58
-
</tr>
59
-
<tr>
60
-
<td>'content.title2'</td>
61
-
<td>`properties.program`</td>
62
-
<td>String</td>
63
-
</tr>
64
-
<tr>
65
-
<td>'content.duration'</td>
66
-
<td>`properties.total_length`</td>
67
-
<td>Integer</td>
68
-
</tr>
69
-
<tr>
70
-
<td>'content.metadata.content_id'</td>
71
-
<td>`properties.asset_id`</td>
72
-
<td>String</td>
73
-
</tr>
74
-
<tr>
75
-
<td>'content.metadata.genre'</td>
76
-
<td>`properties.genre`</td>
77
-
<td>String</td>
78
-
</tr>
79
-
<tr>
80
-
<td>'content.metadata.owner'</td>
81
-
<td>`properties.publisher`</td>
82
-
<td>String</td>
83
-
</tr>
84
-
</table>
85
-
86
-
Using the difference in time between when `Video Playback Started` and `Video
87
-
Content Started`, Youbora will calculate the join time for you.
29
+
When the video content actually begins playing, use the [Video Content Started](/docs/connections/spec/video/#content-events) event. Segment maps the properties from the Video Playback Started event to the following Youbora video metadata fields:
30
+
31
+
| Youbora Parameter | Segment Property | Data Type |
When a user pauses or resumes playback of a video, use the [Video Playback Paused](/docs/connections/spec/video/#playback-events) and [Video Playback Resumed](/docs/connections/spec/video/#playback-events) events.
94
45
95
-
If the user pauses during an ad, be sure to fill the
96
-
`properties.ad_asset_id` field from our spec for **both** calls, as we use its
46
+
If the user pauses during an ad, fill the `properties.ad_asset_id` field from the spec for **both** calls, as Segment uses its
97
47
presence to determine whether the pause is occurring during an ad or not.
calculates the duration of the seek but if you would prefer to provide this
119
-
value yourself you can pass it as the integration-specific option `duration`.
65
+
When the video content actually begins playing, use the [Video Playback Seek Started](/docs/connections/spec/video/#playback-events) and [Video Playback Seek Completed](/docs/connections/spec/video/#playback-events) events. Youbora internally calculates the duration of the seek but if you would prefer to provide this value yourself you can pass it as the integration-specific option `duration`.
120
66
121
67
**Example**
122
68
@@ -133,10 +79,6 @@ Playback Buffer Started](/docs/connections/spec/video/#playback-events) and [Vid
133
79
Buffer Completed](/docs/connections/spec/video/#playback-events) events. Segment maps the
134
80
properties from these events to the following Youbora video metadata fields:
135
81
136
-
If the buffer occurs during an ad, be sure to fill the
137
-
`properties.ad_asset_id` field from our spec for **both** calls, as we use its
138
-
presence to determine whether the buffer is occurring during an ad or not.
To track the completion of an ad, use the [Video Ad Completed](/docs/connections/spec/video/#ad-events) event.
191
126
192
127
**Example**
193
128
@@ -214,13 +149,9 @@ Youbora supports automatic video tracking for the following video players:
214
149
- ThePlatform
215
150
- VideoJS
216
151
217
-
However, note that relying solely on Youbora auto tracking will not send your
218
-
video events to Segment downstream destinations, including a raw data warehouse.
219
-
To track data to downstream tools, we recommend either manually implementing all
220
-
video player events or manually implementing all events alongside Youbora. If
221
-
you employ the latter method, you should indicate explicitly that your Segment
222
-
events should not flow to Youbora (because they've already been auto-tracked by
223
-
the Youbora library).
152
+
However, relying solely on Youbora auto tracking will not send your video events to Segment downstream destinations, including a raw data warehouse. To track data to downstream tools, Segment recommends either manually implementing all video player events or manually implementing all events alongside Youbora.
153
+
154
+
If you employ the latter method, you should indicate explicitly that your Segment events should not flow to Youbora (because they've already been auto-tracked by the Youbora library).
In the `options` field, you can pass options the same way you would [pass them natively to Youbora](http://developer.nicepeopleatwork.com/plugins/general/setting-youbora-options/){:target="_blank"}.
274
202
275
-
See the below example for what a working implementation looks like:
203
+
The following example shows a working implementation:
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/cloud-apps/facebook-lead-ads/index.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -139,6 +139,8 @@ Log into your downstream tools and check that your events are populating, and co
139
139
140
140
### No Data After Updating Credentials
141
141
142
-
When a connected account changes or updates their credentials, the customer will have to create a new Facebook Lead Ads source. Reauthorization implies that a new token gets generated, but the token is not the sole link between Segment and Facebook. A Segment app is installed onto an FB Account and that will be the sprouting point from where tokens are generated. The reason we can't disconnect and reconnect the CRM on Facebook with reauthorization is because the creation of a new token will mean to invalidate the rest of the tokens attached to the same Facebook account.
142
+
When you update or change credentials on a connected account, you need to create a new Facebook Lead Ads source to reauthorize Facebook. Reauthorization implies that a new token is generated, but the token is not the only link between Segment and Facebook.
143
143
144
-
For example, let's imagine you have a Facebook Account with three accounts: Account A, Account B, and Account C. You connect Segment to all of them and then generate tokens respectively. Later on, you decide for whatever reason to reauthorize the "Account A" page, the other tokens will be invalidated, and the pages will stop working.
144
+
When you connect the Facebook Leads Ads source, a Segment application is installed on the connected Facebook account. If you were to generate a new token on the same source, it would invalidate all other tokens attached to that Facebook account.
145
+
146
+
For example, if you have a Facebook Account with three accounts: Account A, Account B, and Account C, you can connect Segment to all of them and then generate a token for each account. Later on, if you need to reauthorize the "Account A" page, the tokens for Account B and Account C are invalidated, and the pages stop working.
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/mobile/react-native/index.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,6 +72,7 @@ To get started with the Analytics for React Native 2.0 library:
72
72
`trackAppLifecycleEvents`| The default is set to `false`. <br> This enables you to automatically track app lifecycle events, such as application installed, opened, updated, backgrounded. Set to true to `true` to track.
73
73
`trackDeepLinks`| The default is set to `false`. <br> This automatically tracks when the user opens the app via a deep link. Set to Enable automatic tracking for when the user opens the app via a deep link.
74
74
`proxy`| The default is set to `undefined`. <br> This is a batch url to post to instead of the default batch endpoint.
75
+
`collectDeviceId`| The default is set to `fasle`. <br> This automatically adds a `device.Id` property to the context object from the DRMAPI on Android devices.
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/website/javascript/index.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -758,6 +758,7 @@ Segment offers video player 'plugins' so you can quickly collect video events us
758
758
759
759
Analytics.js tracks across subdomains out of the box; all Segment destinations fully support this feature.
760
760
761
+
To track activity on your subdomains, include the Segment Analytics.js snippet on each subdomain. Segment sets users' `anonymousId` on the top-level domain, so users are tracked across any subdomains.
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/website/javascript/supported-browsers.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,10 +15,13 @@ The library is regularly tested and is functional with the following browsers:
15
15
- Microsoft Edge
16
16
- Brave
17
17
18
+
18
19
### Internet Explorer Support
19
20
20
21
Segment guarantees support for Internet Explorer 11 and later for Analytics.js. Remember that different bundled (device-mode) destinations might have different compatibility guarantees for their own products. Refer to the vendor's documentation to confirm browser compatibility.
21
22
23
+
> info ""
24
+
> Classic destinations and Analytics.js support Internet Explorer 11, but some Actions destinations are not yet supported.
Copy file name to clipboardExpand all lines: src/connections/sources/index.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,12 @@ To create a source:
71
71
4. Enter a name for your source as well as any information on the setup page.
72
72
5. Click **Add Source**.
73
73
74
+
> info "One source or multiple sources?"
75
+
> Segment suggests that you create one source for each type of data you want to collect. For example, you might have one source for all of your website tracking and a different source for any mobile tracking. Creating one source per data type provides the following benefits:
76
+
> - Debugger ease of use - mixing libraries/sources on a single API key means you’re heavily reliant on filtering to actually test events
77
+
> - Flexibility sending data to different projects - if you want to have different warehouse schemas, analytics projects, etc, having multiple sources would create this separation
78
+
> - More control - as your account grows with the number of destinations you enable, having separate sources allows you to have more control
79
+
74
80
## Website libraries
75
81
76
82
[Analytics.js](/docs/connections/sources/catalog/libraries/website/javascript/), the JavaScript library, is the most powerful way to track customer data from your website. If you're just starting out, Segment recommends it over server-side libraries as the simplest installation for any website.
0 commit comments