This preview of pull request 1639 is meant for internal use only.

Stormly Destination

Stormly quick info

Stormly is in beta, and accepts Track, Page, Identify, Group, and Alias calls. If you reference it in the Integrations object, call it “Stormly”.

Stormly provides easy-to-use building blocks to quickly create tailor-made analytics solutions using AI, in the form of reusable Templates. Or use ready Templates available on the platform like retention, segmentation, sales forecasting and more.

This destination is maintained by Stormly. For any issues with the destination, contact their support team.

This document is about a destination which is in beta

This means that the Stormly Destination is in active development, and some functionality may change before it becomes generally available.

Getting Started

  1. From the Destinations catalog page in the Segment App, click Add Destination.
  2. Search for “Stormly” in the Destinations Catalog, and select the Stormly destination.
  3. Choose which Source should send data to the Stormly destination.
  4. Go to the Stormly projects page, click Set-Up Data and under “Use tracking code from:” choose Segment.com. Copy the API key that appears.
  5. Enter the API Key you copied from the Stormly projects page in the Stormly destination settings in the Segment app.

Tracked data is usually available in Stormly within seconds. However, brand new projects are only “active” once they have tracked at least 50 unique users.

Arrays

Stormly does not support arrays in traits or properties. In the example below the products property is ignored:

analytics.track('View Webshop Items', {
  cartId: "cart-12345",
  products: [
    {
      productId: "1",
      price: 99.0
    },
    {
      productId: "1",
      price: 99.0
    }
  ]
});

Stormly supports nested properties and traits, except for nested arrays.

Page

If you aren’t familiar with the Segment Spec, take a look at the Page method documentation to learn about what it does. An example call would look like:

analytics.page()

Segment sends Page calls to Stormly as a pageview.

Screen

If you aren’t familiar with the Segment Spec, take a look at the Screen method documentation to learn about what it does. An example call would look like:

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

Segment sends Screen calls to Stormly as a screen.

Identify

If you aren’t familiar with the Segment Spec, take a look at the Identify method documentation to learn about what it does. An example call would look like:

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

Segment sends Identify calls to Stormly as an identify event.

Track

If you aren’t familiar with the Segment Spec, take a look at the Track method documentation to learn about what it does. An example call would look like:

analytics.track('Login Button Clicked')

Segment sends Track calls to Stormly as an event.

Personas

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

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, Personas 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), Personas sets that value to false.

When you first create an audience, Personas 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.

Settings

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

API Key

Visit the Projects page, click “Set-Up Data” and use the tracking code for “Segment.com”

Track named pages

This will track events to Stormly that use Segment’s named “page” function such as: “analytics.page(‘Homepage’)” or “analytics.page(‘Docs’, ‘Developer API’)”. Enabled by default.

Track pages automatically

This will track all pages to Stormly that use Segment’s automatic “page” tracking function like this: “analytics.page()”. We recommend to keep this disabled, because Stormly isn’t really meant for general pageview tracking.

This page was last modified: 15 Oct 2020



Get started with Segment

Segment is the easiest way to integrate your websites & mobile apps data to over 300 analytics and growth tools.
or
Create free account