{"id":336,"date":"2023-08-18T17:48:59","date_gmt":"2023-08-18T17:48:59","guid":{"rendered":"https:\/\/cloudamp.com\/news\/?p=336"},"modified":"2025-04-01T04:42:02","modified_gmt":"2025-04-01T04:42:02","slug":"which-form-or-web-page-did-a-salesforce-lead-come-from","status":"publish","type":"post","link":"https:\/\/cloudamp.com\/news\/which-form-or-web-page-did-a-salesforce-lead-come-from\/","title":{"rendered":"Which Form or Web Page did a Salesforce lead come from?"},"content":{"rendered":"<p><span style=\"font-weight: 400;\">Forms are one of the most essential parts of any website, providing a convenient way for visitors to \u201craise their hands\u201d and request more information or take advantage of an offer. Web forms are also a critical way for your company to learn more about who is on your website, receive and qualify leads, and hopefully start your visitors on their buyer\u2019s journey.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">When you have multiple contact forms, tens or even hundreds of landing pages, and different paths visitors take on your web site, it can be difficult to keep track of which form a Salesforce lead came in through. Most forms are used with a specific conversion path, so in order to analyze your marketing results and most effectively connect with your leads, you need to know what that path was.<\/span><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Know what page a lead came from<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Understand where in the buyer journey your lead is<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Track which offers or downloads prospects responded to<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Score your MQLs more effectively with precise source data<\/span><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">So how can you know which form on your web site a lead filled out? Read on to learn about multiple different methods you can use to get this important marketing data.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><b>Topics in this article:<\/b><\/p>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong><a href=\"#heading1\">Hidden Lead Source in Forms<\/a><\/strong><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong><a href=\"#heading2\">Automatic Campaign Assignment for Leads<\/a><\/strong><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong><a href=\"#heading3\">Custom Salesforce Fields in Forms<\/a><\/strong><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong><a href=\"#heading4\">Using a Single Form on Multiple Pages<\/a><\/strong><\/li>\n<\/ul>\n<\/td>\n<td>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong><a href=\"#heading5\">Form ID and Name<\/a><\/strong><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong><a href=\"#heading6\">UTM or other URL Parameters<\/a><\/strong><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong><a href=\"#heading7\">Salesforce Visitor Sessions (List of Pages Visited)<\/a><\/strong><\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><a name=\"heading1\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400;\">Hidden Lead Source in Forms<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">If you are using Salesforce web-to-lead forms, or other forms like Gravity Forms or FormAssembly that can post leads into Salesforce, adding a hidden <\/span><b>Lead Source<\/b><span style=\"font-weight: 400;\"> field to your forms is one of the easiest ways of identifying them.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This method hard-codes a hidden field with a lead source value that you set for each form, and pushes that value to the existing <\/span><b>Lead Source<\/b><span style=\"font-weight: 400;\"> field on the Lead object in Salesforce.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Here is an example from a Salesforce web-to-lead form:<\/span><\/p>\n<pre><b>&lt;input type=\"hidden\" name=\"lead_source\" value=\"LP Trial Offer\"&gt;<\/b><\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Pro-tip: Use a common naming convention in your lead source values, such as \u201cLP\u201d for landing page, to make reporting in Salesforce easier (Lead Source *Contains* LP will collect them all). <\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"wp-image-347 size-full alignnone\" src=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/FilterbyLeadSource-Contains.png\" alt=\"Filter by Lead Source - Contains - LP\" width=\"338\" height=\"230\" srcset=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/FilterbyLeadSource-Contains.png 338w, https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/FilterbyLeadSource-Contains-300x204.png 300w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/>\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Another advantage of using hidden fields in this manner is that you can insert Lead Sources into your Salesforce leads that are not actually selectable values in the Lead Source drop down list. Salesforce will insert any value in the Lead Source field when the lead is created.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This approach means that you can be sure those lead sources are only coming from your form, since the value is not available to Salesforce users to select. No more random selections from the Sales team (not that your sales team would ever do that!)<\/span><\/p>\n<p><span style=\"font-weight: 400;\">On the minus side, there are some limitations to reporting if a Lead Source value is not added to the picklist values in Salesforce &#8212; namely you won\u2019t be able to filter on those values by selecting one or more of them in a report. But you can still use \u201cStarts with\u201d or \u201cContains\u201d to include any values.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-348 size-full\" src=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/FilterbyLeadSource-Picklist.png\" alt=\"Filter by Lead Source - Select - Lead Sources\" width=\"338\" height=\"471\" srcset=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/FilterbyLeadSource-Picklist.png 338w, https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/FilterbyLeadSource-Picklist-215x300.png 215w\" sizes=\"auto, (max-width: 338px) 100vw, 338px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><a name=\"heading2\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400;\">Automatic Campaign Assignment for Leads<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Similarly to using a hidden field in your forms to set a Lead Source in Salesforce, you can also automatically have leads added to a Salesforce Campaign using a similar method.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">By adding a hidden field that passes the <\/span><b>Campaign ID<\/b><span style=\"font-weight: 400;\">, your forms will automatically make leads members of that particular Campaign when they are created in Salesforce.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">This technique is especially useful for forms or landing pages that are specific to a particular marketing campaign, since Salesforce Campaigns allow you to track members of a campaign from Leads through to conversion to Contacts, and see the ROI summarized clearly via Opportunities.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Here is an example of hard coding the <\/span><b>Campaign ID<\/b><span style=\"font-weight: 400;\"> in a hidden field in a Salesforce web-to-lead form.<\/span><\/p>\n<pre><b>&lt;input type=\"hidden\" name=\"Campaign_ID\" value=\"7010V000001ufMIQAY\"&gt;<\/b><\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">To get the Campaign ID value for your hidden field, simply navigate to the Campaign Record in Salesforce, and copy the 18 digit record ID from the Salesforce URL in your web browser.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-346 size-full\" src=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/CampaignID.png\" alt=\"Finding the Salesforce Campaign ID\" width=\"706\" height=\"254\" srcset=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/CampaignID.png 706w, https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/CampaignID-300x108.png 300w\" sizes=\"auto, (max-width: 706px) 100vw, 706px\" \/><\/span><\/p>\n<p><span style=\"font-weight: 400;\">Having leads automatically assigned to a Salesforce Campaign can be useful for other purposes as well, such as segmentation. If you want to compare leads that come in from a \u201cContact Us\u201d form on your web site in total versus advertising landing pages, having them all assigned to a \u201cContact Us Form Campaign\u201d makes it easier.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">There are other advantages of assigning Salesforce Leads to Campaigns automatically, such as the ability to send Emails to campaign members in Salesforce (both Leads and Contacts at the same time, as long as they are members of the Campaign), as well as tracking any Opportunities that were generated from Campaign members.<\/span><\/p>\n<p>&nbsp;<\/p>\n<table style=\"background-color: #ffffe0;\">\n<tbody>\n<tr>\n<td><span style=\"font-weight: 400;\">\ud83d\udc4d <\/span><b>Need more Campaign automation?<\/b><\/p>\n<p><span style=\"font-weight: 400;\">While hard coding a Campaign ID works well, it is not a very flexible solution. For several more options, including completely automatatic Campaign Creation and Lead Assignment based on UTM Campaign values, see our complete guide:<\/span><\/p>\n<p><a href=\"https:\/\/cloudamp.com\/news\/how-to-automatically-assign-salesforce-leads-to-campaigns\/\" target=\"_blank\" rel=\"noopener\">How to Automatically Assign Salesforce Leads to Campaigns<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><a name=\"heading3\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400;\">Custom Salesforce Fields in Forms<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Custom fields are one of the more powerful features of Salesforce that most organizations take advantage of to capture unique business data.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Just like the hidden <\/span><b>Lead Source<\/b><span style=\"font-weight: 400;\"> and <\/span><b>Campaign ID<\/b><span style=\"font-weight: 400;\"> fields shown above, you can add Custom fields from Salesforce to your forms to better identify them.<br \/>\n<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In most cases these custom Salesforce fields would be hidden, transmitting their values in the background when a form is submitted, but in some cases you could make them visible to visitors (such as in a quote form where the lead might choose a value from a picklist, that might also enable you to identify the source form).<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Here is a high level overview of how to create a custom field in Salesforce (you will need to be a Salesforce Administrator or have \u201cCustomize Application\u201d permissions:<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Go to <\/span><b>Setup<\/b><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">From the <\/span><b>Object Manager<\/b><span style=\"font-weight: 400;\">, select the <\/span><b>Lead<\/b><span style=\"font-weight: 400;\"> object<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Select <\/span><b>Fields &amp; Relationships<\/b><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Click the <\/span><b>New<\/b><span style=\"font-weight: 400;\"> button<\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">There are quite a few considerations and configuration options at that point, so please refer to <\/span><a href=\"https:\/\/help.salesforce.com\/s\/articleView?id=sf.adding_fields.htm&amp;type=5\"><span style=\"font-weight: 400;\">Salesforce\u2019s custom field documentation<\/span><\/a><span style=\"font-weight: 400;\"> for full details.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-341 size-full\" src=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/AddSalesforceCustomLeadFields.png\" alt=\"Salesforce Custom Field Addition in Object Manager\" width=\"481\" height=\"386\" srcset=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/AddSalesforceCustomLeadFields.png 481w, https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/AddSalesforceCustomLeadFields-300x241.png 300w\" sizes=\"auto, (max-width: 481px) 100vw, 481px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Once you have created a custom field, you will need to add it to your form. For Salesforce web-to-lead forms, you can generate updated code from the setup page after including the new field.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">For other form providers, you will likely need to refresh the connection to Salesforce, to have the new custom field available in the mapping \/ form setup interface.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><a name=\"heading4\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400;\">Using a Single Form on Multiple Pages<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">If you are using the same form on multiple pages, which is especially common if that form is being dynamically embedded using a script or iFrame on your web site, things get a lot harder.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Forms that are embedded, rather than having their full HTML code as part of the web page, are an increasingly popular option. They allow marketers a greater degree of control, with a single embed tag added to your web site, and a separate form software interface where you can configure your form and simply click a button to publish a new version.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Many embedded forms offer a way of getting the page URL, and making it part of the form submission. With a single form across many web pages, it has become essential for some unique identifier to be captured with the form submit.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Otherwise you have no way of knowing where your submissions are coming from when the same form is embedded in many web pages.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Here is an example of a useful widget that the form provider JotForm makes available to its customers:<\/span><\/p>\n<p><span style=\"font-weight: 400;\"> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-345 size-full\" src=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/JotFormEmbed.png\" alt=\"Get Form Page URL Widget\" width=\"517\" height=\"458\" srcset=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/JotFormEmbed.png 517w, https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/JotFormEmbed-300x266.png 300w\" sizes=\"auto, (max-width: 517px) 100vw, 517px\" \/><\/span><\/p>\n<p><span style=\"font-weight: 400;\">Check with your form provider to see if any hidden fields or widgets exist to give you some insights on where your customers are filling out your forms.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Using a single form across multiple pages of your web site does make setting up and maintaining lead generation forms simpler (especially if you have 25+ landing pages with forms, as is common for many businesses that market online).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">However, if you have the option from a form technology perspective, working with your web developer to duplicate and customize your forms individually can provide automation advantages on the lead qualification side (such as auto-assigning to Salesforce Campaigns or Lead Sources described above).<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You\u2019ll just need to keep an organized spreadsheet of your landing and form pages, and make sure your web developer is careful and understands the importance of updating the values when creating new forms.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><a name=\"heading5\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400;\">Form ID and Name<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Many forms have an <\/span><b>ID<\/b><span style=\"font-weight: 400;\"> and\/or <\/span><b>Name<\/b><span style=\"font-weight: 400;\"> in their code, which helps identify them as your web page loads. These form attributes are also referenced by apps like the CloudAmp Campaign Tracker, which uses the IDs to tell our tracking script where to insert marketing attribution data.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">To find the form ID, follow these steps.<\/span><\/p>\n<ol>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Load the web page with your form<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Right click on the form and select <\/span><b>Inspect Element<\/b><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Type <\/span><b>Ctrl + F<\/b><span style=\"font-weight: 400;\"> to bring up the search (find) box.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><span style=\"font-weight: 400;\">Enter <\/span><b>&lt;form<\/b><span style=\"font-weight: 400;\"> to find the beginning of a form in the code<\/span><\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Some forms have an <\/span><b>ID<\/b><span style=\"font-weight: 400;\">, and some have a <\/span><b>name<\/b><span style=\"font-weight: 400;\">. Most forms have both, but either can be used to identify the individual form.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">Once you have identified the attributes, the tricky part is determining if they can be passed to Salesforce in some way. Your web developer may be able to use the form ID to capture the form source information when a visitor clicks to submit the form, and pass it to Salesforce along with the other fields.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Here is an example of a form ID in the initial Form tag, from Gravity Forms:<\/span><\/p>\n<pre><b>&lt;form method=\"post\" enctype=\"multipart\/form-data\" target=\"gform_ajax_frame_1\" <\/b><span style=\"color: #ff0000;\"><b>id=\"gform_1\"<\/b><\/span><b> action=\"\/contact-us\/#gf_1\" data-formid=\"1\" novalidate=\"\"&gt;<\/b><\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Note: Salesforce web-to-lead forms do not have IDs or Names, but define a separate hidden field for the Salesforce Org ID, named OID.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><a name=\"heading6\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400;\">UTM or other URL Parameters<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">This solution is not part of the form itself, but if you are capturing parameters from an incoming link to your website, you may be able to use those to identify the form.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">As an example of what we mean by parameters would be a URL such as:<\/span><\/p>\n<pre><b>https:\/\/www.YOURSITE.com?<\/b><span style=\"color: #339966;\"><b>utm_source<\/b><\/span><b>=<\/b><span style=\"color: #ff0000;\"><b>GoogleAds<\/b><\/span><b>&amp;<\/b><span style=\"color: #339966;\"><b>utm_medium<\/b><\/span><b>=<\/b><span style=\"color: #ff0000;\"><b>PPC<\/b><\/span><b>&amp;<\/b><span style=\"color: #339966;\"><b>utm_campaign<\/b><\/span><b>=<\/b><span style=\"color: #ff0000;\"><b>CampaignName<\/b><\/span><b>&amp;<\/b><span style=\"color: #339966;\"><b>utm_term<\/b><\/span><b>=<\/b><span style=\"color: #ff0000;\"><b>{Keyword}<\/b><\/span><\/pre>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">The parameters are in green text, and their sample values are shown in red text. The <strong>?<\/strong> in the URL defines when the web address ends and the optional parameters start, and the <strong>&amp;<\/strong> characters separate the different parameters.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Some of the most common parameters are known as the UTM or Google Analytics Campaign parameters:<\/span><\/p>\n<ul>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong>utm_id<\/strong><span style=\"font-weight: 400;\"><strong>:<\/strong> Campaign ID.<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong>utm_source<\/strong><span style=\"font-weight: 400;\"><strong>:<\/strong> Referrer to your website, for example: facebook, google<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong>utm_medium<\/strong><span style=\"font-weight: 400;\"><strong>:<\/strong> Marketing medium, for example: PPC, email newsletter<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong>utm_campaign<\/strong><span style=\"font-weight: 400;\"><strong>:<\/strong> Marketing campaign name or identifier (product, dates, etc.)<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong>utm_term<\/strong><span style=\"font-weight: 400;\"><strong>:<\/strong> Paid keyword, commonly from Google Ads or Bing<\/span><\/li>\n<li style=\"font-weight: 400;\" aria-level=\"1\"><strong>utm_content<\/strong><span style=\"font-weight: 400;\"><strong>:<\/strong> More information about the marketing creative, ad text, etc.<\/span><\/li>\n<\/ul>\n<p><span style=\"font-weight: 400;\">Your web developer may know how to write javascript to capture parameters in the URLs that visitors click through to get to your website, or you can use a Salesforce app like <\/span><a href=\"http:\/\/appexchange.salesforce.com\/listingDetail?listingId=a0N30000009w2tgEAA\"><span style=\"font-weight: 400;\">CloudAmp\u2019s Campaign Tracker<\/span><\/a><span style=\"font-weight: 400;\"> to capture the data and make it part of your Salesforce leads.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">This approach assumes that you have landing pages that are only receiving traffic from certain campaigns. It will not work with generic Contact Us pages or similar forms, where visitors from many different sources might be arriving there.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">You can also use utm values to define source data (utm_campaign=LandingPageOffer1), and if you make it unique to a particular landing page, tie that back in your tracking (be sure to keep a <\/span><a href=\"https:\/\/cloudamp.com\/news\/how-to-keep-track-of-utm-campaigns\/\"><span style=\"font-weight: 400;\">careful UTM values spreadsheet<\/span><\/a><span style=\"font-weight: 400;\"> in that case!)<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><a name=\"heading7\"><\/a><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400;\">Salesforce Visitor Sessions (List of Pages Visited)<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">Some tools like <\/span><a href=\"http:\/\/appexchange.salesforce.com\/listingDetail?listingId=a0N30000009w2tgEAA\"><span style=\"font-weight: 400;\">CloudAmp\u2019s Campaign Tracker<\/span><\/a><span style=\"font-weight: 400;\"> will show you a complete list of pages that your lead visited on your web site, prior to filling out a lead form. You can often see multiple visits (sessions) as well.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">In the CloudAmp app, this data is provided in the &#8220;Visitor Sessions&#8221; object in Salesforce, which is related to the Lead (and later the Contact after conversion).<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">Here is an example lead, with the Visitor Sessions related list in the right hand column, showing the pages viewed by the Salesforce lead before they submitted a form.<\/span><\/p>\n<p><span style=\"font-weight: 400;\">\u00a0<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-343 size-full\" src=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/Salesforce-Lead-with-Related-Visitor-Sessions.png\" alt=\"Salesforce Lead with Visitor Sessions Related List\" width=\"1410\" height=\"334\" srcset=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/Salesforce-Lead-with-Related-Visitor-Sessions.png 1410w, https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/Salesforce-Lead-with-Related-Visitor-Sessions-300x71.png 300w, https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/Salesforce-Lead-with-Related-Visitor-Sessions-1024x243.png 1024w, https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/Salesforce-Lead-with-Related-Visitor-Sessions-768x182.png 768w\" sizes=\"auto, (max-width: 1410px) 100vw, 1410px\" \/>\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">As you can see from this simple example, the lead landed on a Setup page, and then went to the Contact page, which is where they submitted the form.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">You can click \u201cView All\u201d to see the full related list, where you can more easily see the page titles and complete URLs, as well as the time stamps from when a visitor was on each one of your web pages.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-344 size-full\" src=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/VisitorSessions-Example.png\" alt=\"Salesforce Visitor Sessions list with Web Pages Shown\" width=\"1198\" height=\"216\" srcset=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/VisitorSessions-Example.png 1198w, https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/VisitorSessions-Example-300x54.png 300w, https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/VisitorSessions-Example-1024x185.png 1024w, https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/VisitorSessions-Example-768x138.png 768w\" sizes=\"auto, (max-width: 1198px) 100vw, 1198px\" \/><\/span><\/p>\n<p><span style=\"font-weight: 400;\">If a lead visits your web site multiple times before submitting a form, that is shown in the data as well. Each session (visit) is numbered to tell them apart and give you visibility into which web pages the Salesforce lead viewed.<\/span><\/p>\n<p><span style=\"font-weight: 400;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-342 size-full\" src=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/VisitorSessions-MultipleVisits.png\" alt=\"Salesforce Visitor Sessions list with Web Pages Shown and Session Numbers\" width=\"1093\" height=\"230\" srcset=\"https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/VisitorSessions-MultipleVisits.png 1093w, https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/VisitorSessions-MultipleVisits-300x63.png 300w, https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/VisitorSessions-MultipleVisits-1024x215.png 1024w, https:\/\/cloudamp.com\/news\/wp-content\/uploads\/2023\/08\/VisitorSessions-MultipleVisits-768x162.png 768w\" sizes=\"auto, (max-width: 1093px) 100vw, 1093px\" \/><\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-weight: 400;\">We\u2019ve reviewed seven (7!) different ways to know what web page form a Salesforce lead came in through. There are likely other methods as well, but one or more of these should give you a good starting point to capturing better marketing data in Salesforce.\u00a0<\/span><\/p>\n<p><span style=\"font-weight: 400;\">If you have questions or feedback about the approaches described above, don\u2019t hesitate to <\/span><a href=\"https:\/\/cloudamp.com\/contact\/index.html\"><span style=\"font-weight: 400;\">contact us<\/span><\/a><span style=\"font-weight: 400;\">. (Comments are turned off here to prevent spam, but we\u2019re always happy to talk shop via email).<\/span><\/p>\n<p>&nbsp;<\/p>\n<h2><span style=\"font-weight: 400;\">Learn more about CloudAmp<\/span><\/h2>\n<p><span style=\"font-weight: 400;\">If you want to have more data about your Leads in Salesforce, including full source attribution and page view data to prove ROI and improve your marketing, <\/span><a href=\"https:\/\/www.cloudamp.com\/contact\/index.html\"><span style=\"font-weight: 400;\">contact us for more information<\/span><\/a><span style=\"font-weight: 400;\"> today.<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How can you tell which form on your web site a Salesforce lead filled out? Here are 7 different ways.<\/p>\n","protected":false},"author":2,"featured_media":358,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[8,12,11,10,9],"class_list":["post-336","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-forms","tag-salesforce-campaign","tag-salesforce-forms","tag-salesforce-lead-source","tag-salesforce-leads"],"_links":{"self":[{"href":"https:\/\/cloudamp.com\/news\/wp-json\/wp\/v2\/posts\/336","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudamp.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudamp.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudamp.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudamp.com\/news\/wp-json\/wp\/v2\/comments?post=336"}],"version-history":[{"count":26,"href":"https:\/\/cloudamp.com\/news\/wp-json\/wp\/v2\/posts\/336\/revisions"}],"predecessor-version":[{"id":929,"href":"https:\/\/cloudamp.com\/news\/wp-json\/wp\/v2\/posts\/336\/revisions\/929"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cloudamp.com\/news\/wp-json\/wp\/v2\/media\/358"}],"wp:attachment":[{"href":"https:\/\/cloudamp.com\/news\/wp-json\/wp\/v2\/media?parent=336"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudamp.com\/news\/wp-json\/wp\/v2\/categories?post=336"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudamp.com\/news\/wp-json\/wp\/v2\/tags?post=336"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}