Search
Close this search box.
Home » Vale do Aço Online » Ambulância do SAMU se envolve em acidente em Ipatinga

Ambulância do SAMU se envolve em acidente em Ipatinga

Ambulância do SAMU se envolve em acidente em Ipatinga

_##c##_script data-optimize>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag(“js”, new Date());

gtag(“config”, “G-N1FL6SVHSS”);
_##c##_/script>


_##c##_script data-optimize>
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({ “gtm.start”: new Date().getTime(), event: “gtm.js” });
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != “dataLayer” ? “&l=” + l : “”;
j.async = true;
j.src = “https://www.googletagmanager.com/gtm.js?id=” + i + dl;
f.parentNode.insertBefore(j, f);
})(window, document, “script”, “dataLayer”, “GTM-MN8BPNC”);
_##c##_/script>

`;

const BODY_SCRIPTS = `

_##c##_noscript data-optimize
>_##c##_iframe
src=”https://www.googletagmanager.com/ns.html?id=GTM-MN8BPNC”
height=”0″
width=”0″
style=”display: none; visibility: hidden”
>_##c##_/iframe
>_##c##_/noscript>


_##c##_script data-optimize>
!(function (f, b, e, v, n, t, s) {
if (f.fbq) return;
n = f.fbq = function () {
n.callMethod
? n.callMethod.apply(n, arguments)
: n.queue.push(arguments);
};
if (!f._fbq) f._fbq = n;
n.push = n;
n.loaded = !0;
n.version = “2.0”;
n.queue = [];
t = b.createElement(e);
t.async = !0;
t.src = v;
s = b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t, s);
})(
window,
document,
“script”,
“https://connect.facebook.net/en_US/fbevents.js”
);
fbq(“init”, “912785013013323”);
fbq(“track”, “PageView”);
_##c##_/script>
_##c##_noscript data-optimize
>_##c##_/noscript>

`;

function renderScript(element, codeToInject) {
try {
const parsedScript = document
.createRange()
.createContextualFragment(codeToInject.replace(/_##c##_/g, ‘ {
cb();
console.log(‘⚙️ SEVN: Carregando scripts pesados!’);
}, 200);
} else {
window.addEventListener(‘load’, () => {
setTimeout(() => {
cb();
console.log(‘⚙️ SEVN: Carregando scripts pesados!’);
}, 200);
});
}
}

windowLoad(() => {
renderScript(document.head, HEAD_SCRIPTS);
renderScript(document.body, BODY_SCRIPTS);
});

Confira a matéria completa em: www.itatiaia.com.br

Leia também

Newsletter

LEIA TAMBÉM