Legacy: How Do I Push Data to Specific or Multiple Google Analytics Properties?
Last Updated: January 12, 2024
π Please note: this article is for customers on Standard Bundle, Enrichment, or Clearbit Platform plans.
With Google Analytics (GA), you have the option of pushing Clearbit data into a single GA Property or multiple to enhance your team's Analytics reporting experience.
By default, the Clearbit Google Analytics integration passes data to the first GA property it finds on the page. If your site only uses a single property with GA (most sites), you should be ready to go; however if you're looking for a more complex configuration to send data to additional or specific properties, you're in the right place.
Skip Ahead to:
- To Configure Clearbit to Pass Data into All Properties on a Page
- To Configure Clearbit to Pass Data to Specific GA Property
To Configure Clearbit to Pass Data into All Properties on a Page
Set a tracker name without GTMΒ or set a tracker name with GTM for each of your properties and update your Clearbit snippet to include the following section in bold per the following example:
ga_trackers=[]; ga.getAll().forEach(function(x,i){ ga_trackers.push(x.get('name'))}); ga_trackers.forEach( function(gaName){ ga(gaName + '.require', 'Clearbit', {"mapping": {
"type": "dimension1",
"companyName": "dimension2",
"companyDomain": "dimension3",
"companyIndustry": "dimension4",
"companySubIndustry": "dimension5",
"companyEmployeesRange": "dimension6",
"companyEstimatedAnnualRevenue": "dimension7",
"companyAlexaRank": "dimension8",
"companyCity": "dimension9",
"companyState": "dimension10",
"companyCountry": "dimension11",
"companySicCode": "dimension12",
"companyTech": "dimension13"
}}); });
This snippet will find all tracker names on the page and push data into the property. You will want to confirm that the custom dimensions inside of your Google Analytics account are aligned for this to work as intended.
To Configure Clearbit to Pass Data to Specific GA Property
Set a tracker name without GTMΒ or set a tracker name with GTM then update your snippet in bolt with your specific tracker names and your custom mapping:
ga_trackers=['yourTracker1','yourTracker2','yourTracker3']; ga_trackers.forEach(function(gaName){ ga(gaName + '.require', 'Clearbit', {
"mapping": {
"type": "dimension1",
"companyName": "dimension2",
"companyDomain": "dimension3",
"companyIndustry": "dimension4",
"companySubIndustry": "dimension5",
"companyEmployeesRange": "dimension6",
"companyEstimatedAnnualRevenue": "dimension7",
"companyAlexaRank": "dimension8",
"companyCity": "dimension9",
"companyState": "dimension10",
"companyCountry": "dimension11",
"companySicCode": "dimension12",
"companyTech": "dimension13"
}}); });
Confirm the mapping for your custom dimensions per above within your Google Analytics instance.
Articles in this section
- Legacy: How Can I Add a Google Analytics Tracker Name via Google Tag Manager?
- How Do I Build a Report of Companies Visiting My Website in Google Analytics? [universal analytics]
- Legacy: How Do I Push Data to Specific or Multiple Google Analytics Properties?
- Legacy: How to use Clearbit data in Google Analytics 4