{"id":15389,"date":"2015-03-25T12:51:34","date_gmt":"2015-03-25T12:51:34","guid":{"rendered":"http:\/\/www.123formbuilder.com\/docs\/?p=15389"},"modified":"2022-10-26T13:43:15","modified_gmt":"2022-10-26T13:43:15","slug":"how-to-add-facebook-conversion-tracking-to-your-online-form","status":"publish","type":"post","link":"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/","title":{"rendered":"How to add Facebook conversion tracking to your 123FormBuilder surveys?"},"content":{"rendered":"<div class=\"defaultText\">\n<div class=\"text justify\">\n<p>If you want to add Facebook conversion tracking to your <a class=\"blueLink99\" href=\"\/\" target=\"_blank\" rel=\"noopener\">online form<\/a>, but couldn&#8217;t figure out how to do this, simply follow our guide.<\/p>\n<p>You have two options of tracking:<\/p>\n<ul>\n<li>the form&#8217;s submissions ( the script is added on the Thank You Page)<\/li>\n<li>the form&#8217;s activity ( the script is added on the form)<\/li>\n<\/ul>\n<\/div>\n<h2>Track Form Submissions<\/h2>\n<hr>\n<p>1. Generate&nbsp;your pixel code in your<b> Events&nbsp;<\/b><b>Manager<\/b> on Facebook.<\/p>\n<p>2. Go to&nbsp;<a href=\"https:\/\/www.facebook.com\/events_manager\/\">Facebook Pixel in Events Manager<\/a>, select to install Pixel, and copy the entire pixel code from point number 2.<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/InstallPixel.png\" alt=\"Facebook Pixel Tracking Form\" width=\"420\" height=\"150\"><\/p>\n<\/div>\n<p>3. Paste it in a text editor like Notepad.<\/p>\n<p>4.&nbsp;As you can see the base code of the script has HTML Tags.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/staticresources123.s3.us-west-2.amazonaws.com\/docs\/facebookPixelHTML.png\" width=\"641\" height=\"351\"><\/p>\n<p style=\"text-align: center\">\n<p>5. In order to incorporate those HTML elements&nbsp;on our side, please go to<b> Settings &#8211; Thank you Page &#8211; Show HTML Block<\/b>. Add the highlighted text, as in the above image, in the source code of the HTML block option (the &lt;&gt; button on the top right side of the editor):<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium\" src=\"https:\/\/staticresources123.s3.us-west-2.amazonaws.com\/docs\/facebookPixelHTMLThankYou.png\" width=\"1314\" height=\"591\"><\/p>\n<p><span style=\"font-size: inherit\">Now you have added the HTML. Next, let&#8217;s see how to add the actual script.<\/span><\/p>\n<p>6. Copy the script part in another Notepad,&nbsp;without the comment line and the HTML tags.<\/p>\n<p>So the code should start with:<\/p>\n<p><code>!function(f,b,e,v,n,t,s) <\/code><\/p>\n<p>And end with:<\/p>\n<p><code>fbq('track', 'PageView'); <\/code><\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/FBscript.png\" alt=\"Facebook Pixel Tracking Form\" width=\"620\" height=\"150\"><\/p>\n<p>7. Save the Notepad document with the extension &#8216;<b>.js<\/b>&#8216;.<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/SaveasJS.png\" alt=\"Facebook Pixel Tracking Form\" width=\"620\" height=\"450\"><\/p>\n<p>8. Upload the file (document) on a trusted web server (yours recommended).<\/p>\n<p>9. In your 123FormBuilder account, go to <b>My Forms<\/b>, select your form and go to the <b>Settings<\/b>&nbsp;&#8211;&nbsp;<b>Advanced<\/b> section.<\/p>\n<p>10. Enable the option <em><a class=\"blueLink99\" href=\"https:\/\/www.123formbuilder.com\/docs\/how-to-add-javascript-code-to-the-thank-you-page\/\" target=\"_new\" rel=\"noopener\">Add a JS script to the Thank You page of your form<\/a><\/em> and paste the URL where your <b>.js<\/b> file is located.<\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/TPscipt.png\" alt=\"Facebook Pixel Tracking Form\" width=\"520\" height=\"450\"><\/p>\n<h2>Track Form Activity<\/h2>\n<hr>\n<p>The steps are the same as explained above. Two steps are different. The HTML and the script&#8217;s placement will change. Since we are tracking the form&#8217;s activity, both will be added directly to the form.<\/p>\n<p>Therefore, at point number 5,&nbsp; incorporate the HTML elements from Facebook pixel into a HTML block field or the Form Header.<\/p>\n<p><span style=\"font-size: inherit\">At point number 10, enable the option <\/span><b style=\"font-size: inherit\">Add a JS script to your form<\/b><span style=\"font-size: inherit\"> and paste the URL where your .js file is located.<\/span><\/p>\n<p style=\"text-align: center\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone\" src=\"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/JSonForm.png\" alt=\"Facebook Pixel Tracking Form\" width=\"520\" height=\"450\"><\/p>\n<p>If the steps have been followed correctly, your online form should be already tracked on Facebook.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to add Facebook conversion tracking to your online form, but couldn&#8217;t figure out how to do this, simply follow our guide. You have two options of tracking: the form&#8217;s submissions ( the script is added on the Thank You Page) the form&#8217;s activity ( the script is added on the form) Track [&hellip;]<\/p>\n","protected":false},"author":14,"featured_media":-1,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[93],"tags":[964,966,965],"class_list":["post-15389","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-advanced","tag-facebook-conversion-tracking","tag-track-form-activity-facebook","tag-track-form-submissions-facebook"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Adding Facebook conversion tracking on form | 123FormBuilder<\/title>\n<meta name=\"description\" content=\"If you want to add the Facebook conversion tracking code to your form to track it in the Ads Manager, follow our documentation to learn the steps.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to add Facebook conversion tracking to your 123FormBuilder surveys?\" \/>\n<meta property=\"og:description\" content=\"If you want to add the Facebook conversion tracking code to your form to track it in the Ads Manager, follow our documentation to learn the steps.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/\" \/>\n<meta property=\"og:site_name\" content=\"123FormBuilder Knowledge Base\" \/>\n<meta property=\"article:published_time\" content=\"2015-03-25T12:51:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-10-26T13:43:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/InstallPixel.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Adding Facebook conversion tracking on form | 123FormBuilder","description":"If you want to add the Facebook conversion tracking code to your form to track it in the Ads Manager, follow our documentation to learn the steps.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/","og_locale":"en_US","og_type":"article","og_title":"How to add Facebook conversion tracking to your 123FormBuilder surveys?","og_description":"If you want to add the Facebook conversion tracking code to your form to track it in the Ads Manager, follow our documentation to learn the steps.","og_url":"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/","og_site_name":"123FormBuilder Knowledge Base","article_published_time":"2015-03-25T12:51:34+00:00","article_modified_time":"2022-10-26T13:43:15+00:00","og_image":[{"url":"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/InstallPixel.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/#article","isPartOf":{"@id":"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/"},"author":{"name":"","@id":""},"headline":"How to add Facebook conversion tracking to your 123FormBuilder surveys?","datePublished":"2015-03-25T12:51:34+00:00","dateModified":"2022-10-26T13:43:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/"},"wordCount":382,"commentCount":15,"image":{"@id":"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/#primaryimage"},"thumbnailUrl":"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/InstallPixel.png","keywords":["facebook conversion tracking","track form activity facebook","track form submissions facebook"],"articleSection":["Advanced"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/","url":"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/","name":"Adding Facebook conversion tracking on form | 123FormBuilder","isPartOf":{"@id":"https:\/\/www.123formbuilder.com\/docs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/#primaryimage"},"image":{"@id":"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/#primaryimage"},"thumbnailUrl":"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/InstallPixel.png","datePublished":"2015-03-25T12:51:34+00:00","dateModified":"2022-10-26T13:43:15+00:00","author":{"@id":""},"description":"If you want to add the Facebook conversion tracking code to your form to track it in the Ads Manager, follow our documentation to learn the steps.","breadcrumb":{"@id":"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/#primaryimage","url":"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/InstallPixel.png","contentUrl":"https:\/\/staticresources123.s3-us-west-2.amazonaws.com\/docs\/InstallPixel.png"},{"@type":"BreadcrumbList","@id":"https:\/\/www.123formbuilder.com\/docs\/how-to-add-facebook-conversion-tracking-to-your-online-form\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.123formbuilder.com\/docs\/"},{"@type":"ListItem","position":2,"name":"How to add Facebook conversion tracking to your 123FormBuilder surveys?"}]},{"@type":"WebSite","@id":"https:\/\/www.123formbuilder.com\/docs\/#website","url":"https:\/\/www.123formbuilder.com\/docs\/","name":"123FormBuilder Knowledge Base","description":"Search our documentation platform for answers, service specifications and 3rd-party integrations.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.123formbuilder.com\/docs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"","url":"https:\/\/www.123formbuilder.com\/docs\/author\/"}]}},"_links":{"self":[{"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/posts\/15389","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/users\/14"}],"replies":[{"embeddable":true,"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/comments?post=15389"}],"version-history":[{"count":37,"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/posts\/15389\/revisions"}],"predecessor-version":[{"id":44988,"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/posts\/15389\/revisions\/44988"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/media?parent=15389"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/categories?post=15389"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.123formbuilder.com\/docs\/wp-json\/wp\/v2\/tags?post=15389"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}