Connections Flashcards
What Mobile SDK’s does Segment have?
iOS SKD Android SDK Android Wear SDK Xamarin SDK AMP React Native
How does Segment recommend you install the React Native SDK?
Use NPM to install React Native. This allows you to create a build with specific destinations and makes it much easier to install and upgrade the library and any components.
In cloud-mode, Analytics-React-Native functions as a normal Segment library. In device-mode it wraps the Segment Analytics-iOS and Analytics-Android libraries, and loads the appropriate mobile library depending on the user’s platform. Because of this, Analytics-React-Native includes the two mobile libraries as dependencies.
When should I track Client Side?
- Data not Stored in your Database - page views, clicks, scroll, mouse movements
- Easier to send Client Side - UTM tags, OS, Device Type, cookies data
- Events needed for Client Side only destinations
- Qs: What % of users are using mobile, web, app etc.
When should I track Server Side?
- Payment Events - more accurate than user devices
- Accuracy - Add & Tracker Blockers - sending emails based on events, best to use server side
- Calculated from Database - calculated from a DB query
- Sensitive Information - best kept out of browsers
- Qs: Calculate revenue
What are the Pros & Cons of Client Side tracking?
PROS:
Easily access user context natively
(Cookies, IP, user agent, referrer, UTMs, device info)
No DB required
CONS:
Ad Blockers (or other device based plugins or extensions)
Page unloading
What are the Pros & Cons of Server Side tracking?
PROS:
Not impacted by ext. or plugins so higher accuracy.
Easy to track off-site events
CONS:
No native collection of contextual info.
Certain destinations require client side sources (e.g. heat mapping tools, ad pixels)
What is a Cloud Object Store?
Object Cloud App Sources can export data and import it directly into a Segment warehouse. You must have a Segment warehouse enabled before you enable these. From the warehouse, you analyze your data with SQL, or use Personas’s SQL Traits to build audiences. Some examples of Object Cloud sources are Salesforce (account information), Zendesk (support cases), and Stripe (payments information).
Data synced every 3 hours. Can be sent to warehouse destinations but other because it isn’t real-time or event based.
Data imported in blocks =, not stream or event based.
What is an Event Cloud Source?
Third party tools such as Drip, Iterable, Braze, Looker & Customer.io. No code or engineering effort required.
Data sent to our HTTP API not in blocks like object cloud sources.
Event Cloud Sources can export their data both into Segment warehouses, and into other enabled Segment integrations that work with event data.
What are the Pros & Cons of Cloud Stores?
PROS:
No code require to set up. Pass 3rd party data to segment.
CONS:
Object cloud sources can only send to warehouses.