{"id":680,"date":"2019-09-09T21:35:06","date_gmt":"2019-09-09T21:35:06","guid":{"rendered":"https:\/\/gaconnector.com\/blog\/?p=680"},"modified":"2022-10-17T03:44:55","modified_gmt":"2022-10-17T03:44:55","slug":"how-to-import-conversions-from-salesforce-into-google-adwords","status":"publish","type":"post","link":"https:\/\/gaconnector.com\/blog\/how-to-import-conversions-from-salesforce-into-google-adwords\/","title":{"rendered":"How to Import Conversions from Salesforce into Google Adwords"},"content":{"rendered":"<p>Google AdWords and Salesforce integration is imperative for digital marketers with significant ad spend. When you link two, all your conversion data will be located in one place. As a digital marketer or PPC agency, you will be able to:<\/p>\n<ul>\n<li>Determine if the AdWords marketing channel generates a positive ROI for you.<\/li>\n<li>Track which of your AdWords campaigns are most effective.<\/li>\n<li>Effectively manage ads through informed decisions about ad groups and keywords<\/li>\n<li>Learn which campaigns actually result in Salesforce leads and opportunities.<\/li>\n<\/ul>\n<p>When integrated, the relationship between AdWords and Salesforce works through a special\u00a0<b>cookie called GCLID<\/b>\u00a0(Google Click ID). The cookie can be used to accredit offline Salesforce conversions to an ad group or keyword. In this article, we will show how you can access these powerful insights through AdWords conversion tracking in conjunction with Salesforce.<\/p>\n<h2><b>Why You Should Implement AdWords Conversion Tracking with Salesforce?<\/b><\/h2>\n<h3><b>Synchronize Sales and Marketing Data<\/b><\/h3>\n<p>When you integrate Google Ads and Salesforce, critical insights about leads, contacts and opportunities will seamlessly pass between the two platforms. As a result, you will significantly increase data quality and marketing campaign effectiveness.<\/p>\n<p>Additionally, by linking Google AdWords and Salesforce, you can send all this powerful data to Google Analytics as well. This will help you understand exactly\u00a0<b><i>how much revenue specific ad groups, keywords or even entire AdWords campaigns are generating<\/i><\/b>.<\/p>\n<h3><b>Gain Comprehensive Customer Insights<\/b><\/h3>\n<p>Follow your customer\u2019s journey through your website from start to finish. With the combined power of Salesforce and Google AdWords, you will have a complete overview of your marketing sales funnel, including: via which landing page visitors enter your website; what pages they visit; and where they exit, regardless of if a sale is made or not.<\/p>\n<p>By integrating Salesforce with AdWords, you can see what\u2019s working on your website and what isn\u2019t. From there, you will be able to optimize your website for an engaging user experience. In turn, you will be enhancing the buying experience for your customers.<\/p>\n<h3><b>Convert Higher Quality Leads<\/b><\/h3>\n<p>With 360-degree insights about your visitors, you will gain a comprehensive insight into customer behavior. See which ads qualify the best leads and what information those leads look for on your website. You can gain valuable insight into:<\/p>\n<ul>\n<li>the different types of leads different ads bring in;<\/li>\n<li>discover AdWords that bring the best leads;<\/li>\n<li>bid on more expensive keywords with increased certainty that they will generate leads that convert.<\/li>\n<\/ul>\n<p>In essence, you can focus on generating the highest value leads. There\u2019s no sense in focusing on leads with a higher likelihood of leaving your website without making a purchase. Using the combined power of AdWords and Salesforce, you can see where your most valuable leads are coming from. You can also identify and focus on marketing channels that produce the most ROI.<\/p>\n<h3><b>Maximize ROI<\/b><\/h3>\n<p>Google AdWords and Salesforce help you know exactly where every dollar you spend goes. With the ability to analyze individual keywords, ad groups and entire campaigns, you can\u00a0<a href=\"https:\/\/gaconnector.com\/blog\/adwords-roi-the-most-important-metric-for-your-ads\/\">optimize your marketing spend and maximize ROI<\/a>.<\/p>\n<h2><b>How to integrate Salesforce with Google AdWords<\/b><\/h2>\n<p>Below, we\u2019ve provided you with a comprehensive guide on how to integrate Salesforce with Google AdWords. Before you start, however, you will need to perform some groundwork to ensure the process is smooth.<\/p>\n<h3><b>Before you start<\/b><\/h3>\n<ul>\n<li>Make sure that you\u2019re logged in as a\u00a0<b>System Administrator<\/b>. This will give you the appropriate permissions to proceed with\u00a0<a href=\"https:\/\/gaconnector.com\/blog\/salesforce-and-google-adwords-connector\/\">Google AdWords and Salesforce integration<\/a>.<\/li>\n<li>Make sure that\u00a0<b>auto-tagging is enabled\u00a0<\/b>in your Google AdWords account. To do this:\n<ul>\n<li>Login to your Google Ads account<\/li>\n<li>Select \u201cAll Campaigns\u201d on the left-hand side of your screen<\/li>\n<li>Click on \u201cSettings\u201d<\/li>\n<li>Two tabs will appear along the top of the page. Select \u201cAccount Settings\u201d<\/li>\n<li>Choose the \u201cAuto-Tagging\u201d option and click on the \u201cTag the URL that people click through from my ad\u201d check box. Then, click \u201cSave\u201d.<\/li>\n<\/ul>\n<\/li>\n<li>You will need permission to edit your website code.<\/li>\n<li>Ensure your Salesforce account allows you to create custom fields and enable field history tracking.<\/li>\n<li>You will need to have access to Salesforce\u2019s web-to-lead feature, to send lead information from your website into Salesforce Leads object.<\/li>\n<\/ul>\n<p>Now you\u2019re good to go.<\/p>\n<h3><b>Step 1: Configure Salesforce<\/b><\/h3>\n<ol>\n<li>Click the cog located on the top right-hand side of your screen. Then click \u201cSetup\u201d.<\/li>\n<li>Click \u201cObject Manager\u201d located along the horizontal bar. You should arrive at the following screen.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-683\" src=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Object-Manager-ScreenShot.jpg\" alt=\"\" width=\"1621\" height=\"792\" srcset=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Object-Manager-ScreenShot.jpg 1621w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Object-Manager-ScreenShot-300x147.jpg 300w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Object-Manager-ScreenShot-768x375.jpg 768w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Object-Manager-ScreenShot-1024x500.jpg 1024w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Object-Manager-ScreenShot-788x385.jpg 788w\" sizes=\"(max-width: 1621px) 100vw, 1621px\" \/><\/li>\n<li>Scroll down and click \u201cOpportunity\u201d then on \u201cFields and Relationships\u201d, located on the left-hand sidebar.<\/li>\n<li>Click \u201cNew\u201d then select \u201cText\u201d and click \u201cNext\u201d.<\/li>\n<li>Enter the following parameters<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-684\" src=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Opportunity-Create-Custom-Field.jpg\" alt=\"\" width=\"1621\" height=\"792\" srcset=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Opportunity-Create-Custom-Field.jpg 1621w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Opportunity-Create-Custom-Field-300x147.jpg 300w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Opportunity-Create-Custom-Field-768x375.jpg 768w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Opportunity-Create-Custom-Field-1024x500.jpg 1024w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Opportunity-Create-Custom-Field-788x385.jpg 788w\" sizes=\"(max-width: 1621px) 100vw, 1621px\" \/><\/li>\n<li>Click \u201cNext\u201d and on the screen that follows click \u201cSave\u201d.<\/li>\n<li>Click \u201cSet History Tracking\u201d, located on the right. Then, select \u201cEnable Opportunity Field History\u201d. Finally, select the fields you wish to track and click \u201cSave\u201d.<b>Note:<\/b>\u00a0You will repeat Step G for Accounts, Contacts and Leads as well. For more info visit the following officially help docs article\u00a0<a href=\"https:\/\/help.salesforce.com\/articleView?id=tracking_field_history_for_standard_objects.htm&amp;type=0\">Track Field History for Standard Objects<\/a><\/li>\n<li><b>Return to the \u201cObject Manager\u201d menu and click \u201cLead\u201d. Repeat all of the above steps except for Step G.<\/b><\/li>\n<\/ol>\n<p><b>Step 2: Website Configuration<\/b><\/p>\n<p>During this next step, you will allow your website to save the Google Click ID (\u201cGCLID\u201d) as a cookie and then carry that value to your new GCLID Salesforce field. Copy and paste the following code into the header of your website.<\/p>\n<pre class=\"lang:default decode:true \">&lt;script type=\u201dtext\/javascript\u201d&gt;\r\nfunction setCookie(name, value, days){\r\n\u00a0\u00a0\u00a0\u00a0var date = new Date();\r\n\u00a0\u00a0\u00a0\u00a0date.setTime(date.getTime() + (days*24*60*60*1000));\u00a0\r\n\u00a0\u00a0\u00a0\u00a0var expires = \u201c; expires=\u201d + date.toGMTString();\r\n\u00a0\u00a0\u00a0\u00a0document.cookie = name + \u201c=\u201d + value + expires;\r\n}\r\nfunction getParam(p){\r\n\u00a0\u00a0\u00a0\u00a0var match = RegExp(\u2018[?&amp;]\u2019 + p + \u2018=([^&amp;]*)\u2019).exec(window.location.search);\r\n\u00a0\u00a0\u00a0\u00a0return match &amp;&amp; decodeURIComponent(match[1].replace(\/\\+\/g, \u2018 \u2018));\r\n}\r\nvar gclid = getParam(\u2018gclid\u2019);\r\nif(gclid){\r\n\u00a0\u00a0\u00a0\u00a0var gclsrc = getParam(\u2018gclsrc\u2019);\r\n\u00a0\u00a0\u00a0\u00a0if(!gclsrc || gclsrc.indexOf(\u2018aw\u2019) !== -1){\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0setCookie(\u2018gclid\u2019, gclid, 90);\r\n\u00a0\u00a0\u00a0\u00a0}\r\n}\r\n&lt;\/script&gt;<\/pre>\n<p><b>Tip:<\/b>\u00a0Instead of manually inputting the code to the header of each webpage, platforms such as WordPress have plugins that automatically apply the code to all website pages e.g.\u00a0<a href=\"https:\/\/wordpress.org\/plugins\/insert-headers-and-footers\/\">Insert Headers and Footers<\/a><\/p>\n<h4>Create Salesforce Web-to-lead form:<\/h4>\n<ol>\n<li>Return to Salesforce, head to the web-to-lead section and setup your forms\u00a0<a href=\"https:\/\/help.salesforce.com\/articleView?id=setting_up_web-to-lead.htm&amp;type=0\">following the standard process.<br \/>\n<\/a><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-685\" src=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Web-to-Lead-form-Screenshot.jpg\" alt=\"\" width=\"1621\" height=\"792\" srcset=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Web-to-Lead-form-Screenshot.jpg 1621w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Web-to-Lead-form-Screenshot-300x147.jpg 300w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Web-to-Lead-form-Screenshot-768x375.jpg 768w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Web-to-Lead-form-Screenshot-1024x500.jpg 1024w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Web-to-Lead-form-Screenshot-788x385.jpg 788w\" sizes=\"(max-width: 1621px) 100vw, 1621px\" \/><b>Tip:<\/b>\u00a0Type \u201cweb to lead\u201d in the search bar located on the left-hand sidebar to access this section.<\/li>\n<li>Ensure you include the GCLID lead field in the form.<\/li>\n<li>Search for the HTML code GCLID: and delete the maxlength and size tags.<\/li>\n<li>Edit the field type so it is \u201chidden\u201d rather than \u201ctext.\u201d\u00a0 This will make sure that the field does not show up on the form and is rather hidden from the website user.<\/li>\n<li>Copy and paste the following code between the FORM HTML tags i.e.\u00a0&lt;form&gt;&#8230;&lt;\/form&gt; on your web forms&lt;input id=\u201dxxxx\u201d name=\u201dxxxx\u201d type=\u201dhidden\u201d \/&gt;<\/li>\n<li>Include the following code in the header of every webpage with a web-to-lead form.<\/li>\n<\/ol>\n<pre class=\"lang:default decode:true\">&lt;script&gt;\r\nwindow.onload = function getGclid() {\r\n   document.getElementById(\u201cxxxx\u201d).value = (name = new RegExp(\u2018(?:^|;\\\\s*)gclid=([^;]*)\u2019).exec(document.cookie)) ?\r\nname.split(\u201c,\u201d)[1] : \u201c\u201d;\r\n}\r\n\/\/ window.onload() may not be supported by all browsers.\r\n\/\/ If you experience problems submitting the GCLID as a\r\n\/\/ hidden field, consider using an alternate method to\r\n\/\/ call this function on page load.\r\n&lt;\/script&gt;<\/pre>\n<p><b>Note:\u00a0<\/b>When Salesforce generates the HTML code, it will include the ID and you will replace \u201cxxxx\u201d with that id.<\/p>\n<h3><b>Step 3: Configure Google AdWords<\/b><\/h3>\n<p>In this final step, it\u2019s time to login to your account and setup AdWords conversion data to automatically import into Salesforce.<\/p>\n<ol>\n<li>In Google AdWords, click the \u201cSettings\u201d menu, located along the top right and then click \u201cLinked Accounts\u201d.<\/li>\n<li>Click \u201cDetails\u201d, located under the Salesforce option.<\/li>\n<li>Click on \u201cLink\u201d and then follow the prompts in the popup window to login to your Salesforce account.<\/li>\n<li>You should arrive at the following screen.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-686\" src=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Google-AdWords-Screenshot-no1.jpg\" alt=\"\" width=\"1621\" height=\"792\" srcset=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Google-AdWords-Screenshot-no1.jpg 1621w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Google-AdWords-Screenshot-no1-300x147.jpg 300w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Google-AdWords-Screenshot-no1-768x375.jpg 768w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Google-AdWords-Screenshot-no1-1024x500.jpg 1024w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Google-AdWords-Screenshot-no1-788x385.jpg 788w\" sizes=\"(max-width: 1621px) 100vw, 1621px\" \/><\/li>\n<li>Hover over the yellow warning sign and click \u201cConfigure\u201d.<\/li>\n<\/ol>\n<h4>Setting Up Conversions<\/h4>\n<ol>\n<li>The following screen should appear.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-687\" src=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Google-AdWords-Screenshot-No2.jpg\" alt=\"\" width=\"1621\" height=\"792\" srcset=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Google-AdWords-Screenshot-No2.jpg 1621w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Google-AdWords-Screenshot-No2-300x147.jpg 300w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Google-AdWords-Screenshot-No2-768x375.jpg 768w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Google-AdWords-Screenshot-No2-1024x500.jpg 1024w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Google-AdWords-Screenshot-No2-788x385.jpg 788w\" sizes=\"(max-width: 1621px) 100vw, 1621px\" \/><\/li>\n<li>Go to the \u201cConversion Action\u201d column and \u201cCreate a conversion\u201d and name it.<\/li>\n<li>Follow the prompts in the following screen i.e. \u201cSelect action you\u2019d like to track?\u201d.<\/li>\n<li>Click \u201cCreate and Continue\u201d<\/li>\n<li>Click \u201cDone\u201d<\/li>\n<\/ol>\n<p>You have now successfully setup Google AdWords conversion data import for Salesforce.<\/p>\n<h2><b>How to Also Track Conversions from Organic Search Facebook Ads, and More<\/b><\/h2>\n<p>Google Adwords conversion tracking is an amazing tool for tracking Adwords conversions, but what about other channels?<\/p>\n<p>To understand how\u00a0<b>all<\/b>\u00a0of your marketing channels perform, we built\u00a0<a href=\"https:\/\/gaconnector.com\/salesforce-google-analytics\">GA Connector<\/a>. GA Connector is a tool that integrates Salesforce and other CRMs with Google Analytics.<\/p>\n<p>GA Connector allows you to see the source of each Salesforce Lead and Opportunity right in Salesforce. You\u2019ll know whether a sale came from SEO, Facebook Ads, Adwords or any other channel:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-688\" src=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Sergey-SS1.jpg\" alt=\"\" width=\"778\" height=\"650\" srcset=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Sergey-SS1.jpg 778w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Sergey-SS1-300x251.jpg 300w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Sergey-SS1-768x642.jpg 768w\" sizes=\"(max-width: 778px) 100vw, 778px\" \/><\/p>\n<p>With this data, you\u00a0 can build powerful marketing ROI reports right inside Salesforce.<\/p>\n<p>GA Connector also lets you import stats on closed deals from Salesforce to Google Analytics:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-689\" src=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Sergey-SS2.jpg\" alt=\"\" width=\"777\" height=\"440\" srcset=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Sergey-SS2.jpg 777w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Sergey-SS2-300x170.jpg 300w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2019\/09\/Sergey-SS2-768x435.jpg 768w\" sizes=\"(max-width: 777px) 100vw, 777px\" \/><\/p>\n<p>Allowing you to see deals closed by your sales team inside Google Analytics.<\/p>\n<p>Sign up for\u00a0<a href=\"https:\/\/gaconnector.com\/salesforce-google-analytics\">GA Connector<\/a>\u00a0if you want to find out exactly where all of your sales are coming from.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google AdWords and Salesforce integration is imperative for digital marketers with significant ad spend. When you link two, all your conversion data will be located in one place. As a digital marketer or PPC agency, you will be able to: Determine if the AdWords marketing channel generates a positive ROI for you. Track which of&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[415,2],"tags":[],"yst_prominent_words":[38,460,463,471,478,466,261,21,20,10,459,461,479,16,474,464,462,475,39,465],"_links":{"self":[{"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/posts\/680"}],"collection":[{"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/comments?post=680"}],"version-history":[{"count":16,"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/posts\/680\/revisions"}],"predecessor-version":[{"id":703,"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/posts\/680\/revisions\/703"}],"wp:attachment":[{"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/media?parent=680"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/categories?post=680"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/tags?post=680"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/yst_prominent_words?post=680"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}