Revisão Logo, Favicon, Robots
This commit is contained in:
+35
-8
@@ -5,6 +5,33 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
|
||||
<!-- DETECAO DE AMBIENTE - Inline (executa antes de tudo) -->
|
||||
<script>
|
||||
(function() {
|
||||
var h = location.hostname;
|
||||
var IS_PROD = h === 'avanzato.com.br' || h === 'www.avanzato.com.br';
|
||||
|
||||
// Se NAO for producao, desativa tracking globalmente
|
||||
if (!IS_PROD) {
|
||||
window.__AVANZATO_ENV__ = h === 'hml.avanzato.com.br' ? 'homologation' : 'development';
|
||||
|
||||
// Bloqueia gtag
|
||||
window.dataLayer = { push: function(){} };
|
||||
window.gtag = function(){};
|
||||
|
||||
// Bloqueia fbq (Facebook Pixel)
|
||||
window.fbq = function(){};
|
||||
|
||||
// Bloqueia Mautic
|
||||
window.MauticSDKLoaded = true;
|
||||
|
||||
console.log('[Avanzato] Ambiente: ' + window.__AVANZATO_ENV__ + ' | Tracking bloqueado');
|
||||
} else {
|
||||
window.__AVANZATO_ENV__ = 'production';
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
<!-- Google tag (gtag.js) - Ads + Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-16714813566"></script>
|
||||
<script>
|
||||
@@ -49,10 +76,6 @@
|
||||
fbq('init', '1223271852059785');
|
||||
fbq('track', 'PageView');
|
||||
</script>
|
||||
<noscript>
|
||||
<img height="1" width="1" style="display:none"
|
||||
src="https://www.facebook.com/tr?id=1223271852059785&ev=PageView&noscript=1"/>
|
||||
</noscript>
|
||||
|
||||
<!-- Mautic Tracking -->
|
||||
<script>
|
||||
@@ -117,10 +140,8 @@
|
||||
<meta property="twitter:image" content="https://avanzato.com.br/og-image.jpg" />
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
|
||||
<link rel="icon" type="image/png" href="https://avanzato.com.br/favicon.png" />
|
||||
<link rel="shortcut icon" type="image/png" href="https://avanzato.com.br/favicon.png" />
|
||||
<link rel="manifest" href="/site.webmanifest" />
|
||||
|
||||
<!-- Theme Color -->
|
||||
@@ -217,6 +238,12 @@
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/main.tsx"></script>
|
||||
|
||||
<!-- Facebook Pixel noscript (moved from head to body to fix parse5 warning) -->
|
||||
<noscript>
|
||||
<img height="1" width="1" style="display:none"
|
||||
src="https://www.facebook.com/tr?id=1223271852059785&ev=PageView&noscript=1"/>
|
||||
</noscript>
|
||||
|
||||
<!-- Noscript content for SEO -->
|
||||
<noscript>
|
||||
<div style="padding: 20px; text-align: center; font-family: Urbanist, Arial, sans-serif; background: #0e0e0e; color: white; min-height: 100vh;">
|
||||
|
||||
Reference in New Issue
Block a user