Skip to Content
Home

AttributionHub Documentation

Welcome to the official AttributionHub documentation. Learn how to track and understand where your customers come from using our lightweight, privacy-first attribution script.

What is AttributionHub?

AttributionHub is a client-side JavaScript tracking script that captures marketing attribution data from your website visitors and automatically populates your forms with that data. It helps you answer the most important marketing question: “Where do my customers come from?”

Unlike complex analytics platforms, AttributionHub focuses on one thing and does it well: connecting leads in your CRM to the marketing channels that brought them.

Key Features

  • No cookies — all data stored in localStorage, no consent banners required
  • 20+ channel groups — GA4-compliant channel classification out of the box
  • 200+ search engines and 80+ social networks recognized automatically
  • 15+ form integrations — HubSpot, Marketo, Gravity Forms, Contact Form 7, and more
  • First-touch & last-touch attribution models built in
  • Custom rules engine — define your own channel classification logic
  • AI referral detection — track traffic from ChatGPT, Claude, Perplexity, and more
  • Lightweight — no impact on page performance
  • Privacy-first — GDPR and CCPA compliant by design

Quick Start

Add the script to your website:

<script src="https://cdn.attributionhub.com/attribution.js?id=YOUR_LICENSE_KEY" async defer ></script>

That’s it. The script will automatically detect traffic sources and populate your forms with attribution data.

Get started →