Menu · Brokerage
Brokerage

Get website traffic

GEThttps://api.ruuster.com/v1/traffic

Google Analytics visits to your Ruuster hostnames by source, medium and campaign. Measured per website, so it can't be split by agent, lead or listing.

  • Authentication: x-api-key and x-email headers of an owner or admin
  • Rate limit: 120 requests per minute per key
View as Markdown

Query parameters

Name Type Default Description
from date 30 days before to First day, YYYY-MM-DD in America/Chicago, included
to date today Day after the last day, YYYY-MM-DD, excluded
granularity string day day, week or month. History goes back to coverage.ga.from in /me
groupBy string source,medium Any of source, medium, campaign, comma-separated. Empty for totals only
hostname string all yours One of hostnames from /me

Response

data.context is brokerage and data.note says traffic can't be split by agent, lead or listing. Each row in data.series: bucket, source, medium, campaign, sessions, users, newUsers, pageViews.

  • (not set) is returned as null.
  • With campaign, the top 50 campaigns per bucket are listed and the rest are combined as other.
  • users isn't additive across rows, so it's null in totals; in week and month buckets it's the sum of each day's users.
  • Google can revise the last 48 hours.
  • Visits from links in Ruuster's own emails show as source sendGrid, medium sendGridEmails.