Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Track Pageview
GOSQUARED_TRACKING_PAGEVIEWTracks a pageview event in GoSquared Analytics. Use this to record when a visitor views a page on your site. Requires visitor_id (unique identifier for the visitor) and page URL. Optionally include additional visitor data like screen size, browser info, campaign attribution, and more.
Track GoSquared Transaction
GOSQUARED_TRACKING_TRANSACTIONTrack e-commerce transactions in GoSquared analytics. Use this when a customer completes a purchase to record the transaction details including items purchased, revenue, and customer identification. The transaction ID must be unique - GoSquared uses this to prevent duplicate transactions. If the same transaction ID is sent again, the duplicate will be ignored. Transaction data appears in the GoSquared Ecommerce dashboard and can be associated with People profiles for customer analytics.
Track User Properties
GOSQUARED_TRACK_PROPERTIESTrack user properties for a visitor in GoSquared. Use to set or update profile information for identified users or anonymous visitors. Properties include email, name, company details, and custom fields. Requires either person_id or visitor_id.
Retrieve Aggregate Metrics
GOSQUARED_TRENDS_AGGREGATERetrieve aggregate web analytics metrics for a specified time period. Returns key metrics like pageviews, unique visitors, visits, bounce rate, engaged time, and e-commerce data, grouped by hour, day, or month. Use this tool to analyze overall website traffic trends and performance over time.
Get Campaign Medium Metrics
GOSQUARED_TRENDS_CAMPAIGN_MEDIUMRetrieve UTM medium metrics (utm_medium) aggregated over a specified date range. Use this to analyze which marketing mediums (e.g., email, social, cpc, organic) are driving traffic to your site.
Retrieve Event Counts
GOSQUARED_TRENDS_EVENTRetrieve counts of tracked event triggers over a specified time period. Use this tool to analyze how frequently custom events have been triggered on your site. Events must first be tracked using the GoSquared tracking API before they appear in results. Note: The 'data' property passed when tracking events is not included in this endpoint; use the Feed API to access event metadata.
Get Page Metrics
GOSQUARED_TRENDS_PAGERetrieve page-level visit metrics over a specified time period. Returns a ranked list of pages by visit count within the date range. Use this to analyze which pages received the most traffic during a specific period.
Get Base Path Metrics
GOSQUARED_TRENDS_PATH1Retrieves base path metrics (first URL path segments) over a time period for analyzing traffic to top-level site sections, using an API key with the 'read_trends' scope. When CSV is requested, the returned structured result has an empty list and does not include the CSV data.
Update Account Blocked Bots
GOSQUARED_UPDATE_ACCOUNT_BLOCKED_BOTSTool to update the automatic bot blocking feature for a project. Use when you need to enable or disable bot filtering for analytics tracking.
Update Account Blocked IPs
GOSQUARED_UPDATE_ACCOUNT_BLOCKED_IPSTool to update the list of IP addresses to be blocked for a GoSquared project. Use when you need to block specific IP addresses from being tracked in analytics.