{"id":1153,"date":"2022-10-03T09:03:52","date_gmt":"2022-10-03T09:03:52","guid":{"rendered":"https:\/\/gaconnector.com\/blog\/?p=1153"},"modified":"2024-07-07T04:52:58","modified_gmt":"2024-07-07T04:52:58","slug":"how-to-track-utm-parameters-in-your-salesforce-forms","status":"publish","type":"post","link":"https:\/\/gaconnector.com\/blog\/how-to-track-utm-parameters-in-your-salesforce-forms\/","title":{"rendered":"How to track UTM parameters in your Salesforce forms"},"content":{"rendered":"\r\n<p>Forms are great tools for generating leads in Salesforce. Whether you use Salesforce&#8217;s native web-to-lead form or third-party form builders like Gravity Forms, Hubspot forms, or Formstack, they are all great at capturing your leads and relaying them to your sales pipeline, but they don\u2019t give you the whole picture:\u00a0<\/p>\r\n\r\n\r\n\r\n<ul>\r\n<li>What websites referred them?<\/li>\r\n<li>Which Adwords keyword brought them to your site?<\/li>\r\n<li>Which Facebook ad campaign converted them?<\/li>\r\n<\/ul>\r\n\r\n\r\n\r\n<p>UTM Parameters answer these questions, and they allow us to track a lot of information about the traffic coming into your site. By tracking UTM parameters, you\u2019ll be able to understand where your leads and sales came from, so you can double down on high-converting sources, cut spending on the rest, and maximize your marketing ROI.<\/p>\r\n\r\n\r\n\r\n<p>There are a couple of solutions available to help you track and capture UTM parameters on your forms, but most of them require you to do at least some minimal coding or add multiple hidden fields on your forms, which can be sometimes tedious, especially if you have multiple forms for generating leads.<\/p>\r\n\r\n\r\n\r\n<p>In this article, we\u2019re going to explain how you can track UTM parameters in your forms using GA Connector.<\/p>\r\n\r\n\r\n\r\n<p>Configuring your forms to track UTM parameters can be a hassle, especially if you\u2019re not familiar with coding or if you have multiple forms to modify. This is where GA Connector comes in handy. With just a few steps, you\u2019ll be able to track UTM parameters once your lead arrives in Salesforce.<\/p>\r\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/gaconnector.com\/blog\/how-to-track-utm-parameters-in-your-salesforce-forms\/#What_is_GA_Connector\" >What is GA Connector?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/gaconnector.com\/blog\/how-to-track-utm-parameters-in-your-salesforce-forms\/#Integrating_GA_Connector_with_your_forms\" >Integrating GA Connector with your forms<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/gaconnector.com\/blog\/how-to-track-utm-parameters-in-your-salesforce-forms\/#In_Conclusion\" >In Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"What_is_GA_Connector\"><\/span>What is GA Connector?<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p><a href=\"https:\/\/gaconnector.com\/\" target=\"_blank\" rel=\"noopener\">GA Connector<\/a> is a Google Analytics and CRM integration tool that provides marketing attribution in Salesforce and other CRMs.<\/p>\r\n<p><strong>Here is how it works:<\/strong><\/p>\r\n<ol>\r\n<li>A website visitor comes to your website and fills out one of your web forms.<\/li>\r\n<li>The GA Connector code on your website identifies the source, medium, and other Google Analytics information about this visitor.<\/li>\r\n<li>Once the visitor submits your form and creates a lead in Salesforce, GA Connector will automatically sync the lead generated with Google Analytics information.<\/li>\r\n<\/ol>\r\n<p>To start tracking UTM parameters, head over to <a href=\"https:\/\/gaconnector.com\">gaconnector.com<\/a> and sign-up for a 30-day free trial (no credit card required).<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"Integrating_GA_Connector_with_your_forms\"><\/span>Integrating GA Connector with your forms<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>Upon signing up with GA Connector, you\u2019ll be redirected to a setup wizard which provides you with 4 easy-to-follow setup instructions.<\/p>\r\n<ol>\r\n<li><strong>Install the GA Connector tracking code on your website.<\/strong><br \/>You\u2019ll need to add the GA Connector script on all pages of your website. If you\u2019re using GTM, you can easily add the script to your website by creating a custom HTML tag.<br \/><br \/>If your form is inside an iframe, you\u2019ll need to add the script inside your iframe too.<br \/><br \/><\/li>\r\n<li><strong>Install the GA Connector Salesforce package.<\/strong><br \/>The GA Connector package contains custom fields that would be filled with UTM parameters once the lead from your forms is created.<br \/><br \/>Make sure to install it for all users.<br \/><br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1162\" src=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2022\/10\/salesforce-install-for-all-users.jpg\" alt=\"\" width=\"500\" height=\"314\" srcset=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2022\/10\/salesforce-install-for-all-users.jpg 1000w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2022\/10\/salesforce-install-for-all-users-300x188.jpg 300w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2022\/10\/salesforce-install-for-all-users-768x482.jpg 768w, https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2022\/10\/salesforce-install-for-all-users-788x494.jpg 788w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><br \/><br \/><\/li>\r\n<li><strong>Add GA Connector fields to the Salesforce layout<\/strong><br \/>After installing the Salesforce package, the next step would be adding the custom fields from the package to your Leads layout. The custom fields are also available for other standard objects in case you are not using the Leads object.<br \/>\r\n<ol>\r\n<li style=\"list-style-type: none;\">\r\n<ol>\r\n<li>Go to Salesforce -&gt; Setup -&gt; Object Manager -&gt; Leads (or Contacts) &#8211; Page Layouts.<\/li>\r\n<li>Pick the layout you want to modify and click on &#8220;Edit&#8221;.<\/li>\r\n<li>Add the GA Connector UTM fields that you want to track.<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<br \/>You can add all the available parameters (see image below) or just the ones you need.<br \/><br \/><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1166\" src=\"https:\/\/gaconnector.com\/blog\/wp-content\/uploads\/2022\/10\/gaconnector-section-lightning.jpg\" alt=\"\" width=\"750\" height=\"812\" \/><br \/><br \/><\/li>\r\n<li><strong>Authorize the GA Connector app in Salesforce<\/strong><br \/>Authorize GA Connector to automatically sync the custom fields with UTM information once your lead is created.<\/li>\r\n<\/ol>\r\n<p><br \/>Congratulations! New leads created by your forms will now be synced with UTM information by GA Connector.<\/p>\r\n<p>Sync time is usually around 5-20 minutes after the lead is created.<\/p>\r\n<h2><span class=\"ez-toc-section\" id=\"In_Conclusion\"><\/span>In Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\r\n<p>Adding UTM parameters to your forms has never been easier! With just a few clicks and straightforward installation on most forms, you should be able to know where your leads came from and see your most profitable marketing channels in Salesforce.<\/p>\r\n<p>Did we also mention that GA Connector offers a 30-day free trial?<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Forms are great tools for generating leads in Salesforce. Whether you use Salesforce&#8217;s native web-to-lead form or third-party form builders like Gravity Forms, Hubspot forms, or Formstack, they are all great at capturing your leads and relaying them to your sales pipeline, but they don\u2019t give you the whole picture:\u00a0 What websites referred them? Which&#8230;<\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,6],"tags":[],"yst_prominent_words":[257,291,258,21,16,192,153,393,39,392,390],"_links":{"self":[{"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/posts\/1153"}],"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\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/comments?post=1153"}],"version-history":[{"count":16,"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/posts\/1153\/revisions"}],"predecessor-version":[{"id":1441,"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/posts\/1153\/revisions\/1441"}],"wp:attachment":[{"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/media?parent=1153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/categories?post=1153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/tags?post=1153"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/gaconnector.com\/blog\/wp-json\/wp\/v2\/yst_prominent_words?post=1153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}