logo

/Code Snippet|v2.2.0

Module

Static Methods

imagePing(url, trackingInfo)imagePing.jsline 32

Request image ping.

PARAMETERS
NameTypeDescription

url

String

url for ping request

trackingInfo

Object

infos for make query string

RETURNS:
{

HTMLElement

}
EXAMPLES
var imagePing = require('tui-code-snippet/request/imagePing'); // node, commonjs

imagePing('https://www.google-analytics.com/collect', {
    v: 1,
    t: 'event',
    tid: 'trackingid',
    cid: 'cid',
    dp: 'dp',
    dh: 'dh'
});
Resizable