{"id":2407,"date":"2021-05-06T11:53:47","date_gmt":"2021-05-06T11:53:47","guid":{"rendered":"https:\/\/help.activenow.io\/?post_type=kbe_knowledgebase&#038;p=2407"},"modified":"2021-05-12T12:26:31","modified_gmt":"2021-05-12T12:26:31","slug":"tracking-the-conversion-of-an-sign-up-form","status":"publish","type":"kbe_knowledgebase","link":"https:\/\/help.activenow.io\/en\/knowledgebase\/tracking-the-conversion-of-an-sign-up-form\/","title":{"rendered":"Tracking the conversion of an sign-up form"},"content":{"rendered":"\n<p class=\"has-text-color\" style=\"color:#ed0408\"><strong>Advanced function<\/strong> &#8211; implementation of this function requires technical knowledge<\/p>\n\n\n\n<p>If you use ads on Google or Facebook, you know how important it is to choose the right target group for your ads.<\/p>\n\n\n\n<p>Both Google and Facebook offer the possibility of optimising your target audience by tracking which ads have converted into purchases of your service. To make use of these, Google provides the Tracking Tag and Facebook the FB Pixel.<\/p>\n\n\n\n<p>The ActiveNow registration form allows you to track conversions using the above tools. We highly encourage you to use them. It allows you to reduce advertising budgets while increasing new acquisitions.<\/p>\n\n\n\n<p class=\"has-large-font-size\">What information does the form send?<\/p>\n\n\n\n<p>The ActiveNow form uses the <strong>window.postMessage()<\/strong> method to send information about actions made in the form. The function is called with a name that characterises what event took place:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>activenowDetailsLoaded<\/strong> \u2013 Wysy\u0142any po wybraniu przez klienta interesuj\u0105cych zaj\u0119\u0107. Stosowa\u0107 mo\u017cna jako odpowiednik Dodania do Koszyka w eCommerce (np. Facebook \u2013 Add to cart)<\/li><li><strong>activenowFormSubmitted<\/strong> \u2013 Wysy\u0142any po uzupe\u0142nieniu wszystkich wymaganych p\u00f3l i wys\u0142aniu zg\u0142oszenia na zaj\u0119cia. Stosowa\u0107 mo\u017cna jako odpowiednik z\u0142o\u017cenia zam\u00f3wienia w eCommerce (np. Facebook \u2013 Submit application)<\/li><\/ul>\n\n\n\n<p class=\"has-large-font-size\">Receiving information from a form<\/p>\n\n\n\n<p>To receive the information sent by the Form, use the <strong>window.addEventListener(&#8220;message&#8221;)<\/strong> method, and recognize the type of message that was sent. Sample JavaScript code that you can use:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>window.addEventListener(\"message\", messageReceived, false);\n\nfunction messageReceived(e)\n{\n    if ( e.data == 'activenowDetailsLoaded' ) {\n        \/\/ Launching a relevant Facebook or Google event\n    }\n    if ( e.data == 'activenowFormSubmitted' ) {\n        \/\/ Launching a relevant Facebook or Google event\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"has-large-font-size\">Sending information to Google\/Facebook<\/p>\n\n\n\n<p>Where described as <em>Calling the relevant Facebook or Google event<\/em>, enter the relevant Tracking Tag or FB Pixel code. You can find more information here:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Facebook \u2013 <a href=\"https:\/\/developers.facebook.com\/docs\/facebook-pixel\/advanced\/#buttonclicks\">https:\/\/developers.facebook.com\/docs\/facebook-pixel\/advanced\/#buttonclicks<\/a><\/li><li>Google \u2013 <a href=\"https:\/\/support.google.com\/google-ads\/answer\/6331304?hl=en\">https:\/\/support.google.com\/google-ads\/answer\/6331304?hl=en<\/a><\/li><\/ul>\n\n\n\n<p>The ActiveNow team will not be able to perform the technical implementation of the above functionality on your site.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Advanced function &#8211; implementation of this function requires technical knowledge If you use ads on Google or Facebook, you know how important it is to choose the right target group for your ads. Both Google and Facebook offer the possibility of optimising your target audience by tracking which ads have converted into purchases of your &#8230; <a title=\"Tracking the conversion of an sign-up form\" class=\"read-more\" href=\"https:\/\/help.activenow.io\/en\/knowledgebase\/tracking-the-conversion-of-an-sign-up-form\/\" aria-label=\"Read more about Tracking the conversion of an sign-up form\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","kbe_taxonomy":[],"kbe_tags":[],"class_list":["post-2407","kbe_knowledgebase","type-kbe_knowledgebase","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Tracking the conversion of an sign-up form - FAQ<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/help.activenow.io\/knowledgebase\/sledzenie-konwersji-formularza-zapisow\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tracking the conversion of an sign-up form - FAQ\" \/>\n<meta property=\"og:description\" content=\"Advanced function &#8211; implementation of this function requires technical knowledge If you use ads on Google or Facebook, you know how important it is to choose the right target group for your ads. Both Google and Facebook offer the possibility of optimising your target audience by tracking which ads have converted into purchases of your ... Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.activenow.io\/knowledgebase\/sledzenie-konwersji-formularza-zapisow\/\" \/>\n<meta property=\"og:site_name\" content=\"FAQ\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ActiveNowApp\/\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-12T12:26:31+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/help.activenow.io\\\/knowledgebase\\\/sledzenie-konwersji-formularza-zapisow\\\/\",\"url\":\"https:\\\/\\\/help.activenow.io\\\/knowledgebase\\\/sledzenie-konwersji-formularza-zapisow\\\/\",\"name\":\"Tracking the conversion of an sign-up form - FAQ\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/help.activenow.io\\\/#website\"},\"datePublished\":\"2021-05-06T11:53:47+00:00\",\"dateModified\":\"2021-05-12T12:26:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/help.activenow.io\\\/knowledgebase\\\/sledzenie-konwersji-formularza-zapisow\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/help.activenow.io\\\/knowledgebase\\\/sledzenie-konwersji-formularza-zapisow\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/help.activenow.io\\\/knowledgebase\\\/sledzenie-konwersji-formularza-zapisow\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Strona g\u0142\u00f3wna\",\"item\":\"https:\\\/\\\/help.activenow.io\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Baza wiedzy\",\"item\":\"https:\\\/\\\/help.activenow.io\\\/knowledgebase\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Tracking the conversion of an sign-up form\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/help.activenow.io\\\/#website\",\"url\":\"https:\\\/\\\/help.activenow.io\\\/\",\"name\":\"ActiveNow | Baza wiedzy\",\"description\":\"Questions and answers related to the ActiveNow system\",\"publisher\":{\"@id\":\"https:\\\/\\\/help.activenow.io\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/help.activenow.io\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/help.activenow.io\\\/#organization\",\"name\":\"ActiveNow\",\"url\":\"https:\\\/\\\/help.activenow.io\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/help.activenow.io\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/help.activenow.io\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/logo-horizontal-black.png\",\"contentUrl\":\"https:\\\/\\\/help.activenow.io\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/logo-horizontal-black.png\",\"width\":550,\"height\":129,\"caption\":\"ActiveNow\"},\"image\":{\"@id\":\"https:\\\/\\\/help.activenow.io\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/ActiveNowApp\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/activenowapp\\\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tracking the conversion of an sign-up form - FAQ","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:\/\/help.activenow.io\/knowledgebase\/sledzenie-konwersji-formularza-zapisow\/","og_locale":"en_US","og_type":"article","og_title":"Tracking the conversion of an sign-up form - FAQ","og_description":"Advanced function &#8211; implementation of this function requires technical knowledge If you use ads on Google or Facebook, you know how important it is to choose the right target group for your ads. Both Google and Facebook offer the possibility of optimising your target audience by tracking which ads have converted into purchases of your ... Read more","og_url":"https:\/\/help.activenow.io\/knowledgebase\/sledzenie-konwersji-formularza-zapisow\/","og_site_name":"FAQ","article_publisher":"https:\/\/www.facebook.com\/ActiveNowApp\/","article_modified_time":"2021-05-12T12:26:31+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/help.activenow.io\/knowledgebase\/sledzenie-konwersji-formularza-zapisow\/","url":"https:\/\/help.activenow.io\/knowledgebase\/sledzenie-konwersji-formularza-zapisow\/","name":"Tracking the conversion of an sign-up form - FAQ","isPartOf":{"@id":"https:\/\/help.activenow.io\/#website"},"datePublished":"2021-05-06T11:53:47+00:00","dateModified":"2021-05-12T12:26:31+00:00","breadcrumb":{"@id":"https:\/\/help.activenow.io\/knowledgebase\/sledzenie-konwersji-formularza-zapisow\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.activenow.io\/knowledgebase\/sledzenie-konwersji-formularza-zapisow\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/help.activenow.io\/knowledgebase\/sledzenie-konwersji-formularza-zapisow\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Strona g\u0142\u00f3wna","item":"https:\/\/help.activenow.io\/en\/"},{"@type":"ListItem","position":2,"name":"Baza wiedzy","item":"https:\/\/help.activenow.io\/knowledgebase\/"},{"@type":"ListItem","position":3,"name":"Tracking the conversion of an sign-up form"}]},{"@type":"WebSite","@id":"https:\/\/help.activenow.io\/#website","url":"https:\/\/help.activenow.io\/","name":"ActiveNow | Baza wiedzy","description":"Questions and answers related to the ActiveNow system","publisher":{"@id":"https:\/\/help.activenow.io\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.activenow.io\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/help.activenow.io\/#organization","name":"ActiveNow","url":"https:\/\/help.activenow.io\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/help.activenow.io\/#\/schema\/logo\/image\/","url":"https:\/\/help.activenow.io\/wp-content\/uploads\/2018\/01\/logo-horizontal-black.png","contentUrl":"https:\/\/help.activenow.io\/wp-content\/uploads\/2018\/01\/logo-horizontal-black.png","width":550,"height":129,"caption":"ActiveNow"},"image":{"@id":"https:\/\/help.activenow.io\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/ActiveNowApp\/","https:\/\/www.linkedin.com\/company\/activenowapp\/"]}]}},"_links":{"self":[{"href":"https:\/\/help.activenow.io\/en\/wp-json\/wp\/v2\/kbe_knowledgebase\/2407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.activenow.io\/en\/wp-json\/wp\/v2\/kbe_knowledgebase"}],"about":[{"href":"https:\/\/help.activenow.io\/en\/wp-json\/wp\/v2\/types\/kbe_knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/help.activenow.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.activenow.io\/en\/wp-json\/wp\/v2\/comments?post=2407"}],"version-history":[{"count":3,"href":"https:\/\/help.activenow.io\/en\/wp-json\/wp\/v2\/kbe_knowledgebase\/2407\/revisions"}],"predecessor-version":[{"id":2469,"href":"https:\/\/help.activenow.io\/en\/wp-json\/wp\/v2\/kbe_knowledgebase\/2407\/revisions\/2469"}],"wp:attachment":[{"href":"https:\/\/help.activenow.io\/en\/wp-json\/wp\/v2\/media?parent=2407"}],"wp:term":[{"taxonomy":"kbe_taxonomy","embeddable":true,"href":"https:\/\/help.activenow.io\/en\/wp-json\/wp\/v2\/kbe_taxonomy?post=2407"},{"taxonomy":"kbe_tags","embeddable":true,"href":"https:\/\/help.activenow.io\/en\/wp-json\/wp\/v2\/kbe_tags?post=2407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}