___INFO___ { "type": "TAG", "id": "cvt_temp_public_id", "version": 1, "securityGroups": [], "displayName": "DataNostro — Sklik Conversion", "description": "Server-side Seznam Sklik conversion tag (CZ market). SEM ID identifies the conversion goal.", "containerContexts": ["SERVER"] } ___TEMPLATE_PARAMETERS___ [ {"type": "TEXT","name": "sem_id","displayName": "Sklik SEM ID","simpleValueType": true,"valueValidators": [{"type":"NON_EMPTY"}]}, {"type": "TEXT","name": "value","displayName": "Conversion value (CZK)","simpleValueType": true,"defaultValue": "0"} ] ___SANDBOXED_JS_FOR_SERVER___ const sendHttpRequest = require("sendHttpRequest"); const getEventData = require("getEventData"); const url = "https://c.imedia.cz/checkConversion?id=" + data.sem_id + "&value=" + (getEventData("value") || data.value || 0) + "¤cy=CZK"; sendHttpRequest(url, {method: "GET"}); data.gtmOnSuccess(); ___SERVER_PERMISSIONS___ [ {"instance": {"key": {"publicId": "send_http"}, "param": [{"key": "allowedUrls","value": {"type": 1,"string": "specific"}},{"key": "urls","value": {"type": 2,"listItem": [{"type": 1,"string": "https://c.imedia.cz/*"}]}}]}} ] ___TESTS___ scenarios: [] ___NOTES___ CZ market only — no equivalent on stape.io. SEM ID je v Sklik UI: Konverze → Měřící kód.