avatar
Untitled

Guest 41 15th May, 2019

MARKUP 0.86 KB
                                           
                         <?php
require_once 'autoloader.php'; 
use classes\bancoDeDados\BDManager;
$bd = new BDManager();
$dadosEscola = $bd->selecionaDadosEscola();
$analytcs = $dadosEscola['analytcs'];
?>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '<?php echo $analytcs; ?>', 'auto');
ga('create','UA-32917720-1','vestibulare.com.br');
ga('require', 'linkid', 'linkid.js');
ga('set', 'userId', <?php echo $usuarioLogado->getIdUsuario(); ?>); // Defina o ID de usuário usando o user_id conectado.
ga('send', 'pageview');
</script>
                      
                                       
To share this paste please copy this url and send to your friends
RAW Paste Data
Recent Pastes