GA Connector relies on your hidden input fields’ attributes so that it would be able to find them and fill them with tracking information. Our default GA Connector script will be able to fill your hidden fields with tracking information as long as you are able to set their id/name with its equivalent GA Connector […]
Category: Form-specific instructions
How to integrate GA Connector with Calendly Forms
Unfortunately, Calendly only allows the following parameters to be passed into their forms Campaign Source Medium Content Term GA Connector will be able to pass the “Last Click” values of the mentioned fields to your Calendly Leads. Prerequisites Installed either GA Connector WordPress plugin or GA Connector script on your website: GA Connector script must […]
How to integrate GA Connector with Freshworks CRM (formerly Freshsales) using Smartforms
Add Google Analytics data to Freshworks Smartform with GA Connector’s Freshworks integration. Prerequisites Installed the Freshworks Smartform script on your website. These instructions assume that you have already installed either the GA Connector WordPress plugin or GA Connector script on your website:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<script data-cfasync="false" type="text/javascript" src="https://tracker.gaconnector.com/gaconnector.js"></script> <script> function setGaconnectorHiddenFields() { var gaFields = gaconnector.getCookieValues(); for (var fieldName in gaFields) { var selectors = 'form input[name="' + fieldName + '"], form input#' + fieldName + ', form input#field_' + fieldName + ', form input[name="' + fieldName.toLowerCase() + '"], form input#' + fieldName.toLowerCase() + ', form input#field_' + fieldName.toLowerCase() + ', input[value="gaconnector_' + fieldName + '"],'; selectors += 'form textarea[name="'+fieldName+'"], form textarea#'+fieldName+', form textarea#field_'+fieldName + ', form textarea[name="'+fieldName.toLowerCase()+'"], form textarea#'+fieldName.toLowerCase()+', form textarea#field_'+fieldName.toLowerCase()+', form textarea.'+fieldName+', form textarea[name="param['+fieldName+']"]'+", form textarea[id^='field_"+fieldName+"']"; var inputs = document.querySelectorAll(selectors); if (inputs === null) { continue; } else if (typeof inputs.length === 'undefined') { inputs.value = gaFields[fieldName]; } else { for (var i = 0; i < inputs.length; i++) { inputs[i].value = gaFields[fieldName]; } } } } gaconnector.setCallback(setGaconnectorHiddenFields); setInterval(setGaconnectorHiddenFields, 1000); </script> |
Create custom fields on Freshworks CRM To create custom fields on Freshworks CRM , Go […]
How to integrate GA Connector with Agile CRM form builder
Add Google Analytics data to Agile CRM form builder with GA Connector’s Agile CRM integration. Prerequisites These instructions assume that you have already created custom fields in your Agile CRM. (For information on how to create custom fields in Agile CRM, please refer to this link.) Installed either GA Connector WordPress plugin or GA Connector […]
How to Integrate GA Connector with Brilliant Web-to-Lead for Salesforce WordPress plugin
Add Google Analytics data to Brilliant Web-to-Lead for Salesforce with GA Connector’s Salesforce integration. Prerequisites These instructions assume that you have already connected Brilliant Web-to-Lead for Salesforce to your Salesforce account Installed either GA Connector WordPress plugin or GA Connector script on your website:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<script data-cfasync="false" type="text/javascript" src="https://tracker.gaconnector.com/gaconnector.js"></script> <script> function setGaconnectorHiddenFields() { var gaFields = gaconnector.getCookieValues(); for (var fieldName in gaFields) { var selectors = 'form input[name="' + fieldName + '"], form input#' + fieldName + ', form input#field_' + fieldName + ', form input[name="' + fieldName.toLowerCase() + '"], form input#' + fieldName.toLowerCase() + ', form input#field_' + fieldName.toLowerCase() + ', input[value="gaconnector_' + fieldName + '"],'; selectors += 'form textarea[name="'+fieldName+'"], form textarea#'+fieldName+', form textarea#field_'+fieldName + ', form textarea[name="'+fieldName.toLowerCase()+'"], form textarea#'+fieldName.toLowerCase()+', form textarea#field_'+fieldName.toLowerCase()+', form textarea.'+fieldName+', form textarea[name="param['+fieldName+']"]'+", form textarea[id^='field_"+fieldName+"']"; var inputs = document.querySelectorAll(selectors); if (inputs === null) { continue; } else if (typeof inputs.length === 'undefined') { inputs.value = gaFields[fieldName]; } else { for (var i = 0; i < inputs.length; i++) { inputs[i].value = gaFields[fieldName]; } } } } gaconnector.setCallback(setGaconnectorHiddenFields); setInterval(setGaconnectorHiddenFields, 1000); </script> |
How to find the API name of GA Connector field in […]
Connect Mailchimp forms with Lead Source Tracking (cookie-based)
Add Google Analytics data to Mailchimp with GA Connector’s Mailchimp integration. Log into your account on Mailchimp account Click on “Lists”: Choose the list you need: Select “Signup forms”: Select “Form builder”: You will see the form builder interface: In this interface, you will need to add the following fields to your form: All Traffic Sources […]
How to push GA Connector data to Intercom
To push GA Connector data to Intercom, all you need to do is to add this line of JavaScript code to GA Connector tracking code:
1 |
Intercom('update', gaFields); |
You need to add it right after “var gaFields = gaconnector.getCookieValues();” like shown below:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<script type="text/javascript" src="https://tracker.gaconnector.com/gaconnector.js"></script> <script> function setGaconnectorHiddenFields() { var gaFields = gaconnector.getCookieValues(); Intercom('update', gaFields); for (var fieldName in gaFields) { var selectors = 'form input[name="' + fieldName + '"], form input#' + fieldName + ', form input#field_' + fieldName + ', form input[name="' + fieldName.toLowerCase() + '"], form input#' + fieldName.toLowerCase() + ', form input#field_' + fieldName.toLowerCase() + ', input[value="gaconnector_' + fieldName +'"]'; var inputs = document.querySelector(selectors); if (inputs === null) { continue; } else if (typeof inputs.length === 'undefined') { inputs.value = gaFields[fieldName]; jQuery(document).ready(function() { jQuery(inputs).trigger('change'); }); } else { for (var i = 0; i < inputs.length; i++) { inputs[i].value = gaFields[fieldName]; jQuery(document).ready(function() { jQuery(inputs).trigger('change'); }); } } } } setGaconnectorHiddenFields(); gaconnector.setCallback(setGaconnectorHiddenFields); setInterval(setGaconnectorHiddenFields, 1000); </script> |
As a result, you’ll see GA Connector data in the right section of […]
How to integrate GA Connector Fields with Ninja Forms
Add Google Analytics data to Ninja Forms with GA Connector’s Ninja Forms integration. Pre-requisites This guide assumes that you’ve already installed the latest version of our WordPress Plugin (at least version 2.4). Setting up Ninja Forms 1. Edit the form you want to use with GA Connector. 2. Add a hidden field for each GA Connector Field you […]
Integrate GA Connector with custom forms
This instruction assumes that you have already installed either GA Connector WordPress plugin, or GA Connector script:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<script data-cfasync="false" type="text/javascript" src="https://tracker.gaconnector.com/gaconnector.js"></script> <script> function setGaconnectorHiddenFields() { var gaFields = gaconnector.getCookieValues(); for (var fieldName in gaFields) { var selectors = 'form input[name="' + fieldName + '"], form input#' + fieldName + ', form input#field_' + fieldName + ', form input[name="' + fieldName.toLowerCase() + '"], form input#' + fieldName.toLowerCase() + ', form input#field_' + fieldName.toLowerCase() + ', input[value="gaconnector_' + fieldName + '"],'; selectors += 'form textarea[name="'+fieldName+'"], form textarea#'+fieldName+', form textarea#field_'+fieldName + ', form textarea[name="'+fieldName.toLowerCase()+'"], form textarea#'+fieldName.toLowerCase()+', form textarea#field_'+fieldName.toLowerCase()+', form textarea.'+fieldName+', form textarea[name="param['+fieldName+']"]'+", form textarea[id^='field_"+fieldName+"']"; var inputs = document.querySelectorAll(selectors); if (inputs === null) { continue; } else if (typeof inputs.length === 'undefined') { inputs.value = gaFields[fieldName]; } else { for (var i = 0; i < inputs.length; i++) { inputs[i].value = gaFields[fieldName]; } } } } gaconnector.setCallback(setGaconnectorHiddenFields); setInterval(setGaconnectorHiddenFields, 1000); </script> |
Now that you’ve installed our script, you need to make modification to your forms. There are two methods of integrating your forms with GA Connector: Integration Method #1 Step 1: Add hidden fields with specific names to […]
HubSpot Forms Integration Guide
Add Google Analytics data to Hubspot forms with GA Connector’s Hubspot integration. Prerequisites Installed either GA Connector WordPress plugin or GA Connector script on your website
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<script data-cfasync="false" type="text/javascript" src="https://tracker.gaconnector.com/gaconnector.js"></script> <script> function setGaconnectorHiddenFields() { var gaFields = gaconnector.getCookieValues(); for (var fieldName in gaFields) { var selectors = 'form input[name="' + fieldName + '"], form input#' + fieldName + ', form input#field_' + fieldName + ', form input[name="' + fieldName.toLowerCase() + '"], form input#' + fieldName.toLowerCase() + ', form input#field_' + fieldName.toLowerCase() + ', input[value="gaconnector_' + fieldName + '"],'; selectors += 'form textarea[name="'+fieldName+'"], form textarea#'+fieldName+', form textarea#field_'+fieldName + ', form textarea[name="'+fieldName.toLowerCase()+'"], form textarea#'+fieldName.toLowerCase()+', form textarea#field_'+fieldName.toLowerCase()+', form textarea.'+fieldName+', form textarea[name="param['+fieldName+']"]'+", form textarea[id^='field_"+fieldName+"']"; var inputs = document.querySelectorAll(selectors); if (inputs === null) { continue; } else if (typeof inputs.length === 'undefined') { inputs.value = gaFields[fieldName]; } else { for (var i = 0; i < inputs.length; i++) { inputs[i].value = gaFields[fieldName]; } } } } gaconnector.setCallback(setGaconnectorHiddenFields); setInterval(setGaconnectorHiddenFields, 1000); </script> |
Creating GA Connector custom fields/properties in Hubspot If you haven’t created custom properties yet for GA Connector in Hubspot, follow the steps below on how to add them. While on […]