ByteGain Destination

ByteGain is an Artificial Intelligence platform that learns from online user behavior to predict and automate the exact actions needed to engage, convert, and retain customers. ByteGain’s software analyzes billions of data points on a website to identify patterns in journeys enabling real-time predictions, and improves over time due to its self-learning nature. The platform then uses these predictions to intelligently automate ad retargeting, personalization, content recommendations, and more.

This destination is maintained by ByteGain. For any issues with the destination, please reach out to their team.

NOTE: The ByteGain Destination is currently in beta, which means that they are still actively developing the destination. This doc was last updated on April 3, 2019. If you are interested in joining their beta program or have any feedback to help improve the ByteGain Destination and its documentation, please let their team know!

Getting Started

The first step is to make sure ByteGain supports the source type and connection mode you’ve chosen to implement. You can learn more about what dictates the connection modes we support here.

WebMobileServer
📱 Device-mode
☁️ Cloud-mode
  1. From your Segment UI’s Destinations page click on “Add Destination”.
  2. Search for “ByteGain” within the Destinations Catalog and confirm the Source you’d like to connect to.
  3. Drop in the “API Key” which you can find from the Setup tab in the ByteGain UI into your Segment Settings UI.
  4. You can now start sending events to ByteGain and check the status light on the Setup tab in the ByteGain UI to verify that data is flowing.
  5. The ByteGain team will process your data over 2-4 weeks. Work with them directly on next steps.

Page

If you haven’t had a chance to review our spec, please take a look to understand what the Page method does. An example call would look like:

analytics.page()

Page calls will be sent to ByteGain as a page event.

Screen

If you haven’t had a chance to review our spec, please take a look to understand what the Screen method does. An example call would look like:

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

Screen calls will be sent to ByteGain as a screen event.

Identify

If you haven’t had a chance to review our spec, please take a look to understand what the Identify method does. An example call would look like:

analytics.identify('userId123', {
  email: 'john.doe@segment.com'
});

Identify calls will be sent to ByteGain as an identify event.

Track

If you haven’t had a chance to review our spec, please take a look to understand what the Track method does. An example call would look like:

analytics.track('Clicked Login Button')

Track calls will be sent to ByteGain as a track event.


Personas

You can send computed traits and audiences generated through Segment Personas to this destination as a user property. To learn more about Personas, reach out for a demo.

For user-property destinations, an identify call will be sent to the destination for each user being added and removed. The property name will be the snake_cased version of the audience name you provide with a true/false value. For example, when a user first completes an order in the last 30 days, we will send an identify call with the property order_completed_last_30days: true, and when this user no longer satisfies we will set that value to false.

When the audience is first created an identify call is sent for every user in the audience. Subsequent syncs will only send updates for those users which were added or removed since the last sync.

Settings

Segment lets you change these destination settings via your Segment dashboard without having to touch any code.

API Key

Retrieve your ByteGain API Key from the Setup tab in the ByteGain Dashboard

Adding ByteGain to the integrations object

To add ByteGain to the integrations JSON object (for example, to filter data from a specific source), use one of the 1 valid names for this integration:
  • ByteGain


  • Questions? Need help? Contact us!
    Can we improve this doc?
    Email us: docs-feedback@segment.com!