Insights API Copy
Created with Sketch.
Template wide questions, asked
when end-user opens template.
Can be used to do what-if by
end-user; by changing
questions end-user gets
insights based on new answers.
Questions also are a way to
map the end-user’s project data
with any analysis.
Questions for this specific
Insight, asked when end-user
opens this Insight. Can be used
to do what-if by end-user; by
changing questions end-user
gets insights based on new
answers.
Insights are a JS based API that glues together all template components like (report/intelligence) plugins, global template and/or Insight specific
questions. The result is a JSX based visualization and explanation for end-users. Visualization is built using large blocks, by calling helper methods
available from plugin results. In addition, an Insight can be subscribe to by end-users, generate notifications, and be deployed (if it contains the result of a
deployable plugin). A template can contain multiple Insights, and an Insights can be made public, through it’s template that can be made publicly
available.
Plugin is being run with
manifest containing data urls
and parameters.
Can be either run on top of
Report data (e.g. timeseries
forecasting), or on Intelligence
goal and model (clustering,
prediction, recommender, etc)
While you can construct things like Segments and virtual
User Properties through the Insight API, you can also use
the exisiting Report bookmarks, User Properties and User
Segments saved in the template.
Question (aka Variable)
- Pick your
conversion goal
event.
- What is your
monthly advertising
budget?
Question (aka Variable)
- Pick your
conversion goal
event.
- What is your
monthly advertising
budget?
Template Questions
Insight Questions
Ingested From External Sources
Custom code; Python, etc.
Uses a report as data source
(timeseries/event data/user
data)
Report Plugin
Custom code; Python, etc.
- Can have a specific goal to optimize:
conversion, retention, had X amount, completed
funnel step, or Custom SQL defined goal.
- Can also have no goal (unsupervised; e.g.
clustering)
- Features automatically added for Project Data.
Custom defined Virtual User properties and
segments are also automatically added.
- Makes sure only “unbiased” features are
generated (when needed by plugin); e.g. total action
X performed by user only for the ones performed
before conversion goal happened.
Intelligence Plugin
- Revenue last 180 days
- Conversion funnel from
signup to payment
- Retention
- Session
- Custom SQL report
(Bookmarked) Report
- Total times action X done
- Total revenue for user
- Funnel for this user
- Retention
- Session
- Custom SQL property
(virtual) User Property
- All users with > $100 revenue
AND
- That came back in 2nd week (retention)
AND
- Completed funnel step 3
AND
- User defined Custom SQL
property is between 10 and 50
User Segment
Plugins
Misc. Analytics Components
1 - End-user Project Data
Actionable Insights
3 - Results for end-users
Project Data
2 - (Shared publicly) Template
Template components
Questions, plugins, bookmarked reports,
user properties, segments, etc.
Visualization for end-user. Has acccess to objects generated in JS-
code, such as plugin result (visualization) helper methods.
JSX code
The glue that brings together questions, plugins and all other
template components.
JS code
Insight X
Insight C
Insight A
Insight B