{"id":546,"date":"2022-06-25T22:00:24","date_gmt":"2022-06-25T22:00:24","guid":{"rendered":"https:\/\/colombiangoldextracts.com\/?post_type=product&#038;p=546"},"modified":"2025-10-11T01:22:23","modified_gmt":"2025-10-11T01:22:23","slug":"colombiangold-cbd-vape","status":"publish","type":"product","link":"https:\/\/colombiangoldextracts.com\/es\/producto\/colombiangold-cbd-vape\/","title":{"rendered":"COLOMBIAN GOLD\u00ae BRAND CBD_vape 100MG_Blue Raspberry"},"content":{"rendered":"<h3> Please add some content in your page.<\/h3>\r\n\r\n<script type=\"text\/javascript\">\r\n\t\t \t\/\/ Listen for clicks on the entire document\r\n\t\t\tdocument.addEventListener('click', function(event) {\r\n\t\t\t\tconsole.log(event.target.dataset)\r\n\r\n\t\t\t\t\/\/ Check if the clicked element has the 'track-click' class\r\n\t\t\t\tif (event.target.classList.contains('trk-clk-ulbp')) {\r\n\t\t\t\t\t\r\n\t\t\t\t\t\/\/ Get the unique ID from the data-id attribute\r\n\t\t\t\t\tconst elementTxt = event.target.dataset.btntxt;\r\n          const elementUrl = event.target.dataset.btnhref;\r\n\r\n\t\t\t\t\t\/\/ Create a FormData object to send data\r\n\t\t\t\t\tconst formData = new FormData();\r\n\t\t\t\t\tformData.append('clicked_element_text', elementTxt);\r\n          formData.append('clicked_element_url', elementUrl);\r\n          formData.append('clicked_element_psid', 546);\r\n          \/\/console.log(formData.get('clicked_element_psid'));\r\n\t\t\t\t\t\/\/ Use the Fetch API to send the data to our PHP script\r\n\t\t\t\t\tfetch(\r\n              \"https:\/\/colombiangoldextracts.com\/wp-admin\/admin-ajax.php?action=ulpb_rc_current_usr_click&POPB_CTA_Nonce=5be5ef7d86\"\r\n            , {\r\n\t\t\t\t\t\tmethod: 'POST',\r\n\t\t\t\t\t\tbody: formData\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.then(response => response.text())\r\n\t\t\t\t\t.then(data => {\r\n\t\t\t\t\t\tconsole.log(data); \/\/ Log the response from PHP (e.g., \"Success!\")\r\n\t\t\t\t\t})\r\n\t\t\t\t\t.catch(error => {\r\n\t\t\t\t\t\tconsole.error('Error tracking click:', error);\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t});\t\r\n\t\t<\/script>\r\n\r\n<!-- <style type=\"text\/css\">\r\n  <\/style> -->\r\n\r\n<\/html>","protected":false},"excerpt":{"rendered":"<p>Please add some content in your page.<\/p>","protected":false},"featured_media":572,"comment_status":"open","ping_status":"closed","template":"","meta":{"nf_dc_page":"","om_disable_all_campaigns":false},"product_brand":[],"product_cat":[80],"product_tag":[81,49,41,74,42,43],"class_list":{"0":"post-546","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-vape","7":"product_tag-cbd-products","8":"product_tag-cbd-vape","9":"product_tag-colombian-gold","10":"product_tag-colombian-gold-brand","11":"product_tag-colombian-gold-extracts","12":"product_tag-colombian-gold-cbd","14":"first","15":"outofstock","16":"taxable","17":"shipping-taxable","18":"purchasable","19":"product-type-simple"},"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/colombiangoldextracts.com\/es\/wp-json\/wp\/v2\/product\/546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/colombiangoldextracts.com\/es\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/colombiangoldextracts.com\/es\/wp-json\/wp\/v2\/types\/product"}],"replies":[{"embeddable":true,"href":"https:\/\/colombiangoldextracts.com\/es\/wp-json\/wp\/v2\/comments?post=546"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/colombiangoldextracts.com\/es\/wp-json\/wp\/v2\/media\/572"}],"wp:attachment":[{"href":"https:\/\/colombiangoldextracts.com\/es\/wp-json\/wp\/v2\/media?parent=546"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/colombiangoldextracts.com\/es\/wp-json\/wp\/v2\/product_brand?post=546"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/colombiangoldextracts.com\/es\/wp-json\/wp\/v2\/product_cat?post=546"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/colombiangoldextracts.com\/es\/wp-json\/wp\/v2\/product_tag?post=546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}