Integration Architecture
GoSquared offers native integrations for CRM platforms and communication tools, plus a REST API and webhook system for custom data flows. Integrations are managed in GoSquared Dashboard → Settings → Integrations.
CRM Integrations
Salesforce
GoSquared syncs visitor activity and identified user data into Salesforce contacts and leads.
Setup: GoSquared → Settings → Integrations → Salesforce → Connect. Authenticate with your Salesforce org credentials and map GoSquared properties to Salesforce fields.
What syncs:
- Identified visitors become Salesforce contacts/leads with browsing history attached.
- Page views, events, and engagement scores update on the contact record.
- Live chat transcripts can be linked to contact activity.
Field mapping considerations: Map GoSquared's email, name, and custom properties to your Salesforce contact fields. GoSquared deduplicates by email address — ensure your _gs('identify') call includes email.
HubSpot
Push GoSquared visitor data into HubSpot contacts for enriched lead scoring and marketing automation.
Setup: GoSquared → Settings → Integrations → HubSpot → Connect. Grant GoSquared access to your HubSpot portal.
Use case: GoSquared identifies a visitor's browsing behavior (pages viewed, time on site, return visits) before they fill out a HubSpot form. Once they convert, HubSpot receives the full pre-conversion journey, improving lead scoring accuracy.
Pipedrive
Sync identified visitor data into Pipedrive deals and contacts. GoSquared sends engagement signals (page views, events, chat interactions) that Pipedrive can use for deal prioritization.
Communication Integrations
Slack
Get real-time notifications in Slack when specific GoSquared events occur.
Available triggers:
- New identified visitor (first-time user identified via
_gs('identify')) - Live chat message received
- Goal completion (configured in GoSquared → Goals)
- Smart group entry (visitor matches a saved segment)
Setup: GoSquared → Settings → Integrations → Slack → select a channel. Choose which notification types to send. Avoid high-volume triggers (like every page view) to prevent channel noise.
Email Notifications
GoSquared sends email digests and real-time alerts to team members:
- Daily/weekly traffic summary reports.
- Instant alerts when specific visitors return (configured per-visitor in People).
- Live chat notifications when no team members are online in the dashboard.
Configure in GoSquared → Settings → Notifications.
Developer Integrations
Zapier
Connect GoSquared to 5,000+ apps without code using Zapier.
Common Zaps:
- GoSquared new lead → Google Sheets row (lead tracking spreadsheet)
- GoSquared goal completion → Slack message (team notification)
- GoSquared live chat transcript → Zendesk ticket (support handoff)
Setup: In Zapier, search for GoSquared as the trigger app. Authenticate with your GoSquared API key. Select the trigger event and configure the action app.
Limitations: Zapier polls GoSquared every 1–15 minutes depending on your Zapier plan — not truly real-time. For instant delivery, use GoSquared webhooks instead.
Webhooks
Receive real-time event notifications at any HTTP endpoint.
Setup: GoSquared → Settings → Integrations → Webhooks → add your endpoint URL.
Payload example:
{
"event": "goal_triggered",
"goal": {
"name": "Signup Completed",
"id": "goal-123"
},
"visitor": {
"id": "user-456",
"email": "visitor@example.com",
"pages_viewed": 7
},
"timestamp": "2025-03-05T14:30:00Z"
}
Use cases: Feed GoSquared events into your data warehouse, trigger custom workflows, or sync with internal tools that don't have a native GoSquared integration.
REST API
GoSquared's API provides programmatic access to visitor data, traffic trends, and account configuration.
# Get current online visitors
curl "https://api.gosquared.com/now/v3/visitors?api_key=YOUR_KEY&site_token=GSN-XXXXXX-X"
# Get visitor details by email
curl "https://api.gosquared.com/people/v1/people/smartgroups?api_key=YOUR_KEY&site_token=GSN-XXXXXX-X"
# Get traffic trends for the last 7 days
curl "https://api.gosquared.com/trends/v2/aggregate?api_key=YOUR_KEY&site_token=GSN-XXXXXX-X&from=2025-02-26&to=2025-03-05"
API key location: GoSquared → Settings → API Access → generate or copy your API key.
Rate limits: 1,000 requests per hour per API key. For bulk data exports, use the Trends API with date ranges rather than polling the Now API repeatedly.
Segment
Send data through Segment to GoSquared as a destination. This is useful if you already use Segment as your CDP and want GoSquared to receive the same event stream as your other tools.
Setup: In Segment → Destinations → search "GoSquared" → configure with your GoSquared project token. Segment maps track() calls to GoSquared events and identify() calls to GoSquared user identification.
Advantage: Single instrumentation point — you don't need to add the GoSquared snippet separately if all your events route through Segment.
Integration Best Practices
- Identify users before integration sync: CRM integrations only work well when visitors are identified via
_gs('identify'). Anonymous visitor data synced to Salesforce or HubSpot creates orphaned records. - Test in staging first: Connect integrations to a test CRM instance or Slack channel before production to verify field mapping and notification volume.
- Monitor webhook failures: If your webhook endpoint returns non-2xx responses, GoSquared retries with exponential backoff. Set up monitoring on your endpoint to catch failures.
- API key rotation: Rotate API keys periodically and never expose them in client-side code. GoSquared API keys have full read access to your analytics data.