Installing GA Connector to Your Website

What this section covers

Website tracking is the first thing you set up with GA Connector before any visitor data can reach your CRM or Google Analytics, GA Connector needs to be running on your site so it can see where your visitors came from.

This section walks you through getting the tracking script onto your website, handling a few platform-specific cases (site builders, caching plugins), and staying compliant if you use a cookie consent banner.

How tracking works, briefly

GA Connector is a small piece of JavaScript that runs on your pages. When someone lands on your site, the script records how they got there, such as the campaign, referrer, and UTM parameters, and holds onto that information as the visitor moves around. When the visitor fills out a form, that source data gets passed along to your CRM next to the lead’s name, email, and phone.

The script has to load on every page a visitor might land on first, and it needs to load early. If it loads too late, visitors who navigate away before the page finishes won’t be tracked correctly.

NoteGA Connector runs in either an API-based or a cookie-based mode. The setup wizard assigns it for you based on your account and CRM, and hands you the right script to install. The install steps differ slightly between the two modes, so confirm which one you have first. See Checking Which Integration Type You’re Using if you’re not sure.

Where to start

Most people only need the first article below. The rest are there for specific platforms and situations.

Heads upIf your site uses a cookie consent banner, jump to the Consent banners part below before you finish. By default the GA Connector script can run before the visitor gives consent, which causes compliance problems. The fix is to set it up so the script only runs once consent is given.

Installing the script

Once you know your type (see the note above if you’re not sure), follow the matching guide:

If you manage your tags through Google Tag Manager rather than editing your site directly, use Using Google Tag Manager to add the script.

Consent banners (check this if you use one)

If your site shows a cookie consent banner, this is important to get right. By default, the GA Connector script can run as soon as the page loads, which means it may start collecting data before the visitor has given consent. For privacy regulations like GDPR, that’s a problem.

The goal is to make sure the GA Connector script runs only after the visitor gives consent, rather than on page load. These guides show you how to set that up:

Once tracking is live

After the script is installed and you’ve confirmed it’s running, the next step is making sure the tracked data lands in your CRM. Head to the CRM Setup section for the guide that matches your system.