Campaign Source

Retrieve historical UTM source data

GETtrends/campaign_source

Retrieves a list of summarised UTM source metrics over a given time period.

Query String Parameters

from

String

The start date-time for the query

to

String

The end date-time for the query

dateFormat

String

The format that any date parameters will be returned in. This takes any value permitted by Moment.

format

StringDefault Value: json

Accepted values: json, csv

The response format required (overrides header)

limit

StringDefault Value: 0,20

The maximum number of results e.g. 10 to return with an optional offset e.g. 5,10

Definition

GET https://api.gosquared.com/trends/v2/campaign_source

Example Request

require 'gosquared'

gs = Gosquared::RubyLibrary.new('demo','GSN-106863-S')

gs.trends.campaign_source

gs.trends.fetch

Live Responseundefined undefined

Your API Key is not authorised for this endpoint

Please fill in the required fields in the Query Builder