imp計測API 見えない画像を表示させたタイミングでAPI実行 var image = new Image(0, 0); image.style.cssText = "display:none"; (function () { image.src=('//localhost:8080/testapp/imp?code=1'); document.body.appendChild(image); }());