{"id":307,"date":"2026-07-13T19:07:00","date_gmt":"2026-07-13T17:07:00","guid":{"rendered":"https:\/\/www.lukaswojcik.com\/blog\/?p=307"},"modified":"2026-07-13T11:11:34","modified_gmt":"2026-07-13T09:11:34","slug":"tutorial-implementing-google-ads-enhanced-conversions","status":"publish","type":"post","link":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-marketing\/tutorials-en-digital-marketing\/tutorial-implementing-google-ads-enhanced-conversions\/","title":{"rendered":"Tutorial: Implementing Google Ads Enhanced Conversions"},"content":{"rendered":"<p>Google Ads Enhanced Conversions significantly improve measurement accuracy by recovering conversions that would otherwise be lost due to cookie restrictions or cross-device journeys. By securely transmitting hashed first-party customer data (such as an email address) to Google, the system can match this data against signed-in Google accounts, attributing the conversion to the correct ad click.<\/p>\n<p>The following tutorial explains the process of capturing an email address after a purchase or lead generation, ensuring it is hashed properly, and sending it via Google Tag Manager (GTM).<\/p>\n<h3>Step 1: Enabling the Feature in Google Ads<\/h3>\n<p>Before any technical implementation begins, Enhanced Conversions must be enabled within the Google Ads account. This is done by navigating to the Conversions section, selecting the specific conversion action (e.g., Purchase or Lead), and checking the box to turn on Enhanced Conversions. The &#8220;Google Tag or Google Tag Manager&#8221; method should be selected.<\/p>\n<h3>Step 2: Capturing the Email Address<\/h3>\n<p>The core of the implementation is extracting the customer&#8217;s email address on the &#8220;Thank You&#8221; page. There are two primary methods to achieve this:<\/p>\n<h4>Method A: DataLayer (Recommended)<\/h4>\n<p>The most robust and reliable approach is pushing the email address directly into the DataLayer from the server or CMS. A standard DataLayer push upon a successful transaction looks like this:<\/p>\n<pre class=\"wp-block-kevinbatdorf-code-block-pro\"><code>&lt;script&gt;\nwindow.dataLayer = window.dataLayer || [];\nwindow.dataLayer.push({\n  'event': 'purchase',\n  'customerData': {\n    'email': 'customer@example.com'\n  }\n});\n&lt;\/script&gt;<\/code><\/pre>\n<p>In GTM, a Data Layer Variable must be created pointing to the key <code>customerData.email<\/code>.<\/p>\n<h4>Method B: CSS Selectors (Fallback)<\/h4>\n<p>If modifying the DataLayer is not possible, the email can be extracted directly from the website&#8217;s Document Object Model (DOM). If the email is displayed on the confirmation page (e.g., <code>&lt;span id=\"customer-email\"&gt;customer@example.com&lt;\/span&gt;<\/code>), a DOM Element Variable can be created in GTM. The selection method should be set to &#8220;CSS Selector&#8221; with the selector targeting the specific element (e.g., <code>#customer-email<\/code>).<\/p>\n<h3>Step 3: Creating the User-Provided Data Variable<\/h3>\n<p>Once the email is captured as a GTM variable, it must be formatted correctly for Google Ads.<\/p>\n<ol>\n<li>A new variable of the type <strong>User-Provided Data<\/strong> is created in GTM.<\/li>\n<li>The &#8220;Manual configuration&#8221; option is selected.<\/li>\n<li>The previously created email variable (from DataLayer or DOM) is assigned to the &#8220;Email&#8221; field.<\/li>\n<\/ol>\n<h3>Step 4: Hashing and Transmission<\/h3>\n<p>Privacy regulations require that personal data is never sent in plain text. A major advantage of using the GTM &#8220;User-Provided Data&#8221; variable is that it automatically applies the required SHA-256 hashing algorithm to the email address before transmission. No manual JavaScript hashing is required.<\/p>\n<h3>Step 5: Attaching to the Conversion Tag<\/h3>\n<p>The final step involves linking the configured data to the tracking tag.<\/p>\n<ol>\n<li>The existing Google Ads Conversion Tracking tag is opened.<\/li>\n<li>The box for &#8220;Include user-provided data from your website&#8221; is checked.<\/li>\n<li>The newly created User-Provided Data variable is selected from the dropdown menu.<\/li>\n<\/ol>\n<p>The setup must be tested using GTM Preview Mode. When the conversion tag fires, the network request can be inspected to verify that the <code>em<\/code> (email) parameter is populated with a hashed string, confirming a successful, privacy-compliant implementation.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Google Ads Enhanced Conversions significantly improve measurement accuracy by recovering conversions that would otherwise be lost due to cookie restrictions or cross-device journeys. By securely transmitting hashed first-party customer data (such as an email address) to Google, the system can match this data against signed-in Google accounts, attributing the conversion to the correct ad click. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[127],"tags":[],"class_list":["post-307","post","type-post","status-publish","format-standard","hentry","category-tutorials-en-digital-marketing"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Tutorial: Implementing Google Ads Enhanced Conversions - Lukas Wojcik - Blog<\/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.lukaswojcik.com\/blog\/en\/digital-marketing\/tutorials-en-digital-marketing\/tutorial-implementing-google-ads-enhanced-conversions\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tutorial: Implementing Google Ads Enhanced Conversions - Lukas Wojcik - Blog\" \/>\n<meta property=\"og:description\" content=\"Google Ads Enhanced Conversions significantly improve measurement accuracy by recovering conversions that would otherwise be lost due to cookie restrictions or cross-device journeys. By securely transmitting hashed first-party customer data (such as an email address) to Google, the system can match this data against signed-in Google accounts, attributing the conversion to the correct ad click. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-marketing\/tutorials-en-digital-marketing\/tutorial-implementing-google-ads-enhanced-conversions\/\" \/>\n<meta property=\"og:site_name\" content=\"Lukas Wojcik - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-07-13T17:07:00+00:00\" \/>\n<meta name=\"author\" content=\"luky\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"luky\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-marketing\\\/tutorials-en-digital-marketing\\\/tutorial-implementing-google-ads-enhanced-conversions\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-marketing\\\/tutorials-en-digital-marketing\\\/tutorial-implementing-google-ads-enhanced-conversions\\\/\"},\"author\":{\"name\":\"luky\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"headline\":\"Tutorial: Implementing Google Ads Enhanced Conversions\",\"datePublished\":\"2026-07-13T17:07:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-marketing\\\/tutorials-en-digital-marketing\\\/tutorial-implementing-google-ads-enhanced-conversions\\\/\"},\"wordCount\":485,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-marketing\\\/tutorials-en-digital-marketing\\\/tutorial-implementing-google-ads-enhanced-conversions\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-marketing\\\/tutorials-en-digital-marketing\\\/tutorial-implementing-google-ads-enhanced-conversions\\\/\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-marketing\\\/tutorials-en-digital-marketing\\\/tutorial-implementing-google-ads-enhanced-conversions\\\/\",\"name\":\"Tutorial: Implementing Google Ads Enhanced Conversions - Lukas Wojcik - Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#website\"},\"datePublished\":\"2026-07-13T17:07:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-marketing\\\/tutorials-en-digital-marketing\\\/tutorial-implementing-google-ads-enhanced-conversions\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-marketing\\\/tutorials-en-digital-marketing\\\/tutorial-implementing-google-ads-enhanced-conversions\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/digital-marketing\\\/tutorials-en-digital-marketing\\\/tutorial-implementing-google-ads-enhanced-conversions\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tutorial: Implementing Google Ads Enhanced Conversions\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/\",\"name\":\"Lukas Wojcik - Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\",\"name\":\"luky\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"contentUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"width\":424,\"height\":636,\"caption\":\"luky\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\"},\"sameAs\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\"],\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/author\\\/luky\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tutorial: Implementing Google Ads Enhanced Conversions - Lukas Wojcik - Blog","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.lukaswojcik.com\/blog\/en\/digital-marketing\/tutorials-en-digital-marketing\/tutorial-implementing-google-ads-enhanced-conversions\/","og_locale":"en_US","og_type":"article","og_title":"Tutorial: Implementing Google Ads Enhanced Conversions - Lukas Wojcik - Blog","og_description":"Google Ads Enhanced Conversions significantly improve measurement accuracy by recovering conversions that would otherwise be lost due to cookie restrictions or cross-device journeys. By securely transmitting hashed first-party customer data (such as an email address) to Google, the system can match this data against signed-in Google accounts, attributing the conversion to the correct ad click. [&hellip;]","og_url":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-marketing\/tutorials-en-digital-marketing\/tutorial-implementing-google-ads-enhanced-conversions\/","og_site_name":"Lukas Wojcik - Blog","article_published_time":"2026-07-13T17:07:00+00:00","author":"luky","twitter_card":"summary_large_image","twitter_misc":{"Written by":"luky","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-marketing\/tutorials-en-digital-marketing\/tutorial-implementing-google-ads-enhanced-conversions\/#article","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-marketing\/tutorials-en-digital-marketing\/tutorial-implementing-google-ads-enhanced-conversions\/"},"author":{"name":"luky","@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"headline":"Tutorial: Implementing Google Ads Enhanced Conversions","datePublished":"2026-07-13T17:07:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-marketing\/tutorials-en-digital-marketing\/tutorial-implementing-google-ads-enhanced-conversions\/"},"wordCount":485,"commentCount":0,"publisher":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.lukaswojcik.com\/blog\/en\/digital-marketing\/tutorials-en-digital-marketing\/tutorial-implementing-google-ads-enhanced-conversions\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-marketing\/tutorials-en-digital-marketing\/tutorial-implementing-google-ads-enhanced-conversions\/","url":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-marketing\/tutorials-en-digital-marketing\/tutorial-implementing-google-ads-enhanced-conversions\/","name":"Tutorial: Implementing Google Ads Enhanced Conversions - Lukas Wojcik - Blog","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#website"},"datePublished":"2026-07-13T17:07:00+00:00","breadcrumb":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-marketing\/tutorials-en-digital-marketing\/tutorial-implementing-google-ads-enhanced-conversions\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lukaswojcik.com\/blog\/en\/digital-marketing\/tutorials-en-digital-marketing\/tutorial-implementing-google-ads-enhanced-conversions\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/digital-marketing\/tutorials-en-digital-marketing\/tutorial-implementing-google-ads-enhanced-conversions\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lukaswojcik.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Tutorial: Implementing Google Ads Enhanced Conversions"}]},{"@type":"WebSite","@id":"https:\/\/www.lukaswojcik.com\/blog\/#website","url":"https:\/\/www.lukaswojcik.com\/blog\/","name":"Lukas Wojcik - Blog","description":"","publisher":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lukaswojcik.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9","name":"luky","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","contentUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","width":424,"height":636,"caption":"luky"},"logo":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg"},"sameAs":["https:\/\/www.lukaswojcik.com\/blog"],"url":"https:\/\/www.lukaswojcik.com\/blog\/author\/luky\/"}]}},"_links":{"self":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/comments?post=307"}],"version-history":[{"count":2,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/307\/revisions"}],"predecessor-version":[{"id":313,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/307\/revisions\/313"}],"wp:attachment":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/media?parent=307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/categories?post=307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/tags?post=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}