|
|||||||
|
|
|
![]() |
|
|
Strumenti |
|
|
#1 | |
|
Senior Member
Iscritto dal: Mar 2002
Città: Montepulciano (SI)
Messaggi: 5377
|
[PHP] Come inserisco codice Analytics in pagine PHP?
CIao a tutti, da vero niubbo ho bosogno di sapere questa cosa... come posso inserire il codice di Google Analytics
Quote:
__________________
Nikon NPS | Operatore/Pilota droni A1/A3 - A2 - IT-STS | DJI Mavic 3 Classic Apple Mac Studio M4 Max | MacBook Air M4 13" | Apple Studio Display | iPad Air 13" WiFi | iPhone 16 Pro | Watch Ultra 2 Nikon Z8 | Nikon Z30 | Nikkor Z 14-24/f2.8S - Z 24-70/f2.8S - Z 70-200/f2.8S - Z MC 50/f2.8 | DJI RS3 | DJI Osmo 360 |
|
|
|
|
|
|
#2 |
|
Senior Member
Iscritto dal: Mar 2006
Città: Bergamo
Messaggi: 2499
|
se è una pagina totalmente PHP, ti basta interrompere il tag e inserire il codice
Codice:
?>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-xxxxxx-x");
pageTracker._initData();
pageTracker._trackPageview();
</script>
<?
__________________
ho concluso con: kvegeta, doctordb, Leland Gaunt.
|
|
|
|
|
|
#3 |
|
Senior Member
Iscritto dal: Mar 2002
Città: Montepulciano (SI)
Messaggi: 5377
|
Perfetto, grazie mille!
__________________
Nikon NPS | Operatore/Pilota droni A1/A3 - A2 - IT-STS | DJI Mavic 3 Classic Apple Mac Studio M4 Max | MacBook Air M4 13" | Apple Studio Display | iPad Air 13" WiFi | iPhone 16 Pro | Watch Ultra 2 Nikon Z8 | Nikon Z30 | Nikkor Z 14-24/f2.8S - Z 24-70/f2.8S - Z 70-200/f2.8S - Z MC 50/f2.8 | DJI RS3 | DJI Osmo 360 |
|
|
|
|
| Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 06:29.











ho concluso con: kvegeta, doctordb, Leland Gaunt.








