CloudAmp

Google Analytics Campaign Tracker for Salesforce by CloudAmp

Overview | Setup | Reports & Dashboards | Google Adwords Configuration | Visitor Sessions

Campaign Tracker Setup is Easy


  1. Install the App into your Salesforce org.
  2. Add the javascript tracking code below on any pages of your web site where you want visitors to be tracked, just before the </body> tag.
  3. Tag your Adwords and other advertising URLs with Google Analytics Campaign Tags.
  4. If your web site forms are not the web-to-lead forms Salesforce generates, please add a hidden field named cloudamp__data__c to your forms.
    <input type=hidden name="cloudamp__data__c">
Javascript Tracking Code:

<script>
window._cloudAmp = window._cloudAmp || {};
	_cloudAmp.forms = [];
	(function () {
		var scripts = document.getElementsByTagName('script'),
		    sLen = scripts.length,
		    ca_script = document.createElement('script'),
		    head = document.getElementsByTagName('head'),
		    protocol = document.location.protocol,
		    httpsDomain = '1d5ef9e9369608f625a8-878b10192d4a956595449977ade9187d.ssl.cf2.rackcdn.com',
		    httpDomain = 'trk.cloudamp.net',
		    filename = 'ctk.js',
		    srcDomain = protocol === 'http:' ? httpDomain : httpsDomain;

		ca_script.type = 'text/javascript';
		ca_script.async = true;
		ca_script.src = protocol + '//' + srcDomain + '/' + filename;
		head[0].appendChild(ca_script);
	})();
</script>

Please Note: Tracking code should be placed at the very end of your web page before </body>, and be careful not to add any line breaks.

That's it! Once this code is pasted into your web site and published, the next time a visitor submits a form on your web site, their campaign and source information will be tracked.

For additional information on configuring the Campaign Tracker inside Salesforce, such as adding fields to the Lead page layout and activating email notifications, see our Complete Documentation

Requirements

  1. Salesforce Unlimited, Enterprise or Professional Edition
  2. Ability to add javascript tracking code to your web site
  3. Salesforce Web-to-Lead forms (or other lead forms you can add a field to) on your web site

Please Note: Salesforce generated web-to-lead forms work automatically with no changes. For custom signup forms you need to add a hidden field to the forms named cloudamp__data__c, and ensure it gets passed through to Salesforce. For forms that use their own field names such as GravityForms or FormAssembly, please contact us for support.

Please contact us for more information regarding your specific situation.


Next

Overview | Setup | Reports & Dashboards | Google Adwords Configuration | Visitor Sessions


Get it now on the AppExchange® >

For customizations or questions, please contact us.

Support Resources

Complete Documentation


 

Javascript Code for your website

Related Articles from our Blog


How to Track Multi-touch Attribution in Salesforce

Camapign Tracker 2.0 Launches

How to Customize Salesforce Dashboards

6 Ways to Build a Lead Machine with Salesforce (guest post on Salesforce blog)

The Opportunity of '(Not Provided)' Google Keywords

Lead Tracking 101: Understanding Advertising ROI in Salesforce

Tracking Google Adwords Results in Salesforce

Replacing Salesforce for Google Adwords

6 Challenges with Tracking Adwords Conversions in Salesforce

How to get a detailed Email about every new lead in Salesforce