{"id":1951,"date":"2014-07-22T15:53:42","date_gmt":"2014-07-22T13:53:42","guid":{"rendered":"https:\/\/webmasterei-prange.de\/contact-form-7-conversion-tracking-with-google-analytics\/"},"modified":"2025-10-06T20:50:02","modified_gmt":"2025-10-06T18:50:02","slug":"contact-form-7-conversion-tracking-with-google-analytics","status":"publish","type":"post","link":"https:\/\/webmasterei-prange.de\/en\/contact-form-7-conversion-tracking-with-google-analytics\/","title":{"rendered":"Contact Form 7 Conversion Tracking with Google Analytics"},"content":{"rendered":"\n<p>Of course, you know the number of contacts you&#8217;ve received via a <strong>contact form<\/strong> . You answer them yourself. But what about newsletter subscriptions, for example? What impact do my Facebook posts have? Where do the visitors who are willing to interact come from?  <\/p>\n\n<p><strong>Google Analytics Conversion Tracking<\/strong> can answer this question perfectly. I&#8217;ll show you how to set it up here. <\/p>\n\n<h2 class=\"wp-block-heading\" id=\"toc_Google_Analytics_Event_Code_zu_Contact_Form_7\">Add Google Analytics Event Code to Contact Form 7.<\/h2>\n\n<p>The event code consists of a tracker event, which can be inserted in the contact form under Additional Settings.<\/p>\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">on_sent_ok: \"ga('send', 'event', );\"<\/pre>\n\n<p><a href=\"https:\/\/webmasterei-prange.de\/wp-content\/uploads\/2014\/07\/contact-form-7-google-analytics-tracking1.jpg\"><\/a><\/p>\n\n<p id=\"caption-attachment-35\">Contact Form 7 Google Analytics Tracking<\/p>\n\n<p>If you want to modify the code, you can do so manually or use this <a href=\"http:\/\/gaconfig.com\/google-analytics-event-tracking\/contact-form\/\" target=\"_blank\" rel=\"noreferrer noopener\">event tracking code generator<\/a> .<\/p>\n\n<p>Then save the form and submit a test. The changes in Google Analytics will usually appear starting the next day. <\/p>\n\n<p>You can then view the tracked events in Google Analytics under <strong>Behavior&gt;<\/strong> Find <strong>events<\/strong> .<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"toc_Google_Analytics_Ereignis_als_Ziel_sichtbar_machen\">Make Google Analytics Event visible as a Goal<\/h2>\n\n<p>However, you usually want to make the tracked event visible as a Google Analytics goal so that it can also be evaluated there against other goals.<\/p>\n\n<p>To achieve this, you need to define a corresponding goal.<\/p>\n\n<p>Navigate to Manage &gt; Destinations (right column).<\/p>\n\n<p>Set your goal in 3 steps:<\/p>\n\n<p><a href=\"https:\/\/webmasterei-prange.de\/wp-content\/uploads\/2014\/07\/Google-Analytics-Ziel-f%C3%BCr-Contact-Form-7-einrichten-1.jpg\"><\/a><\/p>\n\n<p id=\"caption-attachment-36\">Choose custom goal setup.<\/p>\n\n<p><a href=\"https:\/\/webmasterei-prange.de\/wp-content\/uploads\/2014\/07\/Google-Analytics-Ziel-f%C3%BCr-Contact-Form-7-einrichten-3.jpg\"><\/a><\/p>\n\n<p id=\"caption-attachment-38\">Define Goal Description  Type<\/p>\n\n<p><a href=\"https:\/\/webmasterei-prange.de\/wp-content\/uploads\/2014\/07\/Google-Analytics-Ziel-f%C3%BCr-Contact-Form-7-einrichten-2.jpg\"><\/a><\/p>\n\n<p id=\"caption-attachment-37\">Define the fields according to the values previously set in the event.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Of course, you know the number of contacts you&#8217;ve received via a contact form . You answer them yourself. But what about newsletter subscriptions, for example? What impact do my Facebook posts have? Where do the visitors who are willing to interact come from? Google Analytics Conversion Tracking can answer&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","slim_seo":{"title":"Track Contact Form 7 conversions with GA","description":"How to enable conversion tracking for Contact Form 7 using Google Analytics \u2013 clear instructions including events and goals."},"footnotes":""},"categories":[25],"tags":[],"class_list":["post-1951","post","type-post","status-publish","format-standard","hentry","category-website-tracking"],"taxonomy_info":{"category":[{"value":25,"label":"Website tracking"}]},"featured_image_src_large":false,"author_info":{"display_name":"admin","author_link":"https:\/\/webmasterei-prange.de\/en\/author\/admin\/"},"comment_info":0,"category_info":[{"term_id":25,"name":"Website tracking","slug":"website-tracking","term_group":0,"term_taxonomy_id":25,"taxonomy":"category","description":"","parent":0,"count":11,"filter":"raw","cat_ID":25,"category_count":11,"category_description":"","cat_name":"Website tracking","category_nicename":"website-tracking","category_parent":0}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/webmasterei-prange.de\/en\/wp-json\/wp\/v2\/posts\/1951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webmasterei-prange.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webmasterei-prange.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webmasterei-prange.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webmasterei-prange.de\/en\/wp-json\/wp\/v2\/comments?post=1951"}],"version-history":[{"count":1,"href":"https:\/\/webmasterei-prange.de\/en\/wp-json\/wp\/v2\/posts\/1951\/revisions"}],"predecessor-version":[{"id":1952,"href":"https:\/\/webmasterei-prange.de\/en\/wp-json\/wp\/v2\/posts\/1951\/revisions\/1952"}],"wp:attachment":[{"href":"https:\/\/webmasterei-prange.de\/en\/wp-json\/wp\/v2\/media?parent=1951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webmasterei-prange.de\/en\/wp-json\/wp\/v2\/categories?post=1951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webmasterei-prange.de\/en\/wp-json\/wp\/v2\/tags?post=1951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}