Sources
Retrieve sources
GETnow/sources
Retrieves a list of sources that have referred visitors to the site, grouped by 'direct', 'organic', 'site' and 'social'. 'site', 'organic' and 'social' can be grouped by the engine/domain too.
Query String Parameters
limit | StringDefault Value: The maximum number of results e.g. |
drillLimit | StringDefault Value: The maximum number of results e.g. |
sections | StringDefault Value: A comma separated list of source types to return. Any of |
minimal | BooleanDefault Value: If true, returns a compacted version of the response |
Example Request
var GoSquared = require('gosquared');
var gosquared = new GoSquared({
api_key: 'demo',
site_token: 'GSN-106863-S'
});
gosquared.now.v3.sources(function(err, res) {
if (err) return console.log(err);
console.log(res);
});
Live Responseundefined undefined
Your API Key is not authorised for this endpoint
Please fill in the required fields in the Query Builder
Retrieve group of sources
GETnow/sources/{sections}
Retrieves a specified group of sources such as 'site'.
Path Parameters
sections | StringRequired The source type to return. One of |
Query String Parameters
limit | StringDefault Value: The maximum number of results e.g. |
drillLimit | StringDefault Value: The maximum number of results e.g. |
minimal | BooleanDefault Value: If true, returns a compacted version of the response |
Example Request
var GoSquared = require('gosquared');
var gosquared = new GoSquared({
api_key: 'demo',
site_token: 'GSN-106863-S'
});
gosquared.now.v3.sources.{sections}(function(err, res) {
if (err) return console.log(err);
console.log(res);
});
Live Responseundefined undefined
Your API Key is not authorised for this endpoint
Please fill in the required fields in the Query Builder