View static_server.js
var http = require("http"),
url = require("url"),
path = require("path"),
fs = require("fs")
port = process.argv[2] || 8888;
http.createServer(function(request, response) {
var uri = url.parse(request.url).pathname
, filename = path.join(process.cwd(), uri);
View Criteo Script
/* Script Ini Di Masukan Setelah tag :
* googletag.defineSlot('/95250053/LIPUTAN6_LB_HEALTH', [[728, 90], [970, 90]], 'div-gpt-ad-1435336898160-0').addService(googletag.pubads());
*/
var crtg_split = (crtg_content || '').split(';');
var pubads = googletag.pubads();
for (var i=1;i<crtg_split.length;i++){
pubads.setTargeting("" + (crtg_split[i-1].split('='))[0] + "", "" + (crtg_split[i-1].split('='))[1] + "");
}