Overview


Data related to cask is scattered around different sources. The goal of this application is to collect and aggregate that data to provide unified access and generate useful statistics.

sources

Motivation

To be able to generate and display aggregates and trends in one central location and to render front end in order to help marketing team.

Requirements

Assumptions

Infrastructure

Design


 

        Each data source will be in its own TPFS instance

API

External Apis to be used

APIAPI ProviderMetrics gathered
ForceSalesforce.comRaw Leads, MQLs, Sales Opportunities
Youtube reporting APIYoutube.comViews, Subscribers
LinkedIn ApiLinkedIn.comFollowers
Twitter4jOpen SourceFollowers
AWS APIAmazon.comS3 product download logs
Github WebhooksGithubGithub Statistics
Pro Ranking ApiPro RankingWebsite ranking

 

Api Calls

REST EndPoints

MethodEnd PointDescriptionResponse
GET/pipeline/{time period}Returns the data related to marketing and sales leads
time period E {week, month} 
{
start: 06-06-2016,
end: 06-07-2016,
rawleads: 180,
mlq: 60,
inquiries: 100,
opp: 20
}
GET/awareness/webtraffic/{time priod}

Returns the traffic related information for website and

blog

{
start: 06-06-2016,
end: 06-07-2016,
sessions: 200,
newVisitors: 68,
returningVisitors: 80
blogViewers: 100
}
GETawareness/socialmedia/subscribersReturns the subscribers on various social media sites
{
youtube: {
		views: 23,
		subscribers: 2900 
			},
linkedin: 68,
twitter: 80
}
GETawareness/seoReturns the share of voice numbers
{
cask: 25,
informatica: 25,
talend: 25,
snaplogic: 25
}

GETadoption/downloadsReturns the number of downloads for cdap
 {downloads: [ {version: 3.5 , dl: 2000 } ]}

 


UI

Trends


Reports


Alerts