{"id":595,"date":"2024-10-10T16:50:38","date_gmt":"2024-10-10T07:50:38","guid":{"rendered":"https:\/\/brandsafe-test.net\/?p=595"},"modified":"2025-04-01T18:11:40","modified_gmt":"2025-04-01T09:11:40","slug":"stg-cookie-itp-lp","status":"publish","type":"post","link":"https:\/\/dt-test-page.net\/?p=595","title":{"rendered":"STG Cookie ITP LP"},"content":{"rendered":"\n<!--\nlpcv.js\nGTM\u3067\u7ba1\u7406\u3059\u308b\u305f\u3081\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308b\n\n<script>\nif (!window.dtlpcvLpConf) {\n\twindow.dtlpcvLpConf = [];\n}\nwindow.dtlpcvLpConf.push({\n\tsiteId: \"4822892866961408\"\n});\n<\/script>\n<script src=\"https:\/\/stg.dep.tc\/public\/js\/lpcv_stg.js?cid=4822892866961408&pid=6405300586283008\" async><\/script>\n\n\nlpcv_direct.js\nGTM\u3067\u7ba1\u7406\u3059\u308b\u305f\u3081\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308b\n<script src=\"https:\/\/stg.dep.tc\/public\/js\/lpcv_direct_stg.js\" async><\/script>\n---!>\n\n\n\n<!---\n\u5143\u3005\u306eCT\u30bf\u30b0\u306e\u4e2d\u8eab\nGTM\u3067\u7ba1\u7406\u3059\u308b\u305f\u3081\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3059\u308b\n\n<script>\n    var $331 = $.noConflict(true);\n    var baseurl = \"https:\/\/stgdyn.calltracker.jp\/ct\/3.0a\/dialins\/demand_upsert\/\";\n    var partner_id = \"670f50c441054974096d3189\";\n    var client_id = \"6735cf93180eda5c3a1453f5\";\n    var def_telno = \"123456789111111\";\n    var demand_key = \"demand0078\";\n    var exp_interval = \"h\";\n    var exp_term = 1;\n    var phone = \"08022487709\";\n    var fw_enable = true;\n    var dialinID = new Date().getTime().toString(16);\n    var vars = {\n    dtcall: new URL(window.location.href).searchParams.get(\"dtcall\")\n};\n    var dt = new Date();\n    switch (exp_interval) {\n        case 'm': dt.setMinutes(dt.getMinutes() + exp_term); break;\n        case 'h': dt.setHours(dt.getHours() + exp_term); break;\n        case 'd': dt.setDate(dt.getDate() + exp_term); break;\n    }\n    var exp_at = dt.toISOString();\n    $331.ajax({\n        url: baseurl + partner_id + \"\/\" + client_id,\n        data: {\n            \"demand_key\": demand_key,\n            \"_exp_at\": exp_at,\n            \"dialinID\": dialinID,\n            \"dp.phone\": phone,\n            \"dp.forward_enable\": fw_enable,\n            \"dp.vars\": JSON.stringify(vars)\n        }\n    }).done(function (data, textStatus, xhr) {\n        if (xhr.status != \"200\") {\n          addHrefAttribute(def_telno);\n        } else {\n            formatCt3TelNo(data.result.ct_phone);\n        }\n    }).fail(function (xhr, textStatus, errorThrown) {\n      addHrefAttribute(def_telno);\n    }).always(function () {});\n\n    function formatCt3TelNo(telno) {\n      $331(\".ct3_telno\").each(function() {\n        var $this = $331(this);\n        var tagName = $this.get(0).tagName.toLowerCase();\n        var format = $this.attr('format');\n        if (tagName === 'a') {\n          $this.attr('href', 'tel:' + telno);\n        }\n        if (format) {\n          var buf = [];\n          var ti = 0;\n          for (var fi = 0; fi < format.length; fi++) {\n            var fmtChar = format.charAt(fi);\n            if (fmtChar === '0') {\n              buf.push(telno.charAt(ti++));\n            } else {\n              buf.push(fmtChar);\n            }\n          }\n          buf.push(telno.substr(ti));\n          $this.html(buf.join(''));\n      \t} else {\n          $this.html(telno);\n        }\n      });\n    }\n    function addHrefAttribute(telno) {\n      $331(\".ct3_telno\").each(function() {\n        var $this = $331(this);\n        var tagName = $this.get(0).tagName.toLowerCase();\n        if (tagName === 'a') {\n          $this.attr('href', 'tel:' + telno.replace(\/[^0-9]\/g, ''));\n        }\n        $this.html(telno);\n      });\n    }\n<\/script>\n---!>\n\n<!-- End Calltracker -->\n\n\n\n<a class=\"ct3_telno\"><\/a>\n\n\n\n<script src=\"https:\/\/stg.dep.tc\/public\/js\/param_transfer.js\"><\/script>\n\n\n\n<a href=https:\/\/brandsafe-test.net\/?p=597>Thanks\u30da\u30fc\u30b8<\/a>\n<a href=\"javascript:alert(1)\">test\u306ea\u30bf\u30b0<\/a>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Thanks\u30da\u30fc\u30b8 test\u306ea\u30bf\u30b0<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-595","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dt-test-page.net\/index.php?rest_route=\/wp\/v2\/posts\/595","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dt-test-page.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dt-test-page.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dt-test-page.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/dt-test-page.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=595"}],"version-history":[{"count":32,"href":"https:\/\/dt-test-page.net\/index.php?rest_route=\/wp\/v2\/posts\/595\/revisions"}],"predecessor-version":[{"id":1641,"href":"https:\/\/dt-test-page.net\/index.php?rest_route=\/wp\/v2\/posts\/595\/revisions\/1641"}],"wp:attachment":[{"href":"https:\/\/dt-test-page.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dt-test-page.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dt-test-page.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}