{"id":2142,"date":"2023-06-15T09:33:50","date_gmt":"2023-06-15T09:33:50","guid":{"rendered":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/?post_type=wpcode_doc&#038;p=2142"},"modified":"2026-10-05T09:42:55","modified_gmt":"2026-10-05T13:42:55","slug":"conversion-pixels-custom-click-tracking","status":"publish","type":"wpcode_doc","link":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/","title":{"rendered":"How To Use the Conversion Pixels Custom Click Tracking"},"content":{"rendered":"<p>Would you like to report a conversion to your ad platforms the moment a visitor clicks a specific button on your site? In this guide, we&#8217;ll walk you through setting up custom click tracking in the WPCode Conversion Pixels addon. All you need is the addon, a pixel already set up, and the CSS selector of the element you want to track.<\/p>\n<div class=\"alert alert-warning\">\n<p><strong>Requirements<\/strong>: Custom click tracking is part of the Conversion Pixels addon, which is available on a plus license level or higher.<\/p>\n<\/div>\n<ul class=\"toc\">\n<li><a href=\"#adding-a-click-event\">Adding a Click Event<\/a><\/li>\n<li><a href=\"#choosing-pixels-and-standard-events\">Choosing Pixels and Standard Events<\/a><\/li>\n<li><a href=\"#setting-a-conversion-label-for-google\">Setting a Conversion Label for Google<\/a><\/li>\n<li><a href=\"#adding-multiple-click-events\">Adding Multiple Click Events<\/a><\/li>\n<li><a href=\"#removing-a-click-event\">Removing a Click Event<\/a><\/li>\n<li><a href=\"#saving-your-click-events\">Saving Your Click Events<\/a><\/li>\n<\/ul>\n<p>Before you get started, make sure WPCode is <a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/how-to-install-the-wpcode-plugin\/\" target=\"_blank\">installed and activated<\/a> on your WordPress site.<\/p>\n<h2 id=\"adding-a-click-event\">Adding a Click Event<\/h2>\n<p>To open the pixel settings, go to <strong>Code Snippets &raquo; Conversion Pixels<\/strong> in your WordPress admin sidebar.<\/p>\n<p><img decoding=\"async\" style=\"display:block;margin:1.5rem auto\" class=\"aligncenter\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-click-tracking-step_01_navigate.webp?v=37a01ab0\" alt=\"The WordPress admin sidebar showing Conversion Pixels under Code Snippets, with the Conversion Pixels settings page and its row of platform tabs open behind it\"><\/p>\n<p>The settings for each ad platform sit on their own tab. From here, click <strong>Click Tracking<\/strong>, the last tab in the row.<\/p>\n<p><img decoding=\"async\" style=\"display:block;margin:1.5rem auto\" class=\"aligncenter\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-click-tracking-step_02_click_tracking_tab.webp?v=73d70eaa\" alt=\"The Conversion Pixels tab row with a red arrow pointing at the Click Tracking tab, which is selected\"><\/p>\n<p>The Custom Click Tracking panel opens with one empty click event ready to fill in. Each click event pairs an element on your site with the event you want reported when someone clicks it.<\/p>\n<p><img decoding=\"async\" style=\"display:block;margin:1.5rem auto\" class=\"aligncenter\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-click-tracking-step_03_click_tracking_panel.webp?v=ef6947f7\" alt=\"The Custom Click Tracking panel showing its intro text and an empty CSS Selector field\"><\/p>\n<p>In the <strong>CSS Selector<\/strong> field, enter the selector for the element you want to track. This is the only field a click event needs, so a row you leave blank will not be saved.<\/p>\n<p><img decoding=\"async\" style=\"display:block;margin:1.5rem auto\" class=\"aligncenter\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-click-tracking-step_04_css_selector.webp?v=1fda89f8\" alt=\"The CSS Selector field filled in with #quote-request-button, with a red arrow pointing at it\"><\/p>\n<p>It helps to make your selector as specific as you can, ideally a unique ID on the button or link itself. A specific selector matches exactly the element you have in mind. Our guide on <a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/finding-css-selector\/\" target=\"_blank\">finding a CSS selector<\/a> covers how to look one up on your own site.<\/p>\n<p>Next, fill in <strong>Event Name<\/strong> with a label you&#8217;ll recognize in your ad platform reports. Then add a number in <strong>Event Value<\/strong> if you want to attach a monetary or scoring value to the click. Both fields are optional.<\/p>\n<p><img decoding=\"async\" style=\"display:block;margin:1.5rem auto\" class=\"aligncenter\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-click-tracking-step_05_event_name_value.webp?v=7ba5bcb1\" alt=\"The Event Name field set to QuoteRequest and the Event Value field set to 50\"><\/p>\n<p>With the click event&#8217;s own details filled in, the next step is telling WPCode which pixels should report it.<\/p>\n<h2 id=\"choosing-pixels-and-standard-events\">Choosing Pixels and Standard Events<\/h2>\n<p>Below those fields, the Pixels section decides where this click gets reported. It lists the five pixels WPCode can send click events to: Facebook, Google, <a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/how-to-find-your-pinterest-tag-id-and-conversion-access-token\/\" target=\"_blank\">Pinterest<\/a>, <a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/how-to-find-your-tiktok-pixel-id-and-events-api-access-token\/\" target=\"_blank\">TikTok<\/a>, and <a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/how-to-find-your-snapchat-pixel-id-and-conversions-api-token\/\" target=\"_blank\">Snapchat<\/a>.<\/p>\n<p><img decoding=\"async\" style=\"display:block;margin:1.5rem auto\" class=\"aligncenter\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-click-tracking-step_06_pixels_chooser.webp?v=0f0eadc2\" alt=\"The Pixels section listing Facebook, Google, Pinterest, TikTok, and Snapchat, each with its toggle switched off, four of them with a Choose Standard Event dropdown and Google with a Conversion Label field\"><\/p>\n<p>Every pixel starts switched off. To report this click to a platform, switch on the toggle next to it. Only the pixels you switch on receive the event.<\/p>\n<p><img decoding=\"async\" style=\"display:block;margin:1.5rem auto\" class=\"aligncenter\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-click-tracking-step_07_enable_facebook.webp?v=c4646648\" alt=\"The Facebook toggle switched on and colored blue, with a red arrow pointing at it, and the Google toggle still off below\"><\/p>\n<p>Each pixel also has its own event control beside the toggle. Four of the five offer a dropdown of that platform&#8217;s standard events, and Google offers a Conversion Label field instead. Next, open the <strong>Choose Standard Event<\/strong> dropdown next to a pixel and pick the one that matches what the click means.<\/p>\n<p><img decoding=\"async\" style=\"display:block;margin:1.5rem auto\" class=\"aligncenter\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-click-tracking-step_08_standard_event.webp?v=ffc2c794\" alt=\"The Facebook standard event dropdown set to Lead, with a red arrow pointing at it\"><\/p>\n<p>A standard event chosen here takes precedence over the Event Name you entered earlier, and it applies to that pixel alone. That lets you send one click to several platforms while giving each of them the event name it understands. When you leave a pixel&#8217;s picker on Choose Standard Event, that pixel receives your Event Name as a custom event instead.<\/p>\n<h2 id=\"setting-a-conversion-label-for-google\">Setting a Conversion Label for Google<\/h2>\n<p>Google&#8217;s <strong>Conversion Label<\/strong> field works differently from the standard event dropdowns. Once you&#8217;ve switched on the Google toggle, enter the label for the conversion action you want this click to count toward.<\/p>\n<p><img decoding=\"async\" style=\"display:block;margin:1.5rem auto\" class=\"aligncenter\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-click-tracking-step_09_google_conversion_label.webp?v=6cb6aa47\" alt=\"The Google toggle switched on with a conversion label entered in its field, a red arrow pointing at the field, and the Facebook row above still set to Lead\"><\/p>\n<p>Whenever the Google toggle is on, WPCode sends your Event Name to Google. Adding a Conversion Label sends a second event alongside it, a conversion event carrying that label. This label is separate from the Ads Conversion Label on the Google tab of this same page.<\/p>\n<p>A click event can therefore count toward a different conversion action than your eCommerce tracking does. Our guide on <a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/how-to-find-your-google-ads-tag-id\/\" target=\"_blank\">finding your Google Ads tag ID<\/a> covers where conversion labels come from.<\/p>\n<h2 id=\"adding-multiple-click-events\">Adding Multiple Click Events<\/h2>\n<p>You can track as many elements as you like. At the bottom of the panel, click <strong>Add New Click Event<\/strong>.<\/p>\n<p><img decoding=\"async\" style=\"display:block;margin:1.5rem auto\" class=\"aligncenter\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-click-tracking-step_10_add_click_event.webp?v=8ab6775b\" alt=\"The Add New Click Event and Save Changes buttons below the Pixels section, with a red arrow pointing at Add New Click Event\"><\/p>\n<p>A second set of fields appears below the first, with its own selector, event name, value, and pixels.<\/p>\n<p><img decoding=\"async\" style=\"display:block;margin:1.5rem auto\" class=\"aligncenter\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-click-tracking-step_11_second_click_event.webp?v=cd4b1290\" alt=\"A second click event with its CSS Selector set to #newsletter-signup-button and its Event Name set to Subscribe\"><\/p>\n<p>Because every click event carries its own pixel choices and event names, the events stay independent of each other. That lets you point one at a quote button for Facebook and another at a signup button for Google.<\/p>\n<h2 id=\"removing-a-click-event\">Removing a Click Event<\/h2>\n<p>To drop a click event you no longer need, click <strong>Remove Click Event<\/strong> at the bottom of that event. When the prompt appears, confirm the removal. The row disappears right away, and the removal takes effect on your site once you save.<\/p>\n<p><img decoding=\"async\" style=\"display:block;margin:1.5rem auto\" class=\"aligncenter\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-click-tracking-step_12_remove_click_event.webp?v=6e266531\" alt=\"The Remove Click Event button at the bottom of the second click event, with a red arrow pointing at it\"><\/p>\n<p>The panel always keeps one row ready for a new event, so the first click event does not offer a Remove Click Event button. Clearing its CSS Selector is how you retire that one.<\/p>\n<h2 id=\"saving-your-click-events\">Saving Your Click Events<\/h2>\n<p>Your click events start working once they&#8217;re stored, so click <strong>Save Changes<\/strong> when you&#8217;ve finished configuring them.<\/p>\n<p><img decoding=\"async\" style=\"display:block;margin:1.5rem auto\" class=\"aligncenter\" src=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2026\/10\/wpcode-click-tracking-step_13_save_changes.webp?v=8555ff39\" alt=\"The Save Changes button next to Add New Click Event, with a red arrow pointing at Save Changes\"><\/p>\n<p>Saving also clears the page caches of the caching plugins WPCode recognizes, so your visitors get the updated tracking right away.<\/p>\n<p>That&#8217;s it! Your click events are live, and every matching click is now reported to the pixels you picked. If you haven&#8217;t connected a pixel yet, our guide on <a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/how-to-find-your-facebook-pixel-id-and-conversions-api-token\/\" target=\"_blank\">finding your Facebook Pixel ID and Conversions API token<\/a> walks through setting one up.<\/p>\n<h2>Frequently Asked Questions<\/h2>\n<p>Below, we&#8217;ve answered some of the most common questions about custom click tracking in WPCode.<\/p>\n<h3 id=\"do-i-have-to-fill-in-the-event-name-and-event-value\">Do I have to fill in the Event Name and Event Value?<\/h3>\n<p>No, the CSS Selector is the only field a click event needs. If you leave Event Name empty, pick a standard event for each pixel that offers one so those platforms still receive a recognizable event.<\/p>\n<h3 id=\"how-many-times-is-one-click-event-reported-on-a-single-page\">How many times is one click event reported on a single page?<\/h3>\n<p>Once per page load. If a visitor clicks a matching element again without reloading, no second event is sent, so a double-click won&#8217;t show up as two conversions.<\/p>\n<h3 id=\"does-wpcode-add-javascript-to-my-pages-when-im-not-using-click-tracking\">Does WPCode add JavaScript to my pages when I&#8217;m not using click tracking?<\/h3>\n<p>No. The click tracking script is only added to your pages once at least one click event is saved.<\/p>\n<h3 id=\"what-happens-if-the-pixel-isnt-loaded-on-the-page\">What happens if the pixel isn&#8217;t loaded on the page?<\/h3>\n<p>WPCode checks for each platform&#8217;s tracking function before it sends anything, and it sends nothing when that function isn&#8217;t there.<\/p>\n<h3 id=\"does-a-click-on-an-icon-inside-my-button-still-count\">Does a click on an icon inside my button still count?<\/h3>\n<p>Yes. WPCode checks the element that was clicked and then walks up through its parents. A click on an icon or on text inside the target still triggers the event.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Would you like to report a conversion to your ad platforms the moment a visitor clicks a specific button on your site? In this guide, we&#8217;ll walk you through setting up custom click tracking in the WPCode Conversion Pixels addon. All you need is the addon, a pixel already set up, and the CSS selector [&hellip;]<\/p>\n","protected":false},"author":2,"template":"","class_list":["post-2142","wpcode_doc","type-wpcode_doc","status-publish","hentry","wpcode_doc_category-conversion-pixels"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 5.0.5 - aioseo.com -->\n\t<meta name=\"description\" content=\"Would you like to report a conversion to your ad platforms the moment a visitor clicks a specific button on your site? In this guide, we&#039;ll walk you through setting up custom click tracking in the WPCode Conversion Pixels addon. All you need is the addon, a pixel already set up, and the CSS selector\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Mircea Sandu\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 5.0.5\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"WPCode - The Best WordPress Code Snippets Plugin\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How To Use the Conversion Pixels Custom Click Tracking - WPCode\" \/>\n\t\t<meta property=\"og:description\" content=\"Would you like to report a conversion to your ad platforms the moment a visitor clicks a specific button on your site? In this guide, we&#039;ll walk you through setting up custom click tracking in the WPCode Conversion Pixels addon. All you need is the addon, a pixel already set up, and the CSS selector\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr\" \/>\n\t\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2023-06-15T09:33:50+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-10-05T13:42:55+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How To Use the Conversion Pixels Custom Click Tracking - WPCode\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Would you like to report a conversion to your ad platforms the moment a visitor clicks a specific button on your site? In this guide, we&#039;ll walk you through setting up custom click tracking in the WPCode Conversion Pixels addon. All you need is the addon, a pixel already set up, and the CSS selector\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Mircea Sandu\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/conversion-pixels-custom-click-tracking\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/wpcode.com\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/#listItem\",\"name\":\"Docs\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/#listItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/categories\\\/docs\\\/conversion-pixels\\\/#listItem\",\"name\":\"Conversion Pixels\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/categories\\\/docs\\\/conversion-pixels\\\/#listItem\",\"position\":3,\"name\":\"Conversion Pixels\",\"item\":\"https:\\\/\\\/wpcode.com\\\/categories\\\/docs\\\/conversion-pixels\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/conversion-pixels-custom-click-tracking\\\/#listItem\",\"name\":\"How To Use the Conversion Pixels Custom Click Tracking\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/#listItem\",\"name\":\"Docs\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/conversion-pixels-custom-click-tracking\\\/#listItem\",\"position\":4,\"name\":\"How To Use the Conversion Pixels Custom Click Tracking\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/categories\\\/docs\\\/conversion-pixels\\\/#listItem\",\"name\":\"Conversion Pixels\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/#organization\",\"name\":\"WPCode\",\"description\":\"The Best WordPress Code Snippets Plugin\",\"url\":\"https:\\\/\\\/wpcode.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/wpcode.com\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/logo-wpcode.svg?wsr\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/conversion-pixels-custom-click-tracking\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/conversion-pixels-custom-click-tracking\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/author\\\/msanduawesomemotive-com\\\/#author\",\"url\":\"https:\\\/\\\/wpcode.com\\\/author\\\/msanduawesomemotive-com\\\/\",\"name\":\"Mircea Sandu\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/conversion-pixels-custom-click-tracking\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/858afa2a871931eea37bc916f2608b8af2e53953f981b2c8cc72cac52b5570ea?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Mircea Sandu\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/conversion-pixels-custom-click-tracking\\\/#webpage\",\"url\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/conversion-pixels-custom-click-tracking\\\/\",\"name\":\"How To Use the Conversion Pixels Custom Click Tracking - WPCode\",\"description\":\"Would you like to report a conversion to your ad platforms the moment a visitor clicks a specific button on your site? In this guide, we'll walk you through setting up custom click tracking in the WPCode Conversion Pixels addon. All you need is the addon, a pixel already set up, and the CSS selector\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/docs\\\/conversion-pixels-custom-click-tracking\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/author\\\/msanduawesomemotive-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/author\\\/msanduawesomemotive-com\\\/#author\"},\"datePublished\":\"2023-06-15T09:33:50-04:00\",\"dateModified\":\"2026-10-05T09:42:55-04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wpcode.com\\\/#website\",\"url\":\"https:\\\/\\\/wpcode.com\\\/\",\"name\":\"WPCode\",\"description\":\"The Best WordPress Code Snippets Plugin\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/wpcode.com\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>How To Use the Conversion Pixels Custom Click Tracking - WPCode<\/title>\n\n","aioseo_head_json":{"title":"How To Use the Conversion Pixels Custom Click Tracking - WPCode","description":"Would you like to report a conversion to your ad platforms the moment a visitor clicks a specific button on your site? In this guide, we'll walk you through setting up custom click tracking in the WPCode Conversion Pixels addon. All you need is the addon, a pixel already set up, and the CSS selector","canonical_url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/#listItem","position":1,"name":"Home","item":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/","nextItem":{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/#listItem","name":"Docs"}},{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/#listItem","position":2,"name":"Docs","item":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/","nextItem":{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/categories\/docs\/conversion-pixels\/#listItem","name":"Conversion Pixels"},"previousItem":{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/categories\/docs\/conversion-pixels\/#listItem","position":3,"name":"Conversion Pixels","item":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/categories\/docs\/conversion-pixels\/","nextItem":{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/#listItem","name":"How To Use the Conversion Pixels Custom Click Tracking"},"previousItem":{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/#listItem","name":"Docs"}},{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/#listItem","position":4,"name":"How To Use the Conversion Pixels Custom Click Tracking","previousItem":{"@type":"ListItem","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/categories\/docs\/conversion-pixels\/#listItem","name":"Conversion Pixels"}}]},{"@type":"Organization","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/#organization","name":"WPCode","description":"The Best WordPress Code Snippets Plugin","url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/","logo":{"@type":"ImageObject","url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2022\/11\/logo-wpcode.svg?wsr","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/#organizationLogo"},"image":{"@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/author\/msanduawesomemotive-com\/#author","url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/author\/msanduawesomemotive-com\/","name":"Mircea Sandu","image":{"@type":"ImageObject","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/#authorImage","url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/secure.gravatar.com\/avatar\/858afa2a871931eea37bc916f2608b8af2e53953f981b2c8cc72cac52b5570ea?s=96&d=mm&r=g","width":96,"height":96,"caption":"Mircea Sandu"}},{"@type":"WebPage","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/#webpage","url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/","name":"How To Use the Conversion Pixels Custom Click Tracking - WPCode","description":"Would you like to report a conversion to your ad platforms the moment a visitor clicks a specific button on your site? In this guide, we'll walk you through setting up custom click tracking in the WPCode Conversion Pixels addon. All you need is the addon, a pixel already set up, and the CSS selector","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/#website"},"breadcrumb":{"@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/#breadcrumblist"},"author":{"@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/author\/msanduawesomemotive-com\/#author"},"creator":{"@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/author\/msanduawesomemotive-com\/#author"},"datePublished":"2023-06-15T09:33:50-04:00","dateModified":"2026-10-05T09:42:55-04:00"},{"@type":"WebSite","@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/#website","url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/","name":"WPCode","description":"The Best WordPress Code Snippets Plugin","inLanguage":"en-US","publisher":{"@id":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/#organization"}}]},"og:locale":"en_US","og:site_name":"WPCode - The Best WordPress Code Snippets Plugin","og:type":"article","og:title":"How To Use the Conversion Pixels Custom Click Tracking - WPCode","og:description":"Would you like to report a conversion to your ad platforms the moment a visitor clicks a specific button on your site? In this guide, we'll walk you through setting up custom click tracking in the WPCode Conversion Pixels addon. All you need is the addon, a pixel already set up, and the CSS selector","og:url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/","og:image":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr","og:image:secure_url":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr","og:image:width":2400,"og:image:height":1260,"article:published_time":"2023-06-15T09:33:50+00:00","article:modified_time":"2026-10-05T13:42:55+00:00","twitter:card":"summary_large_image","twitter:title":"How To Use the Conversion Pixels Custom Click Tracking - WPCode","twitter:description":"Would you like to report a conversion to your ad platforms the moment a visitor clicks a specific button on your site? In this guide, we'll walk you through setting up custom click tracking in the WPCode Conversion Pixels addon. All you need is the addon, a pixel already set up, and the CSS selector","twitter:image":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-content\/uploads\/2023\/08\/wpcode-featured-image-2.jpg?wsr","twitter:label1":"Written by","twitter:data1":"Mircea Sandu","twitter:label2":"Est. reading time","twitter:data2":"5 minutes"},"aioseo_meta_data":{"post_id":"2142","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":true,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"WebPage","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"seo_analyzer_scan_date":"2026-10-05 13:43:10","breadcrumb_settings":null,"limit_modified_date":false,"open_ai":"{\"title\":{\"suggestions\":[],\"usage\":0},\"description\":{\"suggestions\":[],\"usage\":0}}","ai":null,"created":"2023-06-14 07:48:14","updated":"2026-10-09 09:39:07","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/\" title=\"Docs\">Docs<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/categories\/docs\/conversion-pixels\/\" title=\"Conversion Pixels\">Conversion Pixels<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\tHow To Use the Conversion Pixels Custom Click Tracking\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/"},{"label":"Docs","link":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/"},{"label":"Conversion Pixels","link":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/categories\/docs\/conversion-pixels\/"},{"label":"How To Use the Conversion Pixels Custom Click Tracking","link":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/docs\/conversion-pixels-custom-click-tracking\/"}],"_links":{"self":[{"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/wpcode_doc\/2142","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/wpcode_doc"}],"about":[{"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/types\/wpcode_doc"}],"author":[{"embeddable":true,"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/users\/2"}],"version-history":[{"count":4,"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/wpcode_doc\/2142\/revisions"}],"predecessor-version":[{"id":7262,"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/wpcode_doc\/2142\/revisions\/7262"}],"wp:attachment":[{"href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/wpcode.com\/wp-json\/wp\/v2\/media?parent=2142"}],"curies":[{"name":"wp","href":"https:\/\/summer-heart-0930.chufeiyun1688.workers.dev:443\/https\/api.w.org\/{rel}","templated":true}]}}