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/api/public-api/index.md
+22-1Lines changed: 22 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,4 +24,25 @@ The Public API includes the following benefits over the Config API:
24
24
| Improved architecture | The Public API is built with improved security, checks for authentication, authorization, input validation, HTTPS exposed services, auto-scaling, and more in mind. |
25
25
| Cleaner mapping | The Public API uses unique IDs for reference, in place of slugs in the Config API. Unique IDs are, by design, unique. |
26
26
| Available in Europe | The Public API is accessible to both US and EU-based workspaces. |
27
-
| Increased reliability | The Public API features more stable endpoints, and a 99.8% success rate |
27
+
| Increased reliability | The Public API features more stable endpoints, and a 99.8% success rate |
28
+
29
+
## API Token Security
30
+
31
+
To enhance API token security, Segment partners with GitHub to prevent fraudulent use of exposed API tokens found in public git repositories. This helps to prevent malicious actors from using exposed tokens to perform unauthorized actions in your Segment workspace.
32
+
33
+
Within seconds, GitHub scans each commit in public repositories for Public API tokens, and sends detected tokens to Segment. Valid tokens are automatically revoked and workspace owners are notified.
34
+
35
+
Learn more about [GitHub's secret scanning program](https://docs.github.com/en/developers/overview/secret-scanning-partner-program){:target="_blank"}.
36
+
37
+
### Frequently Asked Questions
38
+
#### What should I do if I see a notification that my token was exposed?
39
+
In most cases, identifying and revoking an exposed token takes seconds. Segment recommends you check the [audit trail](/docs/segment-app/iam/audit-trail/) to ensure no unauthorized actions were taken with the token.
40
+
41
+
#### How did my token get exposed?
42
+
Developers can accidentally commit tokens to public repositories, exposing them to the public. This can happen when developers use a token in a local development environment and forget to remove it before committing their code.
43
+
44
+
#### Why are exposed tokens automatically revoked?
45
+
By automatically revoking the exposed token, Segment helps keep your workspace secure and prevents potential abuse of the token.
46
+
47
+
#### How do I enable this feature?
48
+
This feature is automatically enabled for all workspaces on Team or Business tier plans.
Copy file name to clipboardExpand all lines: src/connections/destinations/catalog/clearbit-reveal/index.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,8 @@ Setup within Clearbit:
22
22
23
23
To verify that the destination has been set up correctly, send a page event **that includes an IP address**, check the Debugger section of your Segment Source. Assuming everything is as it should be, you should start seeing Clearbit Reveal data populate in an `identify` event – click on the specific event you're interested in to see Clearbit Reveal traits. These traits will now be available to other Segment destinations in your account. Notice that all Clearbit Reveal traits are prefixed with `reveal_` to ensure they don't conflict with existing traits. Clearbit will also send a `track` event for 'enrichment_provider'.
24
24
25
+
When you make requests to Clearbit, Clearbit send events with its own data back to your Segment source server-side using Segment's analytics-ruby library. If you see unexpected traffic from analytics-ruby in your Debugger, that traffic represents the events that Clearbit sends back.
[Customer.io](https://customer.io/) helps you send automated email, push, SMS, and webhooks based on your customers' activities in your app or product. It makes conversion tracking, optimization and re-marketing easier. The `analytics.js` Customer.io Destination is open-source. You can browse the code [on GitHub](https://github.com/segmentio/analytics.js-integrations/tree/master/integrations/customerio).
Copy file name to clipboardExpand all lines: src/connections/destinations/catalog/posthog/index.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,9 @@ title: PostHog Destination
3
3
rewrite: true
4
4
id: 5ece242d61055a0b1bb2e103
5
5
---
6
-
[PostHog](https://posthog.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners) is self-hosted, open-source analytics product. Get the same powerful features as other product analytics software but keep full control over your data.
6
+
[PostHog](https://posthog.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="_blank"} is a self-hosted, open-source analytics product. Get the same powerful features as other product analytics software but keep full control over your data.
7
7
8
-
This destination is maintained by PostHog. For any issues with the destination, [contact the PostHog Support team](mailto:[email protected]).
8
+
This destination is maintained by PostHog. For any issues with the destination, check out the [PostHog users slack](https://posthog.com/slack){:target="_blank"} or [contact the PostHog Support team](mailto:[email protected]).
9
9
10
10
## Getting Started
11
11
@@ -14,11 +14,12 @@ This destination is maintained by PostHog. For any issues with the destination,
14
14
1. From the Destinations catalog page in the Segment App, click **Add Destination**.
15
15
2. Search for "PostHog" in the Destinations Catalog, and select the PostHog destination.
16
16
3. Choose which Source should send data to the PostHog destination.
17
-
4. Go to your [PostHog set up page](https://app.posthog.com/setup), and find and copy the **API key**.
17
+
4. Go to your [PostHog set up page](https://app.posthog.com/setup){:target="_blank"}, and copy the **API key**.
18
18
5. Enter the PostHog API Key that you copied in the PostHog destination settings in Segment.
19
-
20
-
> note ""
21
-
> **Note**: If you're hosting your own PostHog instance, add the URL of your instance without the trailing slash in the **PostHog instance** setting. For example, `https://posthog-example.herokuapp.com`
19
+
6. Enter your PostHog instance URL as the address to your instance **without any trailing slash**, for example:
20
+
-`https://app.posthog.com` if you use PostHog Cloud US
21
+
-`https://eu.posthog.com` if you use PostHog Cloud EU
22
+
-`https://posthog-example.herokuapp.com` if you self-host on Heroku
Copy file name to clipboardExpand all lines: src/connections/sources/catalog/libraries/mobile/react-native/index.md
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -595,7 +595,19 @@ No, only the plugins listed above are supported in device-mode for Analytics Rea
595
595
### Will I still see device-mode integrations listed as `false` in the integrations object?
596
596
When you successfully package a plugin in device-mode, you won't see the integration listed as `false` in the integrations object for a Segment event. This logic is packaged in the event metadata, and isn't surfaced in the Segment debugger.
597
597
### Why are my IDs not set in UUID format?
598
-
Due to [limitations](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/uuid.ts#L5){:target="_blank"} with the React Native bridge, Segment doesn't use UUID format for `anonymousId`s and `messageId`s in local development. These IDs will be set in UUID format for your live app.
598
+
Due to [limitations](https://github.com/segmentio/analytics-react-native/blob/master/packages/core/src/uuid.ts#L5){:target="_blank"} with the React Native bridge, Segment doesn't use UUID format for `anonymousId` and `messageId` values in local development. These IDs will be set in UUID format for your live app.
599
+
### How do I set a distinct writeKey for iOS and android?
600
+
You can set different writeKeys for iOS and Android. This is helpful if you want to send data to different destinations based on the client side platform. To set different writeKeys, you can dynamically set the writeKey when you initialize the Segment client:
0 commit comments