{"id":42117,"date":"2025-07-12T10:39:05","date_gmt":"2025-07-12T14:39:05","guid":{"rendered":"https:\/\/www.commoncause.org\/?page_id=42117"},"modified":"2025-08-05T20:08:29","modified_gmt":"2025-08-06T00:08:29","slug":"donate-actblue-tracking-test","status":"publish","type":"page","link":"https:\/\/www.commoncause.org\/ko\/donate-actblue-tracking-test\/","title":{"rendered":"\uae30\ubd80 \u2013 ActBlue \ucd94\uc801 \ud14c\uc2a4\ud2b8"},"content":{"rendered":"","protected":false},"excerpt":{"rendered":"","protected":false},"author":6,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":""},"class_list":["post-42117","page","type-page","status-publish","hentry"],"acf":{"header":{"component_page_header":{"header_type":"default","title":"Common Cause\uc5d0 \uae30\ubd80\ud558\uc138\uc694","lead":"","image":"","subnavigation":false}},"sidebar":{"helper_enable_sidebar":false,"helper_media_contact":{"heading":"","manually_enter_person":false,"person":"","name":"","role":"","phone":"","email":""},"helper_links_downloads":{"heading":"","links":null}},"page_layout":[{"acf_fc_layout":"layout_wysiwyg","_acfe_flexible_toggle":"","component_wysiwyg":{"content":"Common Cause\ub294 \uc9c0\uc5ed, \uc8fc \ubc0f \uad6d\uac00 \uc218\uc900\uc5d0\uc11c \uc911\uc694\ud55c \uc2f8\uc6c0\uc5d0\uc11c \uc120\ub450\uc8fc\uc790\uc785\ub2c8\ub2e4. \uadc0\ud558\uc758 \uc9c0\uc6d0\uc740 \ud2b9\uc218 \uc774\uc775\uc5d0 \ub9de\uc11c \uc2f8\uc6b0\uace0, \uc120\ucd9c\ub41c \uacf5\ubb34\uc6d0\uc744 \ucc45\uc784\uc9c0\uac8c \ud558\uace0, \ubaa8\ub4e0 \ubbf8\uad6d\uc778\uc774 \ub204\ub9b4 \ub9cc\ud55c \ubbfc\uc8fc\uc8fc\uc758\ub97c \uad6c\ucd95\ud558\uae30 \uc704\ud55c \uae30\ucd08\uc801, \ubc95\uc801 \ubc0f \uc785\ubc95\uc801 \ud589\ub3d9\uc5d0 \ud798\uc744 \uc2e4\uc5b4\uc90d\ub2c8\ub2e4."}},{"acf_fc_layout":"layout_basic_html","_acfe_flexible_toggle":"","component_basic_html":{"heading":"Test Donation Form July 2025","code":"<!-- The script tags need to be included once per page where embeds appear. Putting it in the <head> tag will be fastest. -->\r\n<script>function abConfigure(c) {window.actblueConfig = c}<\/script>\r\n<script src=\"https:\/\/secure.actblue.com\/cf\/assets\/actblue.js\" data-ab-source=\"snippet-20250709\"><\/script>\r\n<script>\r\n  actblue.addEventListener('contribute', function (contribution) {\r\n    window.dataLayer = window.dataLayer || [];\r\n    dataLayer.push({\r\n      event: 'transaction',\r\n      transaction_id: contribution.order_number,\r\n      currency: 'USD',\r\n      value: contribution.amount \/ 100, \/\/ convert from cents\r\n      ecommerce: {\r\n        transaction_id: contribution.order_number,\r\n        currency: 'USD',\r\n        value: contribution.amount \/ 100,\r\n        items: [{\r\n          item_name: contribution.name,\r\n          item_category: contribution.recurring ? 'recurring' : 'one-time',\r\n          quantity: 1,\r\n          price: contribution.amount \/ 100\r\n        }]\r\n      }\r\n    });\r\n  });\r\n<\/script>\r\n<!-- Google Tag Manager -->\r\n<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\r\nnew Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\r\nj=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\r\n'https:\/\/www.googletagmanager.com\/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\r\n})(window,document,'script','dataLayer','GTM-PH9XXW5X');<\/script>\r\n<!-- End Google Tag Manager -->\r\n\r\n<!-- This div should be included in the page where you want the form to appear. -->\r\n<div data-ab-form\r\n data-ab-token=\"GkvezGNU1jf6BKi9orBCwReb\"\r\n data-ab-height=\"auto\"\r\n>\r\n  <!-- Fall-back content (in case the embeddable doesn't load) -->\r\n  <a href=\"https:\/\/secure.actblue.com\/donate\/july2025test-embed\">Donate<\/a>\r\n \r\n<\/div>","width":"medium"}},{"acf_fc_layout":"layout_wysiwyg","_acfe_flexible_toggle":"","component_wysiwyg":{"content":"<h3>This is a test donation form for tracking to Google Analytics.<\/h3>"}},{"acf_fc_layout":"layout_basic_html","_acfe_flexible_toggle":"","component_basic_html":{"heading":"","code":"<script>\r\n  (function () {\r\n    const tokenToNameMap = {\r\n      \"4PqTukD9cSQetETkeZHKj1KB\": \"common-cause-web\",\r\n      \"GkvezGNU1jf6BKi9orBCwReb\": \"july2025test\",\r\n      \"q6SBvycRr4r3QeFmNbSBiMbc\": \"common-cause-redirect\",\r\n      \"vPKFYFfYpfD4yCa3sAVaP8yy\": \"common-cause-web-monthly\"\r\n    };\r\n\r\n    const observer = new MutationObserver(function (mutations, obs) {\r\n      const iframe = document.querySelector('iframe[src*=\"secure.actblue.com\/cf\/embed\/form\"]');\r\n      if (!iframe) return;\r\n\r\n      const src = iframe.getAttribute(\"src\") || \"\";\r\n      const match = src.match(\/form\\\/([\\w\\d]+)\/);\r\n      const token = match ? match[1] : null;\r\n      if (!token) return;\r\n\r\n      const name = tokenToNameMap[token] || \"Unknown ActBlue Form\";\r\n\r\n      window.dataLayer = window.dataLayer || [];\r\n      window.dataLayer.push({\r\n        event: \"view_item\",\r\n        ecommerce: {\r\n          items: [{\r\n            item_id: token,\r\n            item_name: name,\r\n            item_category: \"donation\"\r\n          }]\r\n        }\r\n      });\r\n\r\n      \/\/ Stop observing after successful match\r\n      obs.disconnect();\r\n    });\r\n\r\n    \/\/ Start observing changes to the DOM\r\n    observer.observe(document.body, {\r\n      childList: true,\r\n      subtree: true\r\n    });\r\n  })();\r\n<\/script>\r\n\r\n<script>\r\n\/\/ Helper: set cookie with 3-hour expiry, added August 5th\r\nfunction setCookie(name, value) {\r\n  const expires = new Date(Date.now() + 3 * 60 * 60 * 1000).toUTCString();\r\n  document.cookie = name + '=' + encodeURIComponent(value) + '; path=\/; expires=' + expires;\r\n}\r\n\r\ndocument.addEventListener('DOMContentLoaded', function () {\r\n  \/\/ Selects the new donation button by robust selectors (advance__button class + Donate text)\r\n  const donateBtn = document.querySelector('button.advance__button');\r\n  if (donateBtn) {\r\n    donateBtn.addEventListener('click', function () {\r\n      \/\/ Find the inner text where amount is present\r\n      const btnText = donateBtn.textContent.trim();\r\n      const match = btnText.match(\/\\$([\\d.]+)\/);\r\n      const amount = match ? parseFloat(match[1]) : 1.75;\r\n\r\n      \/\/ Extract item name from URL (last path segment after \/donate\/)\r\n      let itemName = window.location.pathname.split('\/').pop() || 'donation';\r\n\r\n      \/\/ Set cookies\r\n      setCookie('donation_amount', amount);\r\n      setCookie('item_name', itemName);\r\n    });\r\n  }\r\n});\r\n<\/script>\r\n\r\n","width":"narrow"}}]},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.6 (Yoast SEO v27.1.1) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Donate - ActBlue Tracking Test - Common Cause<\/title>\n<meta name=\"description\" content=\"Support Common Cause&#039;s mission to hold power accountable. Discover different ways to donate and make a contribution today.\" \/>\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.commoncause.org\/ko\/donate-actblue-tracking-test\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Donate - ActBlue Tracking Test\" \/>\n<meta property=\"og:description\" content=\"Support Common Cause&#039;s mission to hold power accountable. Discover different ways to donate and make a contribution today.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.commoncause.org\/ko\/donate-actblue-tracking-test\/\" \/>\n<meta property=\"og:site_name\" content=\"Common Cause\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/CommonCause\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-06T00:08:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.commoncause.org\/wp-content\/uploads\/2024\/08\/JusticeDemocracy_Main.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1680\" \/>\n\t<meta property=\"og:image:height\" content=\"1120\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@CommonCause\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.commoncause.org\/donate-actblue-tracking-test\/\",\"url\":\"https:\/\/www.commoncause.org\/donate-actblue-tracking-test\/\",\"name\":\"Donate - ActBlue Tracking Test - Common Cause\",\"isPartOf\":{\"@id\":\"https:\/\/www.commoncause.org\/#website\"},\"datePublished\":\"2025-07-12T14:39:05+00:00\",\"dateModified\":\"2025-08-06T00:08:29+00:00\",\"description\":\"Support Common Cause's mission to hold power accountable. Discover different ways to donate and make a contribution today.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.commoncause.org\/donate-actblue-tracking-test\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.commoncause.org\/donate-actblue-tracking-test\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.commoncause.org\/donate-actblue-tracking-test\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.commoncause.org\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Donate &#8211; ActBlue Tracking Test\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.commoncause.org\/#website\",\"url\":\"https:\/\/www.commoncause.org\/\",\"name\":\"Common Cause\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.commoncause.org\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.commoncause.org\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.commoncause.org\/#organization\",\"name\":\"Common Cause\",\"url\":\"https:\/\/www.commoncause.org\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/www.commoncause.org\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.commoncause.org\/wp-content\/uploads\/2024\/05\/Common-Cause-Logo.png\",\"contentUrl\":\"https:\/\/www.commoncause.org\/wp-content\/uploads\/2024\/05\/Common-Cause-Logo.png\",\"width\":2066,\"height\":331,\"caption\":\"Common Cause\"},\"image\":{\"@id\":\"https:\/\/www.commoncause.org\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/CommonCause\",\"https:\/\/x.com\/CommonCause\",\"https:\/\/www.instagram.com\/ourcommoncause\/\"]}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Donate - ActBlue Tracking Test - Common Cause","description":"Common Cause\uc758 \uad8c\ub825\uc5d0 \ub300\ud55c \ucc45\uc784\uc744 \ubb3b\ub294 \uc0ac\uba85\uc744 \uc9c0\uc6d0\ud558\uc138\uc694. \uc624\ub298 \uae30\ubd80\ud558\uace0 \uae30\uc5ec\ud560 \uc218 \uc788\ub294 \ub2e4\uc591\ud55c \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uc138\uc694.","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.commoncause.org\/ko\/donate-actblue-tracking-test\/","og_locale":"ko_KR","og_type":"article","og_title":"Donate - ActBlue Tracking Test","og_description":"Support Common Cause's mission to hold power accountable. Discover different ways to donate and make a contribution today.","og_url":"https:\/\/www.commoncause.org\/ko\/donate-actblue-tracking-test\/","og_site_name":"Common Cause","article_publisher":"https:\/\/www.facebook.com\/CommonCause","article_modified_time":"2025-08-06T00:08:29+00:00","og_image":[{"width":1680,"height":1120,"url":"https:\/\/www.commoncause.org\/wp-content\/uploads\/2024\/08\/JusticeDemocracy_Main.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@CommonCause","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.commoncause.org\/donate-actblue-tracking-test\/","url":"https:\/\/www.commoncause.org\/donate-actblue-tracking-test\/","name":"Donate - ActBlue Tracking Test - Common Cause","isPartOf":{"@id":"https:\/\/www.commoncause.org\/#website"},"datePublished":"2025-07-12T14:39:05+00:00","dateModified":"2025-08-06T00:08:29+00:00","description":"Common Cause\uc758 \uad8c\ub825\uc5d0 \ub300\ud55c \ucc45\uc784\uc744 \ubb3b\ub294 \uc0ac\uba85\uc744 \uc9c0\uc6d0\ud558\uc138\uc694. \uc624\ub298 \uae30\ubd80\ud558\uace0 \uae30\uc5ec\ud560 \uc218 \uc788\ub294 \ub2e4\uc591\ud55c \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uc138\uc694.","breadcrumb":{"@id":"https:\/\/www.commoncause.org\/donate-actblue-tracking-test\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.commoncause.org\/donate-actblue-tracking-test\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.commoncause.org\/donate-actblue-tracking-test\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.commoncause.org\/"},{"@type":"ListItem","position":2,"name":"Donate &#8211; ActBlue Tracking Test"}]},{"@type":"WebSite","@id":"https:\/\/www.commoncause.org\/#website","url":"https:\/\/www.commoncause.org\/","name":"\uacf5\ud1b5 \uc6d0\uc778","description":"","publisher":{"@id":"https:\/\/www.commoncause.org\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.commoncause.org\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/www.commoncause.org\/#organization","name":"\uacf5\ud1b5 \uc6d0\uc778","url":"https:\/\/www.commoncause.org\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/www.commoncause.org\/#\/schema\/logo\/image\/","url":"https:\/\/www.commoncause.org\/wp-content\/uploads\/2024\/05\/Common-Cause-Logo.png","contentUrl":"https:\/\/www.commoncause.org\/wp-content\/uploads\/2024\/05\/Common-Cause-Logo.png","width":2066,"height":331,"caption":"Common Cause"},"image":{"@id":"https:\/\/www.commoncause.org\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/CommonCause","https:\/\/x.com\/CommonCause","https:\/\/www.instagram.com\/ourcommoncause\/"]}]}},"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Common Cause","distributor_original_site_url":"https:\/\/www.commoncause.org\/ko","push-errors":false,"_links":{"self":[{"href":"https:\/\/www.commoncause.org\/ko\/wp-json\/wp\/v2\/pages\/42117","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.commoncause.org\/ko\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.commoncause.org\/ko\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.commoncause.org\/ko\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.commoncause.org\/ko\/wp-json\/wp\/v2\/comments?post=42117"}],"version-history":[{"count":36,"href":"https:\/\/www.commoncause.org\/ko\/wp-json\/wp\/v2\/pages\/42117\/revisions"}],"predecessor-version":[{"id":44376,"href":"https:\/\/www.commoncause.org\/ko\/wp-json\/wp\/v2\/pages\/42117\/revisions\/44376"}],"wp:attachment":[{"href":"https:\/\/www.commoncause.org\/ko\/wp-json\/wp\/v2\/media?parent=42117"}],"curies":[{"name":"\uc6cc\ub4dc\ud504\ub808\uc2a4","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}