{"id":7839,"date":"2022-10-19T10:44:13","date_gmt":"2022-10-19T10:44:13","guid":{"rendered":"https:\/\/docs.campaignsuite.nl\/docs\/gravity-forms\/measurement\/create-new-measurement\/"},"modified":"2022-10-19T10:54:40","modified_gmt":"2022-10-19T10:54:40","slug":"create-new-measurement","status":"publish","type":"docs","link":"https:\/\/docs.campaignsuite.nl\/en\/docs\/gravity-forms\/measurement\/create-new-measurement\/","title":{"rendered":"Create new measurement"},"content":{"rendered":"\n<p>To create a new measurement moment, open a form in WordPress and go to <strong>Settings -&gt; Measurements<\/strong>. Then click the <strong>Add new button.<\/strong><br>This will open a new window with the following options:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized lightbox\"><a href=\"https:\/\/docs.campaignsuite.nl\/wp-content\/uploads\/2022\/10\/measurement_new_feed_action.png\" target=\" _blank\" rel=\"noreferrer noopener\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/docs.campaignsuite.nl\/wp-content\/uploads\/2022\/10\/measurement_new_feed_action.png\" alt=\"\" class=\"wp-image-7815\" width=\"486\" height=\"363\" srcset=\"https:\/\/docs.campaignsuite.nl\/wp-content\/uploads\/2022\/10\/measurement_new_feed_action.png 923w, https:\/\/docs.campaignsuite.nl\/wp-content\/uploads\/2022\/10\/measurement_new_feed_action-300x224.png 300w, https:\/\/docs.campaignsuite.nl\/wp-content\/uploads\/2022\/10\/measurement_new_feed_action-768x572.png 768w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/a><\/figure>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">Action name<br><\/span><\/strong>Enter a recognizable name within the system here. This name will not be displayed on the website or in a measurement value.<\/p>\n\n\n\n<p><span style=\"text-decoration: underline;\"><strong>Type of event<\/strong><br><\/span>Choose here from one of the six moments at which the measurement should take place. An event can make a Client Side call, a Server Side call, or both. The moments you can choose from are:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>On form page load<\/strong><br>This is the moment a Gravity Forms page is loaded. This is not the WordPress page the form is loaded on, but the page\/step inside the Gravity Form.<\/li><li><strong>On form page submit<\/strong><br>This is the moment a Gravity Forms page\/step is submitted. The moment you press on the next or submit button, this event is triggered.<\/li><li><strong>On complete form submit<\/strong><br>This is the moment a Gravity Forms form is submitted. This event will only trigger after the last page when your form consists of several pages.<\/li><li><strong>On form confirmation text or page<\/strong><br>This event is triggered when a visitor ends up on the confirmation text or the confirmation page. When you redirect to an internal page, this trigger will be executed when the WordPress page is loaded. When you redirect to an external URL, this trigger will fire on the event: &#8216;On complete form submit&#8217;.<\/li><li><strong>On Findock v2 webhook call<\/strong><br>This event is triggered on a webhook call from Findock v2.0. This is also called the &#8216;Matched&#8217; webhook and is fired when a Payment Intent is processed.<\/li><li><strong>After a successful payment<\/strong><br>This event is triggered when a payment in Gravity Forms is set to successful.<\/li><\/ol>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">Providers<\/span><\/strong><br>Choose here which providers you want to have something measured on the specified event. The options here are:<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>Facebook<\/strong><br>This is the <a rel=\"noreferrer noopener\" href=\"https:\/\/www.facebook.com\/business\/help\/2041148702652965?id=818859032317965\" target=\"_blank\">Facebook Conversion API<\/a>. The Conversions API is designed to create a direct connection between your marketing data and the systems that help you optimize ad targeting, reduce cost per action, and measure results on Meta technologies. This provider only has the ability to perform Server Side calls. To use this provider, you need to enter a Pixel ID and an Access token in the CampaignSuite settings.<\/li><li><strong>Google Analytics 4<\/strong><br>GA4 can create Client Side and Server Side calls. The Client Side calls use the datalayer.push() and the gtag() functions. The Server Side calls use the <a rel=\"noreferrer noopener\" href=\"https:\/\/developers.google.com\/analytics\/devguides\/collection\/protocol\/ga4\" target=\"_blank\">GA4 Measurement Protocol<\/a>. E-commerce calls can also be made with this. To use the GA4 Measurement Protocol you must enter a Measurement ID and API secret in the CampaignSuite settings.<\/li><li><strong>Squeezel<\/strong>y<br>With <a rel=\"noreferrer noopener\" href=\"https:\/\/www.squeezely.tech\/\" target=\"_blank\">Squeezely<\/a> you can create the most advanced buyer journeys and personalization applications out-of-the-box. You work on the basis of flawless data and you can set it up entirely to your own liking. This provider can make Client Side and Server Side calls. The Client Side calls use a datalayer.push() function. The Server Side calls are sent directly to Squeezely&#8217;s API. To use this, you must enter an Account ID and API key in the CampaignSuite settings.<\/li><li><strong>Google Tag Manager<\/strong><br>This provider supports Client Side calls and Server Side calls. The Client Side calls use the datalayer.push() function. The Server Side calls are only available if a GTM SST URL is entered in the CampaignSuite settings. This URL must be a link to a Google Tag Manager container that can capture the various parameters in GTM.<\/li><\/ol>\n\n\n\n<p><strong><span style=\"text-decoration: underline;\">Feed condition<\/span><\/strong><br>It is also possible to make this Feed action conditional. This means that the feed will only be executed if certain conditions are met.<\/p>\n\n\n\n<p>When all settings are done, click on <strong>Refresh<\/strong> to display the mapping of the chosen providers. This mapping is necessary to let the system know which data can be found where in the form. Look further at the article <a href=\"\/en\/docs\/gravity-forms\/measurements\/mapping\">Mapping<\/a> to discover the possibilities.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To create a new measurement moment, open a form in WordPress and go to Settings -&gt; Measurements. Then click the Add new button.This will open a new window with the following options: Action nameEnter a recognizable name within the system here. This name will not be displayed on the website or in a measurement value. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":7768,"menu_order":2,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-7839","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/7839","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/comments?post=7839"}],"version-history":[{"count":4,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/7839\/revisions"}],"predecessor-version":[{"id":7845,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/7839\/revisions\/7845"}],"up":[{"embeddable":true,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/docs\/7768"}],"wp:attachment":[{"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/media?parent=7839"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.campaignsuite.nl\/en\/wp-json\/wp\/v2\/doc_tag?post=7839"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}