Skip to contentSkip to navigationSkip to topbar
On this page
Looking for more inspiration?Visit the
(information)
You're in the right place! Segment documentation is now part of Twilio Docs. The content you are used to is still here—just in a new home with a refreshed look.

GraphJSON Destination


Destination Info
  • Accepts Page, Identify and Track calls.
  • Refer to it as GraphJSON in the Integrations object
  • This integration is partner owned. Please reach out to the partner's support for any issues.

GraphJSON(link takes you to an external page) provides self-serve analytics to better help you understand your business.

This destination is maintained by GraphJSON. For any issues with the destination, contact the GraphJSON Support team.


Getting Started

getting-started page anchor
  1. From the Destinations catalog page in the Segment App, click Add Destination.
  2. Search for "GraphJSON" in the Destinations Catalog, and select the "GraphJSON" destination.
  3. Choose which Source should send data to the "GraphJSON" destination.
  4. Go to the https://graphjson.com/dashboard/integrations/segment, find and copy the "API key".
  5. Enter the "API Key" in the "GraphJSON" destination settings in Segment.
  6. Go to https://graphjson.com/dashboard/integrations/segment and finish the setup on the GraphJSON side.

GraphJSON supports the following methods, as specified in the Segment Spec.

Page

page page anchor

Send Page calls to GraphJSON. For example:

analytics.page()

Segment sends Page calls to GraphJSON as a pageview.

Send Screen calls to GraphJSON. For example:

[[SEGAnalytics sharedAnalytics] screen:@"Home"];

Segment sends Screen calls to GraphJSON as a screenview.

Send Identify calls to GraphJSON. For example:

1
analytics.identify('userId123', {
2
email: 'john.doe@example.com'
3
});

Segment sends Identify calls to GraphJSON as an identify event.

Send Track calls to GraphJSON. For example:

analytics.track('Login Button Clicked')

Segment sends Track calls to GraphJSON as a track event.


You can send computed traits and audiences generated using Engage to this destination as a user property. To learn more about Engage, schedule a demo(link takes you to an external page).

For user-property destinations, an identify call is sent to the destination for each user being added and removed. The property name is the snake_cased version of the audience name, with a true/false value to indicate membership. For example, when a user first completes an order in the last 30 days, Engage sends an Identify call with the property order_completed_last_30days: true. When the user no longer satisfies this condition (for example, it's been more than 30 days since their last order), Engage sets that value to false.

When you first create an audience, Engage sends an Identify call for every user in that audience. Later audience syncs only send updates for users whose membership has changed since the last sync.

(information)

Real-time to batch destination sync frequency

Real-time audience syncs to GraphJSON may take six or more hours for the initial sync to complete. Upon completion, a sync frequency of two to three hours is expected.


Segment lets you change these destination settings from the Segment app without having to touch any code.

Property nameTypeRequiredDescription
API Keystring
required

Use the GraphJSON API Key in your account settings