Page tree
Skip to end of metadata
Go to start of metadata

Get /tracker/query/all

Provides the entire list of Web Statistics 

Returns the entire list of  Web Statistics.

Any web site can be easily configured to be tracked by SalesSeek System just by adding one javascript line. From the moment a web site is configured to be tracked SalesSeek keeps all the history for showing interesting statistics, similar to Google Analytics.

Statistics are collected on real time, and are divided in main filters and their combination:

  • Sources: Which origin page did the visitor used to reach the Web Page.
  • Content: Which specific sections of the web they visited
  • Segments: which kind of interaction they made:
    • Hits: How many clicks, or visits to our web page (including multiple visits from the same user)
    • Visits: How many single users have visited the web page (regarles the amount of visits per same user)
    • Returning: How many users have come back to the web page (no matter how many times)
    • Registered: How many registrations through the web form have been reached
  • Location: Users per country
  • Time: All the previous information over time, or specific date

Request URL

https://{client_id}.salesseek.net/api/tracker/query/all?filter=timefilter%3Dmonth&filter=segmentation%3Dvisitors&filter=source%3Dhttps%3A%2F%2Fwww.google.com%2F&filter=location%3D724  

Response Type

Response content type: JSON Array[]

ModelExample of Response

 Web_Tracking {

locations(Web_Locations): list of amount of visits (depending on the selected segment) by country or list of countries,

segmentation(Web_Segmentation): amount of cases per segment type: registers, returns, visits or simple hits,

sources(Web_Sources): The list of web pages acting as an origin for the users to reach the web page which is been tracked,

visited_pages(Web_pages): The list of web pages acting as an origin for the users to reach the web page which is been tracked,

time(Web_Time): listing the amount of cases per segment over time, depending on the filtering option this list may represent hours, days, weeks or months

}

Web_Locations (AssociativeArray(Location)) {

Location(CountryID_Number:EventNumber): list of pairs of: country id and associated amount of visits

 ISO_Country_Codes

}

Web_Segmentation (AssociativeArray(Segment)) {

Segment(Segment:Events): list of pairs of: Segment and associated amount of occurrences.

/* A segment can be one of the followings: hits, visits, returning, registered */

}

Web_Sources (Array(Source)) {

Source(Source:Events): Array of pairs of: Source (origin web) and associated amount of occurrences.

segmentation(Enum): one of the 4 segments affecting the results on this Web_sources list

}

Web_Pages (JSON) {

segmentation(Enum): one of the 4 segments affecting the results on this Web_pages list

urls(Array(URLs)): List of internal URLs belonging the tracked Web Site and associated amount of occurrences per each

}

URL (JSON) {

url(String): internal URL belonging the tracked Web SiteArray,

visitors(int): amount of visitors (depending on the segment) targeting this associated URL

}

Web_Time (JSON) {

span(String): one of the 5 different perspectives to apply as a time filter,

domain(Array(time)): Ordered List of times, depending on the span may represent hours, days, weeks and months, formatted as YYYY-MM-ddThh_mm. The values on the domain are the headers for the rest of lists in this object, ordered exactly the same way,

hits(Array(int)): amount of hits or clicks per associated time (depending on the span and the domain),

visits(Array(int)): amount of single user visits per associated time (depending on the span and the domain),

returning(Array(int)): amount of users returning per associated time (depending on the span and the domain),

registered(Array(int)): amount of registers per associated time (depending on the span and the domain),

FilterGranularityDescription
Yearmonthsamount of cases per month over the last 12 months
Quarterweeksamount of cases per week over the last 3 months
Monthdaysamount of cases per day over the last 31 days
Weekdays

amount of cases per day over the last 7 days

Dayhoursamount of cases per hour over the last 24 hours


}

{
	locations: {
		32: 17000
		36: 1000
		40: 2000
		...
		152: 28
	}
	segmentation: {
		hits: 90000,
        visits: 60000,
        returning: 40000,
		registered: 10000 		
	}
	sources: {
		segmentation: "returning",
		urls: [
			0: {visitors:12000, url:https://www.google.com.ar/}
			...
			3: {visitors:10000, url:http://es.wikipedia.org/Gemix_Studio}
		]
    }
	visited_pages: {
		segmentation: "returning",
		urls: [
			0: {
				url: "forums/",
				visitors: 19000
			},
			1: {
				url: "price/",
				visitors: 29000
			},
            2: {...}
		]
	}
	time: {
		span: "day"
		domain: [
			2014/01/01 00:00,
			2014/01/02 00:00,
			...
			2014/01/31 00:00
		],		
		hits: [90, 800, ... 10000],
		visits: [50, 600, ... 9000],
		returning: [30, 500, ... 8000],
        registered: [10, 200, ... 7000]
	}
}

 

Parameters

ParameterIn / OutRequiredDescriptionParameter TypeData Type
filter=timefilterInNthe time filter to be appliedint
filter=segmentationInNthe segmentation filter to be appliedint
filter=sourceInNthe web source filter to be appliedint
filter=locationInNthe location (country) filter to be appliedint
responseOut-Resulting Web Tracking Statistics for this Web SiteJSON
  • No labels