{"id":1657,"date":"2020-09-22T16:08:05","date_gmt":"2020-09-22T08:08:05","guid":{"rendered":"https:\/\/help.ptengine.jp\/?post_type=docs&#038;p=1657"},"modified":"2026-02-24T15:34:00","modified_gmt":"2026-02-24T07:34:00","slug":"developer-api","status":"publish","type":"docs","link":"https:\/\/help.ptengine.jp\/docs\/developer-api\/","title":{"rendered":"\u8a08\u6e2c\u7528\u306e\u62e1\u5f35API\u306b\u3064\u3044\u3066"},"content":{"rendered":"<h2>\u8a2d\u5b9a\u30da\u30fc\u30b8title  setVPT<\/h2>\n<p><strong>\u5f62\u5f0f\uff1a<\/strong><\/p>\n<pre><code>_pt_sp_2.push(&#039;setVPT,\u30c7\u30e2tilte&#039;); <\/code><\/pre>\n<p><strong>\u529f\u80fd\uff1a<\/strong>\u30c7\u30e2title\u3092\u8a2d\u5b9a\u3002\u30da\u30fc\u30b8\u306btitle\u30bf\u30b0\u304c\u306a\u3044\u5834\u5408\u3001Ptengine\u4e0a\u3067\u306fnot set\u3067\u8868\u793a\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u3092\u306a\u304f\u3059\u305f\u3081\u3001\u3053\u306e\u6a5f\u80fd\u3092\u4f7f\u7528\u3057\u3001\u624b\u52d5\u3067\u30da\u30fc\u30b8\u30bf\u30a4\u30c8\u30eb\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 <\/p>\n<p><strong>\u4e8b\u4f8b\uff1a<\/strong><\/p>\n<pre><code>_pt_sp_2.push(&#039;setVPT,ptmind&#039;); <\/code><\/pre>\n<p>\u30da\u30fc\u30b8\u5143title\uff1aptengine<br \/>\nsetVPT\u4f7f\u7528\u5f8c\u3001Ptengine\u3067\u898b\u3048\u308btitle\uff1aptmind<\/p>\n<h2>setVPV<\/h2>\n<p><strong>\u5f62\u5f0f\uff1a<\/strong><\/p>\n<pre><code>_pt_sp_2.push(&#039;setVPV,\u30c7\u30e2url&#039;);<\/code><\/pre>\n<p><strong>\u6a5f\u80fd\uff1a<\/strong>\u30c7\u30e2url\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u6ce8\u610f\u70b9\uff1a\u3053\u306e\u6a5f\u80fd\u3092\u4f7f\u7528\u3059\u308b\u6642\u3001URL\u304c\u81ea\u52d5\u3067\u5c0f\u6587\u5b57\u5316\u3055\u308c\u308b\u305f\u3081\u3001URL\u306b\u5927\u6587\u5b57\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u5834\u5408\u3001\u5f71\u97ff\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3054\u3056\u3044\u307e\u3059\u3002<\/p>\n<p><b>\u4e8b\u4f8b\uff1a<\/b><\/p>\n<pre><code>_pt_sp_2.push(&#039;setVPV,http:\/\/www.baidu.com\/your&#039;); <\/code><\/pre>\n<p>\u5143URL\uff1a<code>http:\/\/www.baidu.com<\/code><br \/>\nsetVPV \u5f8c\uff1a<code>http:\/\/www.baidu.com\/your<\/code><\/p>\n<h2>setURL<\/h2>\n<p><strong>\u5f62\u5f0f\uff1a<\/strong>_pt_sp_2.push('setURL,\uff03'); <\/p>\n<p><strong>\u6a5f\u80fd\uff1a<\/strong>url\u306e\u300c#\u300d\u5f8c\u306e\u60c5\u5831\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002 <\/p>\n<p><strong>\u4e8b\u4f8b\uff1a<\/strong><\/p>\n<pre><code>_pt_sp_2.push(&#039;setURL,btnSave&#039;); <\/code><\/pre>\n<p id=\"2\">\u5143URL\uff1a<code>http:\/\/www.baidu.com<\/code><\/p>\n<p>setURL\u4f7f\u7528\u5f8cPtengine\u3067\u8868\u793a\u3055\u308c\u308bURL\uff1a<code>http:\/\/www.baidu.com#btnSave<\/code><\/p>\n<h2>setPVTag<\/h2>\n<p><strong>\u5f62\u5f0f\uff1a<\/strong><\/p>\n<pre><code>_pt_sp_2.push(&#039;setPVTag,URL\/\uff03\u6240\u60c5\u5831,replace&#039;); <\/code><\/pre>\n<p><strong>\u6a5f\u80fd\uff1a<\/strong>PV\u30c7\u30fc\u30bf\u30d5\u30a9\u30eb\u30c0\u3092\u4e00\u5ea6\u9001\u4fe1\u3059\u308b\u6a5f\u80fd\u3067\u3059\u3002\u30b7\u30f3\u30b0\u30eb\u30da\u30fc\u30b8\u5fdc\u7528\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u308b\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u306eURL\u8ee2\u63db\u3092\u30c7\u30e2pv\u5316\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30da\u30fc\u30b8\u306f\u5b9f\u969b\u79fb\u52d5\u3057\u3066\u306a\u3044\u304c\u3001URL\u3068\u30da\u30fc\u30b8\u5185\u5bb9\u306f\u5909\u5316\u3057\u3066\u3044\u308b\u72b6\u6cc1\u3067\u3057\u305f\u3089\u3001\u3053\u3061\u3089\u306e\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u3068\u3001\u30c7\u30e2URL\u304c\u751f\u6210\u3055\u308c\u3001\u305d\u306e\u5f8c\u306e\u30c7\u30fc\u30bf\u306f\u5168\u3066\u65b0\u3057\u3044URL\u306b\u8a72\u5f53\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002 <\/p>\n<p><strong>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc1\uff1a<\/strong>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc2\uff08replace\uff09\u3092\u8a2d\u5b9a\u3057\u3066\u306a\u3044\u5834\u5408\u3001\u3053\u306e\u5024\u306f\u5143URL\u306e\u4e2d\u3067\u8ffd\u52a0\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\uff03\u6240\u306e\u60c5\u5831\u3068\u540c\u69d8\u306b\u306a\u308a\u307e\u3059\u3002\u751f\u6210\u3055\u308c\u305f\u30c7\u30e2URL\u306f\uff08\u5143URL+\uff03\u6240\u60c5\u5831\uff09\u3068\u306a\u308a\u307e\u3059\u3002 <\/p>\n<p>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc2\u3092replace\u306b\u8a2d\u5b9a\u3057\u305f\u5834\u5408\uff0c\u3053\u306e\u5024\u306f\u5909\u66f4\u5f8c\u306e\u5b8c\u5168\u306aURL\u306b\u306a\u308a\u307e\u3059\u3002\u751f\u6210\u3055\u308c\u305f\u30c7\u30e2URL\u306f\u3053\u306e\u5024\u3067\u65b0\u305f\u306b\u8a2d\u5b9a\u3055\u308c\u305f\u65b0URL\u306b\u306a\u308a\u307e\u3059\u3002 <\/p>\n<p><strong>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc2\uff1a<\/strong>replace <\/p>\n<p><strong>\u4e8b\u4f8b1\uff1a<\/strong><br \/>\n\u5143URL\uff1a<code>http:\/\/www.ptmind.com<\/code><br \/>\n\u751f\u6210\u3057\u305f\u3044\u30c7\u30e2URL\uff1a<code>http:\/\/www.ptmind.com#login<\/code><br \/>\n\u3053\u306e\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u95a2\u6570\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n_pt_sp_2.push('setPVTag,login'); <\/p>\n<p><strong>\u4e8b\u4f8b2\uff1a<\/strong><br \/>\n\u5143URL\uff1a<code>\u202fhttp:\/\/www.ptmind.com<\/code><br \/>\n\u751f\u6210\u3057\u305f\u3044\u30c7\u30e2URL\uff1a<code>http:\/\/www.ptmind.com\/login<\/code><\/p>\n<p id=\"1\">\u3053\u306e\u5834\u5408\u3001\u4ee5\u4e0b\u306e\u95a2\u6570\u304c\u5fc5\u8981\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><code>_pt_sp_2.push(&#039;setPVTag,http:\/\/www.ptmind.com\/login,replace&#039;);<\/code><\/p>\n<h2>\u30b5\u30f3\u30d7\u30eb\u7387\u8a2d\u5b9a setSampleRate<\/h2>\n<p><strong>\u5f62\u5f0f\uff1a<\/strong><\/p>\n<pre><code>_pt_sp_2.push(&#039;setSampleRate,\u202f\u30b5\u30f3\u30d7\u30eb\u7387&#039;); <\/code><\/pre>\n<p><strong>\u6a5f\u80fd\uff1a<\/strong>\u53ce\u96c6\u3055\u308c\u308b\u30c7\u30fc\u30bf\u306e\u30b5\u30f3\u30d7\u30eb\u7387\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u3082\u3057\u30a6\u30a7\u30d6\u30b5\u30a4\u30c8\u3078\u306e\u8a2a\u554f\u30c7\u30fc\u30bf\u304c\u81a8\u5927\u3057\u3059\u304e\u3066\u3001\u5168\u91cf\u53ce\u96c6\u3092\u884c\u3044\u305f\u304f\u306a\u3044\u5834\u5408\u3001\u30b5\u30f3\u30d7\u30eb\u7387\u3092\u3054\u8a2d\u5b9a\u3059\u308c\u3070\u3001\u30c7\u30fc\u30bf\u8a08\u6e2c\u3092\u5236\u5fa1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p><strong>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc1\uff1a <\/strong>\u30b5\u30f3\u30d7\u30eb\u7387\u306e\u8a2d\u5b9a\u3001\u9078\u629e\u5fc5\u9808\u3002\u4f8b\uff1a1000\u3067\u8a2d\u5b9a\u3057\u305f\u5834\u5408\u3001\u8868\u793a\u3055\u308c\u308b\u30b5\u30f3\u30d7\u30eb\u7387\u306f1\/1000\u3068\u306a\u308a\u30011\u4e07UU\u306e\u4e2d\u306b10UU\u306e\u8a2a\u554f\u30c7\u30fc\u30bf\u3060\u3051\u3092\u53d6\u308a\u307e\u3059\u3002<\/p>\n<p id=\"tip\">\u4e8b\u4f8b\uff1a<\/p>\n<pre><code>&lt;script&gt;\nwindow._pt_sp_2 =window._pt_sp_2 || [];\n_pt_sp_2.push(&#039;setSampleRate,1000&#039;);\n_pt_sp_2.push(&#039;setAccount,sid&#039;)\n&lt;\/script&gt;\n&lt;script src=&quot;https:\/\/js.ptengine.jp\/sid.js&quot;&gt;&lt;\/script&gt;<\/code><\/pre>\n<h2>\u5e83\u544a\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3067\u8a2a\u554f\u3092\u65b0\u3057\u304f\u767a\u751f\u3055\u305b\u306a\u3044 setIgnoreCampaign<\/h2>\n<p><b>\u5f62\u5f0f\uff1a<\/b><\/p>\n<pre><code>_pt_sp_2.push(&#039;setIgnoreCampaign,true&#039;); <\/code><\/pre>\n<p><strong>\u6a5f\u80fd\uff1a <\/strong>\u30c7\u30fc\u30bf\u53ce\u96c6\u30b7\u30b9\u30c6\u30e0\u304c\u81ea\u52d5\u3067\u5e83\u544a\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u542b\u3093\u3060\u30da\u30fc\u30b8\u3092\u65b0\u3057\u3044\u8a2a\u554f\u306e\u5165\u53e3\u30da\u30fc\u30b8\u3068\u3057\u3066\u8868\u793a\u3059\u308b\u305f\u3081\u3001\u305a\u3063\u3068\u518d\u8aad\u307f\u8fbc\u307f\u3092\u3057\u3066\u3082\u3001\u6bce\u56de\u306e\u518d\u8aad\u307f\u8fbc\u307f\u304c\u65b0\u3057\u3044\u8a2a\u554f\u306e\u5165\u53e3\u30da\u30fc\u30b8\u3068\u3057\u3066\u30ab\u30a6\u30f3\u30c8\u3055\u308c\u307e\u3059\u3002<\/p>\n<p><strong>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\uff1a<\/strong>\u3053\u3061\u3089\u306e\u503c\u304ctrue\u3067\u3042\u308b\u5834\u5408\uff0c\u5e83\u544a(utm)\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306f\u7121\u8996\u3057\u3001\u5e83\u544a\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3067\u8a2a\u554f\u6570\u3092\u65b0\u3057\u304f\u767a\u751f\u3055\u305b\u307e\u305b\u3093\u3002false\u3067\u3042\u308b\u5834\u5408\u3001\u5e83\u544a (utm)\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306f\u7121\u8996\u305b\u305a\u3001\u6bce\u56de\u8a2a\u554f\u306f\u5e83\u544a\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u3092\u542b\u3093\u3060\u30da\u30fc\u30b8\u3078\u3068\u306a\u308b\u305f\u3081\u3001\u65b0\u3057\u3044\u8a2a\u554f\u3068\u3057\u3066\u30ab\u30a6\u30f3\u30c8\u3055\u308c\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8a2d\u5b9a\u30da\u30fc\u30b8title setVPT \u5f62\u5f0f\uff1a _pt_sp_2.push(&#039;setVPT,\u30c7\u30e2tilt&hellip;&nbsp;<a href=\"https:\/\/help.ptengine.jp\/docs\/developer-api\/\" class=\"\" rel=\"bookmark\">\u9605\u8bfb\u66f4\u591a &raquo;<span class=\"screen-reader-text\">\u8a08\u6e2c\u7528\u306e\u62e1\u5f35API\u306b\u3064\u3044\u3066<\/span><\/a><\/p>\n","protected":false},"author":35,"featured_media":0,"parent":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"doc_category":[21],"doc_tag":[],"_links":{"self":[{"href":"https:\/\/help.ptengine.jp\/wp-json\/wp\/v2\/docs\/1657"}],"collection":[{"href":"https:\/\/help.ptengine.jp\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.ptengine.jp\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/help.ptengine.jp\/wp-json\/wp\/v2\/users\/35"}],"replies":[{"embeddable":true,"href":"https:\/\/help.ptengine.jp\/wp-json\/wp\/v2\/comments?post=1657"}],"version-history":[{"count":28,"href":"https:\/\/help.ptengine.jp\/wp-json\/wp\/v2\/docs\/1657\/revisions"}],"predecessor-version":[{"id":14714,"href":"https:\/\/help.ptengine.jp\/wp-json\/wp\/v2\/docs\/1657\/revisions\/14714"}],"wp:attachment":[{"href":"https:\/\/help.ptengine.jp\/wp-json\/wp\/v2\/media?parent=1657"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/help.ptengine.jp\/wp-json\/wp\/v2\/doc_category?post=1657"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.ptengine.jp\/wp-json\/wp\/v2\/doc_tag?post=1657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}