rperez88 Posted January 31, 2013 Share Posted January 31, 2013 Hola, he intentao de varias maneras instalar el código o # de google analitics en el CMS he insertado su codibo de UA-xxxxxx-xx y no funciona en tiempo real y luego intente colocar el código en el archivo modulo/ganalitics/gnalitics.php con el siguiente código: <script type="text/javascript"> document.write(unescape("%3Cscript src=\''.$protocol_content.'www.google-analytics.com/ga.js\' type=\'text/javascript\'%3E%3C/script%3E")); </script> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push([\'_setAccount\', \'UA-XXXXXX-X\']); _gaq.push([\'_trackPageview\']); (function() { var ga = document.createElement(\'script\'); ga.type = \'text/javascript\'; ga.async = true; ga.src = (\'https:\' == document.location.protocol ? \'https://ssl\' : \'http://www\') + \'.google-analytics.com/ga.js\'; var s = document.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(ga, s); })(); </script>'; No se que hacer, que alguien me ayude todo porfavor que me quedo sin trabajo Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now