Tapstream Destination

On this page


Destination Info
Components
Connection Modes
Device-mode Cloud-mode
Web Web
Mobile Mobile
Server Server

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 using Segment’s 1.5.1≤ release:

  1. Navigate to the root folder of your project, and run a yarn add @segment/analytics-react-native-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. –>

Settings

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

Setting Description
Account Name
(required)
string. Your Tapstream account name
SDK Secret
(required)
string. This is a required property if you want to send Tapstream data from our mobile SDKs.
Track All Pages to Tapstream boolean, defaults to TRUE .

This will track Loaded a Page events to Tapstream for all page method calls.
Track Categorized Pages to Tapstream boolean, defaults to TRUE .

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 boolean, defaults to TRUE .

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: 08 Mar 2022



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