{"id":577,"date":"2012-03-31T06:24:20","date_gmt":"2012-03-31T06:24:20","guid":{"rendered":"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/?p=577"},"modified":"2012-03-31T06:25:08","modified_gmt":"2012-03-31T06:25:08","slug":"deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins","status":"publish","type":"post","link":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577","title":{"rendered":"[Deprecated] &#8211; Capturing Lead Using Contact Form 7 and WP Affiliate Platform Plugins"},"content":{"rendered":"<p>This documentation is old and has been deprecated. It should not be used anymore. Use the new documentation for\u00a0<a href=\"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/?p=215\">capturing\u00a0lead\u00a0with\u00a0contact form 7 plugin<\/a>.<\/p>\n<h3>Old Contact Form 7 and WP Affiliate Platform Lead Capture<\/h3>\n<h4>Step 1: Setting up the Contact Form<\/h4>\n<p>Somewhere in your contact form&#8217;s &#8220;message body&#8221; enter the following piece of text:<\/p>\n<p>[wp_affiliate_lead:reference:1:end]<\/p>\n<div id=\"attachment_216\" style=\"width: 437px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/affiliate-lead-capture.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-216\" class=\"size-full wp-image-216  \" title=\"affiliate-lead-capture\" src=\"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/affiliate-lead-capture.jpg\" alt=\"\" width=\"427\" height=\"274\" srcset=\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/affiliate-lead-capture.jpg 593w, https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/affiliate-lead-capture-300x192.jpg 300w\" sizes=\"auto, (max-width: 427px) 100vw, 427px\" \/><\/a><p id=\"caption-attachment-216\" class=\"wp-caption-text\">Contact Form 7 setup<\/p><\/div>\n<p>1 is the a reference number (it can be anything). If you have multiple contact forms on your site then this number allows you differentiate which form generated which lead.<\/p>\n<h4>Step 2: Modify the code so the lead gets captured upon contact form submission<\/h4>\n<p>Open the &#8220;classes.php&#8221; file from the &#8220;includes&#8221; directory of the Contact Form 7 plugin and search for the following text<br \/>\n<code><br \/>\n$headers = \"From: $sender\\n\";<br \/>\n<\/code><br \/>\nOnce you find that line simply add the code given <a href=\"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/lead-capture-contact-form-code-modification.txt\" target=\"_blank\">here<\/a> just above that line.<\/p>\n<p>All done, now when a visitor submits a contact form that has the special tag embedded in the &#8220;message body&#8221; it will capture the lead. You can view all the leads in the &#8220;Manage Leads&#8221; menu of the Affiliate Platform Software. You will be able to manually award commission from this menu once you get revenue from a lead.<\/p>\n<div id=\"attachment_219\" style=\"width: 432px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/manage-leads-sc1.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-219\" class=\"size-full wp-image-219\" title=\"manage-leads-sc1\" src=\"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/manage-leads-sc1.jpg\" alt=\"\" width=\"422\" height=\"251\" srcset=\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/manage-leads-sc1.jpg 878w, https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/manage-leads-sc1-300x179.jpg 300w\" sizes=\"auto, (max-width: 422px) 100vw, 422px\" \/><\/a><p id=\"caption-attachment-219\" class=\"wp-caption-text\">Screenshot of the Manage Leads Menu<\/p><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This documentation is old and has been deprecated. It should not be used anymore. Use the new documentation for\u00a0capturing\u00a0lead\u00a0with\u00a0contact form 7 plugin. Old Contact Form 7 and WP Affiliate Platform Lead Capture Step 1: Setting up the Contact Form Somewhere in your contact form&#8217;s &#8220;message body&#8221; enter the following piece of text: [wp_affiliate_lead:reference:1:end] 1 is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[3],"tags":[20],"class_list":{"0":"post-577","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-additional-resources","7":"tag-lead-capture","8":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[Deprecated] - Capturing Lead Using Contact Form 7 and WP Affiliate Platform Plugins - WordPress Affiliate Platform<\/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:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#\/schema\/person\/b3a690506213824832751de546a340fb\"},\"headline\":\"[Deprecated] &#8211; Capturing Lead Using Contact Form 7 and WP Affiliate Platform Plugins\",\"datePublished\":\"2012-03-31T06:24:20+00:00\",\"dateModified\":\"2012-03-31T06:25:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577\"},\"wordCount\":231,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/affiliate-lead-capture.jpg\",\"keywords\":[\"Lead Capture\"],\"articleSection\":[\"Additional Resources\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577\",\"url\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577\",\"name\":\"[Deprecated] - Capturing Lead Using Contact Form 7 and WP Affiliate Platform Plugins - WordPress Affiliate Platform\",\"isPartOf\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577#primaryimage\"},\"thumbnailUrl\":\"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/affiliate-lead-capture.jpg\",\"datePublished\":\"2012-03-31T06:24:20+00:00\",\"dateModified\":\"2012-03-31T06:25:08+00:00\",\"author\":{\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#\/schema\/person\/b3a690506213824832751de546a340fb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577#primaryimage\",\"url\":\"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/affiliate-lead-capture.jpg\",\"contentUrl\":\"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/affiliate-lead-capture.jpg\"},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#website\",\"url\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/\",\"name\":\"WordPress Affiliate Platform\",\"description\":\"Take control of your affiliates and drive more sales\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#\/schema\/person\/b3a690506213824832751de546a340fb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[Deprecated] - Capturing Lead Using Contact Form 7 and WP Affiliate Platform Plugins - WordPress Affiliate Platform","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.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577","twitter_misc":{"Written by":"admin","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577#article","isPartOf":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577"},"author":{"name":"admin","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#\/schema\/person\/b3a690506213824832751de546a340fb"},"headline":"[Deprecated] &#8211; Capturing Lead Using Contact Form 7 and WP Affiliate Platform Plugins","datePublished":"2012-03-31T06:24:20+00:00","dateModified":"2012-03-31T06:25:08+00:00","mainEntityOfPage":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577"},"wordCount":231,"commentCount":0,"image":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577#primaryimage"},"thumbnailUrl":"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/affiliate-lead-capture.jpg","keywords":["Lead Capture"],"articleSection":["Additional Resources"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577","url":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577","name":"[Deprecated] - Capturing Lead Using Contact Form 7 and WP Affiliate Platform Plugins - WordPress Affiliate Platform","isPartOf":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577#primaryimage"},"image":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577#primaryimage"},"thumbnailUrl":"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/affiliate-lead-capture.jpg","datePublished":"2012-03-31T06:24:20+00:00","dateModified":"2012-03-31T06:25:08+00:00","author":{"@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#\/schema\/person\/b3a690506213824832751de546a340fb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/deprecated-capturing-lead-using-contact-form-7-and-wp-affiliate-platform-plugins-577#primaryimage","url":"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/affiliate-lead-capture.jpg","contentUrl":"http:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-content\/uploads\/2010\/05\/affiliate-lead-capture.jpg"},{"@type":"WebSite","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#website","url":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/","name":"WordPress Affiliate Platform","description":"Take control of your affiliates and drive more sales","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/#\/schema\/person\/b3a690506213824832751de546a340fb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3a21ab4072e533cf470d80fc2f0fd3639872824ade4e23709397e109b24f8857?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/posts\/577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/comments?post=577"}],"version-history":[{"count":0,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/posts\/577\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/media?parent=577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/categories?post=577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tipsandtricks-hq.com\/wordpress-affiliate\/wp-json\/wp\/v2\/tags?post=577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}