{"id":239131,"date":"2025-07-26T15:09:34","date_gmt":"2025-07-26T15:09:34","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/utm-tracker-for-contact-form-7\/"},"modified":"2026-03-13T18:18:57","modified_gmt":"2026-03-13T18:18:57","slug":"utm-tracker-for-contact-form-7","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/utm-tracker-for-contact-form-7\/","author":23315527,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.5","stable_tag":"1.5","tested":"6.9.4","requires":"5.6","requires_php":"7.2","requires_plugins":null,"header_name":"UTM Tracker for Contact Form 7","header_author":"Adnan Buksh","header_description":"Fully automatic UTM tracker for CF7 with no manual work. Cache-safe, plug-and-play.","assets_banners_color":"c6c6dd","last_updated":"2026-03-13 18:18:57","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/webfreelancer.in\/?utm_source=wordpress-plugin&utm_medium=donate-link&utm_campaign=utm-tracker-cf7","header_plugin_uri":"","header_author_uri":"https:\/\/webfreelancer.in","rating":5,"author_block_rating":0,"active_installs":200,"downloads":981,"num_ratings":2,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.3":{"tag":"1.3","author":"adnanbuksh","date":"2025-07-26 15:09:18"},"1.4":{"tag":"1.4","author":"adnanbuksh","date":"2025-08-09 18:56:29"},"1.5":{"tag":"1.5","author":"adnanbuksh","date":"2026-03-13 18:18:57"}},"upgrade_notice":{"1.5":"<p>Improved cookie security, caching compatibility, and support for modern PHP and WordPress versions.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":2},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3334582,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3334582,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3334582,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3334582,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.3","1.4","1.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3342104,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3342104,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3342104,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Admin settings panel for enabling UTM tracking on selected forms.","2":"Example Contact Form 7 email showing captured UTM parameters.","3":"Example URL containing UTM campaign parameters."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[257708,1152,40006,165475,25969],"plugin_category":[36,55],"plugin_contributors":[245407],"plugin_business_model":[],"class_list":["post-239131","plugin","type-plugin","status-publish","hentry","plugin_tags-cf7-utm-tracking","plugin_tags-contact-form-7","plugin_tags-marketing-attribution","plugin_tags-utm-parameters","plugin_tags-utm-tracking","plugin_category-analytics","plugin_category-seo-and-marketing","plugin_contributors-adnanbuksh","plugin_committers-adnanbuksh"],"banners":{"banner":"https:\/\/ps.w.org\/utm-tracker-for-contact-form-7\/assets\/banner-772x250.png?rev=3334582","banner_2x":"https:\/\/ps.w.org\/utm-tracker-for-contact-form-7\/assets\/banner-1544x500.png?rev=3334582","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/utm-tracker-for-contact-form-7\/assets\/icon-128x128.png?rev=3334582","icon_2x":"https:\/\/ps.w.org\/utm-tracker-for-contact-form-7\/assets\/icon-256x256.png?rev=3334582","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/utm-tracker-for-contact-form-7\/assets\/screenshot-1.png?rev=3342104","caption":"Admin settings panel for enabling UTM tracking on selected forms."},{"src":"https:\/\/ps.w.org\/utm-tracker-for-contact-form-7\/assets\/screenshot-2.png?rev=3342104","caption":"Example Contact Form 7 email showing captured UTM parameters."},{"src":"https:\/\/ps.w.org\/utm-tracker-for-contact-form-7\/assets\/screenshot-3.png?rev=3342104","caption":"Example URL containing UTM campaign parameters."}],"raw_content":"<!--section=description-->\n<p><strong>UTM Tracker for Contact Form 7<\/strong> automatically captures UTM parameters from incoming URLs and attaches them to Contact Form 7 submissions.<\/p>\n\n<p>This allows website owners, marketers, and agencies to see <strong>exactly where their leads come from<\/strong>.<\/p>\n\n<p>If you run marketing campaigns using UTM parameters, the plugin detects them when visitors arrive and stores them in cookies so they can be attached to the form submission later.<\/p>\n\n<p>Works perfectly even if visitors browse multiple pages before submitting the form.<\/p>\n\n<p>Perfect for:<\/p>\n\n<p>\u2022 Marketers running Google Ads or Meta Ads campaigns\n\u2022 Agencies proving campaign ROI to clients\n\u2022 Businesses tracking lead sources from paid traffic\n\u2022 Developers implementing attribution tracking in Contact Form 7<\/p>\n\n<p>Example campaign URL:<\/p>\n\n<p>https:\/\/webfreelancer.in\/?utm_source=google&amp;utm_medium=cpc&amp;utm_campaign=spring_sale&amp;utm_id=12345<\/p>\n\n<p>When a visitor lands on your site with UTM parameters:<\/p>\n\n<ol>\n<li>The plugin detects and stores the UTM values in cookies<\/li>\n<li>Visitors can navigate your website normally<\/li>\n<li>When they submit a Contact Form 7 form, the UTM data is automatically included in the email notification<\/li>\n<\/ol>\n\n<p>This helps you understand <strong>which campaigns generate real leads<\/strong>.<\/p>\n\n<p>The plugin is lightweight, privacy-friendly, and optimized for performance.<\/p>\n\n<h3>Key Features<\/h3>\n\n<p>\u2022 Automatically captures UTM parameters in Contact Form 7 submissions\n\u2022 Supports utm_source, utm_medium, utm_campaign, utm_term, utm_content and utm_id\n\u2022 First-touch attribution using cookies (stored for 30 days)\n\u2022 Works even if visitors browse multiple pages before submitting the form\n\u2022 Compatible with HTML and plain text Contact Form 7 emails\n\u2022 Works with cached pages and performance plugins\n\u2022 Lightweight and optimized for high-performance WordPress sites\n\u2022 No manual field setup required<\/p>\n\n<h3>Supported UTM Parameters<\/h3>\n\n<p>This plugin captures the following campaign parameters automatically:<\/p>\n\n<p>\u2022 utm_source \u2013 Traffic source (google, facebook, newsletter)\n\u2022 utm_medium \u2013 Marketing medium (cpc, email, display)\n\u2022 utm_campaign \u2013 Campaign name\n\u2022 utm_term \u2013 Paid keyword tracking\n\u2022 utm_content \u2013 Ad variation or content label\n\u2022 utm_id \u2013 Campaign ID used in platforms like Google Ads<\/p>\n\n<p>All captured values are attached to Contact Form 7 submissions.<\/p>\n\n<h3>Privacy<\/h3>\n\n<p>This plugin stores UTM parameters in browser cookies for up to 30 days in order to track marketing campaign attribution.<\/p>\n\n<p>No personal data is collected, stored, or transmitted by the plugin itself.<\/p>\n\n<p>Website owners should ensure their privacy policy mentions the use of marketing attribution cookies if required by local regulations such as GDPR.<\/p>\n\n<h3>Documentation<\/h3>\n\n<p>For a complete setup tutorial and implementation guide:<\/p>\n\n<p>https:\/\/webfreelancer.in\/utm-tracker-for-contact-form-7\/?utm_source=wordpress-plugin&amp;utm_medium=documentation&amp;utm_campaign=utm-tracker-cf7<\/p>\n\n<h3>About the Developer<\/h3>\n\n<p>This plugin is developed and maintained by <strong>Adnan Buksh<\/strong>, a freelance WordPress developer specializing in custom development, plugin engineering, and performance optimization.<\/p>\n\n<p>If you need help with WordPress development, custom plugins, or technical SEO improvements, you can learn more here:<\/p>\n\n<p>https:\/\/webfreelancer.in\/?utm_source=wordpress-plugin&amp;utm_medium=developer-section&amp;utm_campaign=utm-tracker-cf7<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin to <code>\/wp-content\/plugins\/<\/code> or install via <strong>Plugins \u2192 Add New<\/strong>.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Go to <strong>Settings \u2192 UTM Tracker for Contact Form 7<\/strong>.<\/li>\n<li>Select which forms should track UTM parameters.<\/li>\n<li>Test using a URL with UTM parameters.<\/li>\n<\/ol>\n\n<p>Example test URL:<\/p>\n\n<p>https:\/\/webfreelancer.in\/?utm_source=test&amp;utm_medium=cpc&amp;utm_campaign=demo<\/p>\n\n<p>Submit the form and confirm the UTM values appear in the email notification.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20is%20utm%20tracking%3F\"><h3>What is UTM tracking?<\/h3><\/dt>\n<dd><p>UTM tracking allows you to identify where your website visitors and leads come from by adding special parameters to your URLs.<\/p>\n\n<p>Example:<\/p>\n\n<pre><code>?utm_source=google&amp;utm_medium=cpc&amp;utm_campaign=spring_sale\n<\/code><\/pre>\n\n<p>This plugin automatically captures those values and attaches them to Contact Form 7 submissions.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20work%20with%20cached%20pages%3F\"><h3>Does the plugin work with cached pages?<\/h3><\/dt>\n<dd><p>Yes. The plugin stores campaign values in cookies when visitors first arrive.<\/p>\n\n<p>Because of this approach, it works with popular caching plugins such as LiteSpeed Cache, WP Rocket, and W3 Total Cache, and others.<\/p><\/dd>\n<dt id=\"how%20long%20are%20utm%20values%20stored%3F\"><h3>How long are UTM values stored?<\/h3><\/dt>\n<dd><p>By default, UTM values are stored for <strong>30 days<\/strong> in browser cookies.\nThis allows tracking visitors who return later to submit a form.<\/p>\n\n<p>Developers can customize this duration using a WordPress filter if needed. See the documentation for implementation details.<\/p><\/dd>\n<dt id=\"is%20this%20plugin%20gdpr%20compliant%3F\"><h3>Is this plugin GDPR compliant?<\/h3><\/dt>\n<dd><p>Yes. The plugin only stores campaign tracking parameters in cookies and does not collect personal data.<\/p>\n\n<p>However, you should update your website privacy policy to mention the use of marketing attribution cookies.<\/p><\/dd>\n<dt id=\"will%20this%20plugin%20slow%20down%20my%20website%3F\"><h3>Will this plugin slow down my website?<\/h3><\/dt>\n<dd><p>No. The plugin is lightweight and only loads minimal JavaScript required to populate hidden fields.<\/p>\n\n<p>It is designed to work efficiently even on high-traffic or cached websites.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.5<\/h4>\n\n<ul>\n<li>Tested with WordPress 6.9<\/li>\n<li>Improved cookie security (secure, httponly, and samesite flags)<\/li>\n<li>Replaced deprecated PHP function for PHP 8.1+ compatibility<\/li>\n<li>Enhanced compatibility with caching plugins<\/li>\n<li>Minor performance improvements<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Added utm_id support<\/li>\n<li>HTML email compatibility<\/li>\n<li>Improved sanitization and performance<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added JS hydration for CF7 forms<\/li>\n<li>Fixed email formatting issues<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added form selection UI in settings<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>First public release<\/li>\n<\/ul>","raw_excerpt":"Track UTM parameters in Contact Form 7 submissions automatically and identify which campaigns generate real leads from your marketing traffic.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/239131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=239131"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/adnanbuksh"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=239131"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=239131"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=239131"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=239131"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=239131"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=239131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}