Skip to content

Commit 204a307

Browse files
authored
Merge pull request #2547 from segmentio/develop
Release 22.9.1
2 parents 9ace483 + ce95daa commit 204a307

File tree

4 files changed

+72
-3
lines changed

4 files changed

+72
-3
lines changed

src/_data/catalog/destinations.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20913,7 +20913,7 @@ items:
2091320913
display_name: GraphJSON
2091420914
name: GraphJSON
2091520915
slug: graphjson
20916-
hidden: true
20916+
hidden: false
2091720917
regional:
2091820918
- us-west
2091920919
url: connections/destinations/catalog/graphjson

src/connections/destinations/add-destination.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@ Some destinations do not support having multiple instances connected to the same
114114

115115
You can create unique destination filters for each destination instance connected to the same source.
116116

117+
118+
### Connect multiple sources to one instance of a destination
119+
120+
It is not possible to connect multiple instances of one source (for example, two website sources) to the same destination. However, you can create another instance of the destination for the other sources, and click **Copy Settings From Other Destination** to save yourself time entering the settings values again.
121+
122+
117123
### Connect to more than one instance of a destination using the Config API
118124

119125
You can add multiple instances of a destination using the Segment Config API. See the Segment Config [API documentation](https://reference.segmentapis.com/?version=latest#39ce0439-0969-48c3-ba49-b22a46c41060). If a destination does not support multi-instance, the Config API throws an appropriate error.

src/connections/destinations/catalog/google-analytics/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ For this example these event attributes are sent to Google Universal Analytics:
195195
| **Event Category** | All |
196196
| **Event Action** | Logged In |
197197

198+
> info ""
199+
> **Note**: In device-mode only, if you pass `category` to the [`page`](/docs/connections/destinations/catalog/google-analytics/#page-and-screen) call, Segment will use the `category` from `page` instead of setting default **Event Category** to `All`.
198200
199201
And another Track call example, this time with all Google Universal Analytics event parameters:
200202

Lines changed: 63 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,67 @@
11
---
2+
rewrite: true
23
title: 'GraphJSON Destination'
3-
hidden: true
4-
published: false
54
beta: true
65
---
6+
[GraphJSON](https://www.graphjson.com/guides/segment){:target="_blank"} provides self-serve analytics to better help you understand your business.
7+
8+
This destination is maintained by GraphJSON. For any issues with the destination, [contact the GraphJSON Support team](mailto:[email protected]).
9+
10+
11+
## Getting Started
12+
13+
1. From the Destinations catalog page in the Segment App, click Add Destination.
14+
2. Search for “GraphJSON” in the Destinations Catalog, and select the “GraphJSON” destination.
15+
3. Choose which Source should send data to the “GraphJSON” destination.
16+
4. Go to the `https://graphjson.com/dashboard/integrations/segment`, find and copy the “API key”.
17+
5. Enter the “API Key” in the “GraphJSON” destination settings in Segment.
18+
6. Go to `https://graphjson.com/dashboard/integrations/segment` and finish the setup on the GraphJSON side.
19+
20+
## Supported methods
21+
22+
GraphJSON supports the following methods, as specified in the [Segment Spec](/docs/connections/spec).
23+
24+
### Page
25+
26+
Send [Page](/docs/connections/spec/page) calls to GraphJSON. For example:
27+
28+
```js
29+
analytics.page()
30+
```
31+
32+
Segment sends Page calls to GraphJSON as a `pageview`.
33+
34+
35+
### Screen
36+
37+
Send [Screen](/docs/connections/spec/screen) calls to GraphJSON. For example:
38+
39+
```obj-c
40+
[[SEGAnalytics sharedAnalytics] screen:@"Home"];
41+
```
42+
43+
Segment sends Screen calls to GraphJSON as a `screenview`.
44+
45+
46+
### Identify
47+
48+
Send [Identify](/docs/connections/spec/identify) calls to GraphJSON. For example:
49+
50+
```js
51+
analytics.identify('userId123', {
52+
53+
});
54+
```
55+
56+
Segment sends Identify calls to GraphJSON as an `identify` event.
57+
58+
59+
### Track
60+
61+
Send [Track](/docs/connections/spec/track) calls to GraphJSON. For example:
62+
63+
```js
64+
analytics.track('Login Button Clicked')
65+
```
66+
67+
Segment sends Track calls to GraphJSON as a `track` event.

0 commit comments

Comments
 (0)