Connect Your Website
Connect your website to graph8 by adding a small JavaScript snippet. This enables real-time visitor identification, form submission tracking, and website analytics.
What You Get
Once connected, graph8 automatically captures:
- Real-time visitors — See which companies and contacts are browsing your site right now
- Form submissions — Capture leads from any form on your site without extra configuration
- Page views — Track which pages prospects visit and how long they stay
- Visitor identification — Match anonymous visitors to known contacts and companies using graph8’s data
Adding the Snippet
- Go to Settings → Website Tracking
- Copy the JavaScript snippet provided
- Paste it into your website’s
<head>tag, just before the closing</head>
The snippet looks like this:
<script> (function(g,r,a,p,h){g.g8=g.g8||function(){(g.g8.q=g.g8.q||[]).push(arguments)}; h=r.createElement(a);h.async=1;h.src=p;r.head.appendChild(h) })(window,document,'script','https://cdn.graph8.com/tracking.js'); g8('init', 'YOUR_TRACKING_ID');</script>Your unique tracking ID is pre-filled when you copy from the Settings page.
Installation by Platform
Google Tag Manager
- Create a new Custom HTML tag
- Paste the snippet
- Set the trigger to All Pages
- Publish your container
WordPress
Add the snippet to your theme’s header.php file, or use a plugin like Insert Headers and Footers to add it without editing code.
Next.js / React
Add the snippet to your _document.tsx or layout.tsx <head> section.
Verifying the Connection
After adding the snippet:
- Return to Settings → Website Tracking
- graph8 will show a green Connected status once it detects the snippet
- Visit your own website to generate a test event
- Check the Visitors section to confirm data is flowing
Next Steps
- Connect Your Calendar → — Enable meeting scheduling