Todos los componentes del NIVEL 2 ya están implementados correctamente: - ✅ Notification Bar (#49) - ✅ Navbar (#50) - ✅ Hero Section (#51) - ✅ Sidebar (#52) - ✅ Footer (#53) Solo se actualizó notification-bar.css para usar variables CSS. Próximo paso: NIVEL 3 (Refinamientos visuales) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
25 lines
849 B
Plaintext
25 lines
849 B
Plaintext
(function (w, d) {
|
|
var dynamicPixel = function() {
|
|
var pixelURL = "https://a.remarketstats.com/px/smart/?c=24d1add2443e239&partner_id=1xxtx0ufdGnU6Gmqm&partner_rid=f45b8eff%2dc437%2d4a4d%2da867%2d4ace65ca0935&type=img&seg=";
|
|
var urlPath = w.location.pathname.substr(1).replace(/\/+$/, '');
|
|
if (urlPath === "") { urlPath = "home"; }
|
|
console.log(urlPath);
|
|
var segmentValue = urlPath;
|
|
var script = d.createElement('script');
|
|
if (pixelURL.indexOf("seg=") === -1) {
|
|
pixelURL = pixelURL + "seg=";
|
|
}
|
|
script.src = pixelURL + escape(segmentValue);
|
|
d.getElementsByTagName('script')[0].parentNode.appendChild(script);
|
|
};
|
|
|
|
var body = d.getElementsByTagName('body')[0];
|
|
if (body) {
|
|
dynamicPixel();
|
|
} else {
|
|
w.onload = function () {
|
|
dynamicPixel();
|
|
}
|
|
}
|
|
})(window, document);
|