Skip to content

Commit e6b55a7

Browse files
yyu-summerYimeng Yumarkzegarelli
authored
add graphJSON destination documentation (#2504)
* add graphJSON destination documentation * Apply suggestions from code review * Update src/connections/destinations/catalog/graphjson/index.md * updates Co-authored-by: Yimeng Yu <[email protected]> Co-authored-by: markzegarelli <[email protected]>
1 parent d3249b3 commit e6b55a7

File tree

3 files changed

+64
-3
lines changed

3 files changed

+64
-3
lines changed

Gemfile.lock

100644100755
File mode 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
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)