requestimagePing.jsline 35
Static Methods
imagePing(url, trackingInfo)imagePing.jsline 35
Request image ping.
PARAMETERS
Name Type Description url
String
url for ping request
trackingInfo
Object
infos for make query string
RETURNS:
{HTMLElement
}EXAMPLES
// ES6 import imagePing from 'tui-code-snippet/request/imagePing'; // CommonJS const imagePing = require('tui-code-snippet/request/imagePing'); imagePing('https://www.google-analytics.com/collect', { v: 1, t: 'event', tid: 'trackingid', cid: 'cid', dp: 'dp', dh: 'dh' });