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

Tapstream Destination

Tapstream quick info

Tapstream accepts Track, and Page calls. If you reference it in the Integrations object, call it “Tapstream”.

Tapstream accepts device-mode data from both Analytics.js and mobile sources. It does not accept data in cloud-mode.

The Tapstream device-mode destination SDK is only available for ios in React Native.

To add the Tapstream device-mode SDK to a React Native project:

  1. Navigate to the root folder of your project, and run a yarn add tapstream-ios command to add the destination SDK to your project.
  2. Add an import statement to your project, as in the example below.
    import Tapstream from '@segment/analytics-react-native-tapstream-ios'
    
  3. In the same project file, add the destination to the using list in the await command.
    await analytics.setup('YOUR_WRITE_KEY', {
      // Add any of your Device-mode destinations. This ensures they load before continuing.
      using: Tapstream
      // ...
    })
    
  4. Finally, change to your iOS development folder ( cd ios ) and run pod install. –>

Supported Sources and Connection Modes

Before you start, make sure Tapstream supports the source type and connection mode you’ve chosen to implement. You can learn more about connection modes here.

Web Mobile Server
📱 Device-mode ⬜️
☁️ Cloud-mode ⬜️ ⬜️ ⬜️

Settings

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

Account Name

Your Tapstream account name

SDK Secret

This is a required property if you want to send Tapstream data from our mobile SDKs.

Track All Pages to Tapstream

This will track Loaded a Page events to Tapstream for all page method calls.

Track Categorized Pages to Tapstream

This will track events to Tapstream for page method calls that have a category associated with them. For example page('Docs', 'Index') would translate to Viewed Docs Page.

Track Named Pages to Tapstream

This will track events to Tapstream for page method calls that have a name associated with them. For example page('Signup') would translate to Viewed Signup Page.

This page was last modified: 23 Mar 2021



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