# Gosquared

GoSquared provides real-time web analytics and customer engagement tools to help businesses understand and interact with their website visitors.

- **Category:** analytics
- **Auth:** API_KEY
- **Tools:** 90
- **Triggers:** 0
- **Slug:** `GOSQUARED`
- **Version:** 20260217_00

## Tools

### Add Shared User

**Slug:** `GOSQUARED_ACCOUNT_ADD_SHARED_USER`

Tool to add a new shared user to a project. Use when inviting team members via their email address.

### Remove shared user

**Slug:** `GOSQUARED_ACCOUNT_REMOVE_SHARED_USER`

Removes a shared user from a GoSquared project by their email address, revoking their access to the site. Requires owner-level API key permissions. Use GOSQUARED_ACCOUNT_SHARED_USERS first to list current shared users.

### Account Shared Users

**Slug:** `GOSQUARED_ACCOUNT_SHARED_USERS`

Retrieves all team members who have access to the current GoSquared project. Returns each user's ID, email, access state (owner/active/pending), and role (owner/admin/member). Requires an API key with owner-level permissions for the project. Use this to audit project access or verify team member invitations.

### List Account Sites

**Slug:** `GOSQUARED_ACCOUNT_SITES`

List all projects/sites accessible to the authenticated account. Requires 'read_account' API key scope. Use 'grouped' format to see owned vs shared sites, or 'flat' for a simple list.

### Check API Token Validity and Scopes

**Slug:** `GOSQUARED_AUTH_TOKEN_INFO`

Tool to check whether an API key is valid and retrieve its enabled scopes. Use when verifying API credentials before making further API calls.

### Block Visitor

**Slug:** `GOSQUARED_BLOCK_VISITOR`

Tool to block a specific visitor from being tracked. Use when you need to prevent tracking for a particular visitor ID.

### Retrieve Chat Conversation

**Slug:** `GOSQUARED_CHAT_CHAT`

Retrieve detailed information about a chat conversation by its ID. Use this tool when you need to: - Get the current state of a chat conversation (agent assignment, read status) - View the latest message in a conversation - Check visitor presence and contact details - Determine if a chat is archived or active Prerequisites: Obtain a valid chatID from GOSQUARED_CHAT_CHATS or use a person_id from GOSQUARED_LIST_PEOPLE. Note: To retrieve the full conversation history with all messages, use GOSQUARED_CHAT_FEED instead. This endpoint returns summary information and only the latest message.

### Retrieve Chat Messages

**Slug:** `GOSQUARED_CHAT_CHAT_MESSAGES`

Retrieve messages from a GoSquared chat conversation by chat ID. Use this tool to: - Fetch message history from a specific chat conversation - Page through chat messages with offset and limit - Filter messages by date range - Get the total count of messages via the cardinality field Prerequisites: - Obtain a valid chatID from GOSQUARED_CHAT_CHATS or GOSQUARED_CHAT_CHAT actions - The chatID corresponds to the person_id of the visitor Returns: - A list of messages with timestamp, sender, and text content - Cardinality field showing the total message count

### Retrieve Chat Conversations

**Slug:** `GOSQUARED_CHAT_CHATS`

Tool to retrieve chat data for reporting purposes. Use when you need to list active chat conversations within a specific time window.

### Retrieve Chat Feed

**Slug:** `GOSQUARED_CHAT_FEED`

Retrieve the complete feed of messages and events from a chat conversation. Use this action to: - Fetch chat history and conversation timeline for a specific person - Review messages exchanged between agents, bots, and visitors - Access internal/private agent notes and public messages - Track chat events like archiving, status changes, etc. - Retrieve messages with rich content including emojis and Unicode text The chat_id corresponds to a person_id from the GoSquared People API. You can obtain valid person_id values by first calling the List People action. Supports pagination and date filtering to retrieve specific portions of the chat history. Feed items are typically returned in reverse chronological order.

### Create Account Webhook

**Slug:** `GOSQUARED_CREATE_ACCOUNT_WEBHOOK`

Tool to create a webhook to receive notifications about events in a GoSquared project. Use when you need to register a new webhook endpoint for real-time event notifications.

### Create Webhook Trigger

**Slug:** `GOSQUARED_CREATE_WEBHOOK_TRIGGER`

Tool to add a trigger to an existing GoSquared webhook. Use when configuring webhook alerts for traffic spikes, traffic dips, chat messages, or smart group events.

### Delete Account Webhook

**Slug:** `GOSQUARED_DELETE_ACCOUNT_WEBHOOK`

Tool to delete a webhook from a GoSquared account. Use when you need to remove an existing webhook by its ID.

### Delete person

**Slug:** `GOSQUARED_DELETE_PERSON`

Tool to delete a person profile and all associated data. Use when you need to permanently remove a person's record and optionally blacklist them.

### Timeout Visitor Sessions

**Slug:** `GOSQUARED_END_VISITOR_SESSIONS`

Tool to end all tracking sessions for a specified visitor in GoSquared. Use when you need to manually terminate a visitor's session, such as when a user logs out or closes their browser. Optionally specify a page index to timeout only a specific session.

### Get Account Blocked Items

**Slug:** `GOSQUARED_GET_ACCOUNT_BLOCKED`

Tool to retrieve a list of blocked IP addresses, bots, and visitors for a project. Use when you need to see all blocked items across all categories.

### Get Account Blocked Bots

**Slug:** `GOSQUARED_GET_ACCOUNT_BLOCKED_BOTS`

Tool to retrieve the bot blocking status for a GoSquared project. Use when you need to check whether automatic bot blocking is enabled.

### Get Blocked IP Addresses

**Slug:** `GOSQUARED_GET_ACCOUNT_BLOCKED_IPS`

Tool to retrieve the list of blocked IP addresses for the account. Use when you need to view which IP addresses are currently blocked from tracking or accessing the site.

### Get Account Blocked Visitors

**Slug:** `GOSQUARED_GET_ACCOUNT_BLOCKED_VISITORS`

Tool to retrieve visitor IDs that have been blocked for a project. Use when you need to list visitors who were blocked (typically via the 'Ignore' button in the visitor widget).

### Get Account Site Details

**Slug:** `GOSQUARED_GET_ACCOUNT_SITE`

Tool to retrieve detailed information about a specific site/project by its site_token. Use when you need to fetch configuration details, ownership info, or metadata for a particular GoSquared project.

### Get Account Sites Usage

**Slug:** `GOSQUARED_GET_ACCOUNT_SITES_USAGE`

Tool to retrieve all sites and their pageview counts for the authenticated account. Use when you need to get usage statistics across all sites. Optionally filter by date range using 'from' and 'to' parameters.

### Get Account Tagged Visitors

**Slug:** `GOSQUARED_GET_ACCOUNT_TAGGED_VISITORS`

Tool to retrieve the list of tagged visitors from the account. Use when you need to see which visitors have been tagged and their associated tags.

### Get Account Trigger Type

**Slug:** `GOSQUARED_GET_ACCOUNT_TRIGGER_TYPE`

Tool to retrieve details of a specific trigger type from GoSquared. Use when you need to understand the payload structure and fields for a particular trigger type before setting up automation workflows or webhooks.

### Get Account Trigger Types

**Slug:** `GOSQUARED_GET_ACCOUNT_TRIGGER_TYPES`

Tool to retrieve available types of triggers in GoSquared. Use when you need to discover what trigger types are supported for automation workflows or webhook configurations.

### Get Account Webhook

**Slug:** `GOSQUARED_GET_ACCOUNT_WEBHOOK`

Tool to retrieve a specific webhook by ID from a GoSquared account. Use when you need to fetch details about an existing webhook configuration.

### Get Account Webhooks

**Slug:** `GOSQUARED_GET_ACCOUNT_WEBHOOKS`

Retrieves a list of webhooks configured for the GoSquared project. Returns webhook details including ID, URL, event type, and active status. Use this to audit configured webhooks or verify webhook integrations.

### Get Account Webhook Triggers

**Slug:** `GOSQUARED_GET_ACCOUNT_WEBHOOK_TRIGGERS`

Retrieves all triggers for a webhook. Use when you need to view which events are configured to fire a specific webhook.

### Get Specific Chat Message

**Slug:** `GOSQUARED_GET_CHAT_CHAT_MESSAGE`

Retrieve a specific chat message by its message ID from a chat conversation. Use this tool when you need to fetch details of a particular message, such as its content, sender, and timestamp. Requires both the chat ID (same as person_id) and the specific message ID (UUID format).

### Get Real-Time Visitor Browsers

**Slug:** `GOSQUARED_GET_NOW_BROWSERS`

Tool to retrieve browsers used by currently online visitors, sorted by visitor count. Use when you need real-time breakdown of which browsers active visitors are using.

### Get Real-Time Campaigns

**Slug:** `GOSQUARED_GET_NOW_CAMPAIGNS`

Tool to retrieve currently running campaigns with real-time visitor counts. Use when you need to see which campaigns are actively driving visitors to the site right now.

### Get Real-Time Visitor Countries

**Slug:** `GOSQUARED_GET_NOW_COUNTRIES`

Tool to retrieve countries where currently online visitors are located, sorted by visitor count. Use when you need real-time geographic distribution of active site visitors.

### Get Real-Time Engagement

**Slug:** `GOSQUARED_GET_NOW_ENGAGEMENT`

Tool to retrieve engagement information of currently online users. Use when you need real-time metrics about visitor behavior including time on site and visit depth.

### Get Real-Time Visitor Geo Locations

**Slug:** `GOSQUARED_GET_NOW_GEO`

Tool to retrieve real-time geographic coordinates for currently online visitors. Returns latitude/longitude coordinates with visitor counts for each location. Use when you need to visualize or analyze the geographic distribution of active site visitors.

### Get Real-Time Visitor Languages

**Slug:** `GOSQUARED_GET_NOW_LANGUAGES`

Tool to retrieve languages for currently online visitors sorted by visitor count. Use when you need a real-time breakdown of active visitor languages.

### Get Now Notifications

**Slug:** `GOSQUARED_GET_NOW_NOTIFICATIONS`

Tool to retrieve notifications stored in GoSquared. Use when you need to access Traffic Alerts, RSS feed items, or Milestones.

### Get Real-Time Organisations

**Slug:** `GOSQUARED_GET_NOW_ORGANISATIONS`

Tool to retrieve internet organisations currently being used by online visitors, sorted by visitor count. Use when you need real-time data about which ISPs or network providers your visitors are using.

### Get Now Sources By Section

**Slug:** `GOSQUARED_GET_NOW_SOURCES_BY_SECTION`

Tool to retrieve a specific group of real-time traffic sources such as 'site', 'organic', or 'social'. Use when you need up-to-the-minute data about a particular source category driving visitors to your site.

### Get Current Time

**Slug:** `GOSQUARED_GET_NOW_TIME`

Tool to retrieve the current time according to GoSquared infrastructure. Use when you need a synchronized timestamp from GoSquared's servers.

### Get Specific Visitor

**Slug:** `GOSQUARED_GET_NOW_VISITOR`

Retrieves real-time session information for a specific online visitor. Use this tool after obtaining a visitorID from GOSQUARED_NOW_VISITORS to get detailed information about a visitor including their location, browser, engagement score, and event history. Returns a 409 status if the visitor is no longer online.

### Get People Event Types

**Slug:** `GOSQUARED_GET_PEOPLE_EVENT_TYPES`

Retrieve all event types tracked in GoSquared People CRM, ordered by frequency. Use this to discover available events for filtering or building Smart Groups.

### Get People Property Types

**Slug:** `GOSQUARED_GET_PEOPLE_PROPERTY_TYPES`

Retrieve property types (schema definitions) from GoSquared People CRM. Use this tool to: - Discover all available profile properties and their data types - Get custom property definitions - Look up a specific property's schema by its identifier Properties use dot notation for nested fields (e.g., 'last.location.country').

### Get Person Profile

**Slug:** `GOSQUARED_GET_PERSON`

Retrieve a specific person's profile from GoSquared People CRM by their unique ID. Use this tool when you need to: - Fetch detailed profile information for a known person - Look up custom properties set via tracking for a specific user - Verify a person exists before performing other operations Prerequisites: - Requires a valid person_id (obtain from List People or tracking events) - API key must have 'read_people' scope Returns the complete person profile including standard fields and custom properties.

### GoSquared - Get Person Feed

**Slug:** `GOSQUARED_GET_PERSON_FEED`

Retrieve a person's complete event feed from GoSquared People CRM. Returns a chronologically ordered list of all events (custom events and session events) for a specific person. Use this tool to: - View a person's activity history and engagement timeline - Track specific events by name using the query parameter - Filter by event type (custom events vs session events) - Paginate through large event histories Prerequisites: - Requires a valid personID (obtain from List People or tracking events) - API key must have 'read_people' scope

### Get Browser Metrics

**Slug:** `GOSQUARED_GET_TRENDS_BROWSER`

Tool to retrieve summarised browser metrics over a specified time period. Use when analyzing which browsers were used to access the site during a specific date range.

### Get Campaign Content Metrics

**Slug:** `GOSQUARED_GET_TRENDS_CAMPAIGN_CONTENT`

Retrieve UTM content metrics (utm_content) aggregated over a specified date range. Use this to analyze which content variations (e.g., banner ads, sidebar links, footer CTAs) are driving traffic to your site.

### Get Campaign Name Metrics

**Slug:** `GOSQUARED_GET_TRENDS_CAMPAIGN_NAME`

Retrieve UTM campaign name metrics (utm_campaign) aggregated over a specified date range. Use this to analyze which marketing campaigns (e.g., 'spring_sale', 'newsletter_2024') are driving traffic to your site.

### Get Campaign Source Metrics

**Slug:** `GOSQUARED_GET_TRENDS_CAMPAIGN_SOURCE`

Retrieve UTM source metrics (utm_source) aggregated over a specified date range. Use this to analyze which traffic sources (e.g., google, facebook, newsletter) are driving visitors to your site.

### Get Campaign Term Metrics

**Slug:** `GOSQUARED_GET_TRENDS_CAMPAIGN_TERM`

Retrieve UTM term metrics (utm_term) aggregated over a specified date range. Use this to analyze which specific keywords or terms are driving traffic to your site.

### Get Category Metrics

**Slug:** `GOSQUARED_GET_TRENDS_CATEGORY`

Tool to retrieve summarised category metrics over a specified time period. Use when analyzing which content categories were accessed during a specific date range.

### Get Country Metrics

**Slug:** `GOSQUARED_GET_TRENDS_COUNTRY`

Retrieve country-level visit metrics aggregated over a specified date range. Use this to analyze which countries are driving traffic to your site during a specific period.

### Get Language Metrics

**Slug:** `GOSQUARED_GET_TRENDS_LANGUAGE`

Retrieve summarised language metrics over a given time period. Use this to analyze which languages your visitors are using based on browser settings. Returns a ranked list of languages by visitor count within the specified date range.

### Get Organisation Metrics

**Slug:** `GOSQUARED_GET_TRENDS_ORGANISATION`

Tool to retrieve summarised organisation metrics over a given time period. Use when analyzing which internet organisations (ISPs, network providers, companies) are driving traffic to your site during a specific date range.

### Get Operating System Metrics

**Slug:** `GOSQUARED_GET_TRENDS_OS`

Tool to retrieve summarised operating system metrics over a specified time period. Use when analyzing which operating systems were used to access the site during a specific date range.

### Get Product Metrics

**Slug:** `GOSQUARED_GET_TRENDS_PRODUCT`

Tool to retrieve summarised product metrics over a specified time period. Use when analyzing ecommerce product performance, revenue, and transaction data during a specific date range.

### Get Screen Dimensions Metrics

**Slug:** `GOSQUARED_GET_TRENDS_SCREEN_DIMENSIONS`

Tool to retrieve summarised screen dimensions metrics over a specified time period. Use when analyzing which screen dimensions (resolutions) were used to access the site during a specific date range.

### Get Traffic Sources Metrics

**Slug:** `GOSQUARED_GET_TRENDS_SOURCES`

Tool to retrieve a historical list of traffic sources that referred visitors to the site over a specified period. Sources are grouped by category: direct, organic (search engines), site (referrals), social, and internal. Use when analyzing which sources drove traffic during a specific date range.

### Get Trends Sources By Type

**Slug:** `GOSQUARED_GET_TRENDS_SOURCES_BY_TYPE`

Tool to retrieve a historical list of sources for the given section type. Use when analyzing which sources (referring websites, social media, search engines, or internal) drove traffic during a specific time period.

### Get Transaction Metrics

**Slug:** `GOSQUARED_GET_TRENDS_TRANSACTION`

Tool to retrieve summarised transaction metrics over a specified time period. Use when analyzing transaction data including revenue and quantity during a specific date range.

### List People

**Slug:** `GOSQUARED_LIST_PEOPLE`

Search and filter tracked people in GoSquared People CRM. Use this tool to: - List all tracked people or search by text query - Filter people by properties (email, name, etc.) or tracked events - Sort results by any property (default: most recently seen first) - Paginate through large result sets - Export results as JSON or CSV format - Get total count of matching people via 'cardinality' field Returns a structured response with 'list' (array of people), 'cardinality' (total count), and optional pagination links. Each person includes their ID, tracked properties, events, and links to related resources.

### Get current concurrent visitors

**Slug:** `GOSQUARED_NOW_CONCURRENTS`

Tool to retrieve the number of concurrent visitors currently on your site. Use when you need live, real-time visitor metrics.

### Get Real-Time Popular Pages

**Slug:** `GOSQUARED_NOW_PAGES`

Retrieve the most popular pages currently being viewed on your site in real-time. Returns pages ordered by visitor count. Use this tool when you need to know which pages are currently active and how many visitors are on each page right now.

### Get Real-Time Visitor Platforms

**Slug:** `GOSQUARED_NOW_PLATFORMS`

Tool to retrieve platforms used by online visitors sorted by visitor count. Use when you need a real-time breakdown of active visitor platforms.

### Get Real-Time Overview

**Slug:** `GOSQUARED_NOW_V3_OVERVIEW`

Tool to retrieve a summary of real-time data for the site. Use when a snapshot of current online visitor metrics and summary statistics is needed.

### Now Sources

**Slug:** `GOSQUARED_NOW_V3_SOURCES`

Tool to retrieve the most influential traffic sources currently driving visitors to your site. Use when you need an up-to-the-minute breakdown of referrer sources.

### Get Visitor Time Series

**Slug:** `GOSQUARED_NOW_V3_TIME_SERIES`

Retrieves time series data showing the number of concurrent visitors to your site over time. Use this tool when you need to analyze visitor traffic patterns, identify peak hours, or track historical visitor trends. Returns data points at regular intervals (configurable, default 5 minutes) within the specified time range.

### Get Real-Time Online Visitors

**Slug:** `GOSQUARED_NOW_VISITORS`

Tool to retrieve a list of current online visitors. Use when you need detailed real-time visitor information.

### GoSquared - List All Devices

**Slug:** `GOSQUARED_PEOPLE_DEVICES`

Retrieve a paginated list of all devices tracked in GoSquared People CRM. This tool returns information about every device that has ever been tracked, including platform (OS), browser, screen size, ISP, geographic location, and visit counts. Use this when you need an overview of all devices accessing your site/app or for device analytics. Note: Requires API key with 'read_people' scope.

### Export Smart Group Feed

**Slug:** `GOSQUARED_PEOPLE_SMARTGROUP_FEED`

Export all pageview activity for users in a Smart Group to a downloadable CSV file. Returns a time-limited URL (valid for 15 minutes) to download the CSV. Supports filtering by date range (max 60 days). Use this when you need bulk export of user pageview data for analytics or reporting purposes.

### Smart Group People

**Slug:** `GOSQUARED_PEOPLE_SMARTGROUP_PEOPLE`

Retrieve people (user profiles) from a specific Smart Group in GoSquared People CRM. Smart Groups are saved user segments defined by property or event filters. Use this action to list users matching a Smart Group's criteria, with optional search filtering and pagination. Prerequisites: - Requires a valid group_id. Get available Smart Group IDs using the 'List People Smart Groups' action first. - Requires 'read_people' API key scope. Returns user profiles with properties like id, email, name, and any custom properties tracked in People CRM.

### List People Smart Groups

**Slug:** `GOSQUARED_PEOPLE_SMART_GROUPS`

Retrieve all Smart Groups for a GoSquared People CRM project. Smart Groups are saved user segments based on property or event filters. Use this action to list all configured Smart Groups and their filter criteria. The returned group IDs can be used with other People API endpoints to query users within specific segments. Requires the 'read_people' API key scope.

### Add Account Site

**Slug:** `GOSQUARED_POST_ACCOUNT_SITES`

Creates a new site/project in the GoSquared account for analytics tracking. Returns the site_token needed to configure tracking on the new site. Requires: API key with 'write_account' scope (not supported by demo key).

### Archive Chat Conversation

**Slug:** `GOSQUARED_POST_CHAT_CHAT_ARCHIVE`

Archives a chat conversation in GoSquared Inbox. Use this action to close out completed chat sessions, move resolved conversations out of the active inbox, or organize chat history. Archived chats can be retrieved later using the archived chats endpoint or unarchived using the 'Unarchive Chat Conversation' action.

### Send Chat Message

**Slug:** `GOSQUARED_POST_CHAT_CHAT_MESSAGE`

Send a message to a visitor in a GoSquared chat conversation. Use this tool to: - Send messages as an agent to website visitors - Send automated bot responses - Send messages on behalf of a client (requires auth signature) Prerequisites: Obtain a valid chatID from GOSQUARED_CHAT_CHATS or GOSQUARED_CHAT_CHAT first. For client messages, generate a Person Signature using SHA-256 HMAC with the Secure Mode Secret.

### Leave Chat Note

**Slug:** `GOSQUARED_POST_CHAT_CHAT_NOTE`

Adds an internal note to a GoSquared chat conversation. Notes are visible only to agents in the Inbox and are useful for leaving context, follow-up reminders, or team coordination messages. The chatID corresponds to the person_id of the visitor/client.

### Unarchive Chat Conversation

**Slug:** `GOSQUARED_POST_CHAT_CHAT_UNARCHIVE`

Unarchives a chat conversation in GoSquared Inbox. Use this action to restore an archived chat back to active state, making it visible in the active inbox again. This is useful when you need to resume conversations that were previously archived using the 'Archive Chat Conversation' action or archived manually in the GoSquared interface.

### Create People SmartGroup

**Slug:** `GOSQUARED_POST_PEOPLE_SMARTGROUPS`

Create a new Smart Group in GoSquared People CRM to segment users by custom criteria. Smart Groups are dynamic user segments based on property filters (like email, name, status) or event-based filters. Filters can use various operators including 'contains', 'eq' (equals), 'gt'/'lt' (greater/less than), '~' (is/equals), and '><' (date range). Use this when you need to: - Create user segments based on properties (e.g., email domain, subscription status) - Filter users by date ranges (e.g., created in last 7 days) - Combine multiple filter criteria (filters work as AND logic) - Organize users for targeted campaigns or analysis

### Send Tracking Ping

**Slug:** `GOSQUARED_SEND_TRACKING_PING`

Sends a ping to keep the visitor session active in GoSquared. Must be received at least once every 30 seconds to maintain the session, otherwise the session will time out. Use this when implementing custom tracking libraries or advanced tracking processes.

### Tag Visitor

**Slug:** `GOSQUARED_TAG_VISITOR`

Tool to add a tag to an identified visitor in GoSquared. Use when you need to categorize, segment, or label visitors for organizational purposes or marketing campaigns.

### Track GoSquared Event

**Slug:** `GOSQUARED_TRACKING_EVENT`

Track custom events in GoSquared analytics. Use to record user actions like signups, purchases, button clicks, or any custom event. Events are associated with visitors/people and appear in their activity feeds and analytics dashboards.

### Identify User

**Slug:** `GOSQUARED_TRACKING_IDENTIFY`

Identify a user in GoSquared and set their profile properties. Links anonymous visitor activity to a known user identity and creates/updates their profile in the People dashboard. Requires 'write_tracking' API scope.

### Track Pageview

**Slug:** `GOSQUARED_TRACKING_PAGEVIEW`

Tracks 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

**Slug:** `GOSQUARED_TRACKING_TRANSACTION`

Track 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

**Slug:** `GOSQUARED_TRACK_PROPERTIES`

Track 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

**Slug:** `GOSQUARED_TRENDS_AGGREGATE`

Retrieve 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

**Slug:** `GOSQUARED_TRENDS_CAMPAIGN_MEDIUM`

Retrieve 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

**Slug:** `GOSQUARED_TRENDS_EVENT`

Retrieve 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

**Slug:** `GOSQUARED_TRENDS_PAGE`

Retrieve 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

**Slug:** `GOSQUARED_TRENDS_PATH1`

Retrieves base path metrics (first URL path segments) over a time period. Use this to analyze which top-level URL paths (e.g., '/blog', '/products', '/wiki') receive the most traffic. Useful for understanding site structure usage and identifying popular content sections. Requires 'read_trends' scope in your API key.

### Update Account Blocked Bots

**Slug:** `GOSQUARED_UPDATE_ACCOUNT_BLOCKED_BOTS`

Tool 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

**Slug:** `GOSQUARED_UPDATE_ACCOUNT_BLOCKED_IPS`

Tool 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.
