Problema cu scriptul google-analytics!

Pentru întrebări legate de facilităţile forumului phpBB 3.0.x, acest loc este cel mai potrivit.
Reguli forum
Aveti o problema si vreti sa primiti ajutor? Click aici ! Nu uitati si de regulamentul forumului !
Închis
Avatar utilizator
topcadex99
Nou venit
Mesaje: 7
Membru din: 14-Dec-2008, 14:32:42
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucuresti
Contact:

Problema cu scriptul google-analytics!

Mesaj de topcadex99 »

Buna seara! Am si eu o problema cu adaugarea scriptului google-analytics!

am intrat in: ......./styles/prosilver_se/template/overall_footer.html

L-am deschis am introdus codul la sfarsitul paginii dupa copyright dar nu imi apare codul dupa ce salvez!

Fisierul ramene scris cu scripul ca se vede in el dar cand tot dau refresh la site, dau view source caut scripul nu este!
</div>

<div id="page-footer">

<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>

<ul class="linklist">
<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
<!-- IF not S_IS_BOT -->
<!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
<!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
<!-- ENDIF -->
<li class="rightside"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> &bull; <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> &bull; <!-- ENDIF -->{S_TIMEZONE}</li>
</ul>

<span class="corners-bottom"><span></span></span></div>
</div>
</div>
</div>
<div class="border-bottom"><span><span></span></span></div>
</div></div></div></div></div>
</div>

<!--
We request you retain the full copyright notice below including the link to http://www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
"phpBB" linked to http://www.phpbb.com. If you refuse to include even this then support on our
forums may be affected.

The phpBB Group : 2006
//-->

<div class="copyright">Powered by <a target="_blank" href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group
<div><body>&copy; 2009 <a target="_blank" href="http://www.eboris.ro/">www.eBoris.ro</a></body></div>
<!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
</div>



<div>
<a id="bottom" name="bottom" accesskey="z"></a>
<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>

</body>
</html>
<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">
try {
var pageTracker = _gat._getTracker("UA-7198563-7");
pageTracker._trackPageview();
} catch(err) {}</script>
<div class="copyright">
<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
</div><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">
try {
var pageTracker = _gat._getTracker("UA-7198563-7");
pageTracker._trackPageview();
} catch(err) {}</script>
Care este greseala in acest fisier ca nu inteleg! De ce nu se initializeaza! Acelasi lucru am incercat si cu index.php si overall_header! Ori sunt prost ori sunt prost una din doua!!!!

Va multumesc!
Avatar utilizator
Muzet
Fost coleg
Mesaje: 2295
Membru din: 18-Mar-2008, 23:29:52
Versiune: 0.0
Ext: Nu
Server: UNIX/Linux
Nivel phpBB: Experimentat
Nivel php: Experimentat

Re: Problema cu scriptul google-analytics!

Mesaj de Muzet »

Sterge cache sau da refresh la stilul folosit.
Avatar utilizator
topcadex99
Nou venit
Mesaje: 7
Membru din: 14-Dec-2008, 14:32:42
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucuresti
Contact:

Re: Problema cu scriptul google-analytics!

Mesaj de topcadex99 »

am incercat! am 2 calculatoare acasa de pe amandoua am incercat! am incercat si de la firma! am incercat cu internet explorer cu mozilla si cu google chrome! nu merge cu nimic!

Am dezactivat si stilul pe urma l-am activat din nou! nimic! nu merge.

E o greseala in fisier sau o setare in panoul administratorului! Nu inteleg
Avatar utilizator
Muzet
Fost coleg
Mesaje: 2295
Membru din: 18-Mar-2008, 23:29:52
Versiune: 0.0
Ext: Nu
Server: UNIX/Linux
Nivel phpBB: Experimentat
Nivel php: Experimentat

Re: Problema cu scriptul google-analytics!

Mesaj de Muzet »

Ce nu merge ? Sterge continutul folderului cache de pe FTP, aflat in root. Fara .htacces si index.html.
Avatar utilizator
dorin
Fost coleg
Mesaje: 4620
Membru din: 24-Iun-2003, 23:23:29
Versiune: 3.1.10
Ext: Da
Server: UNIX/Linux
Nivel phpBB: Mediu
Nivel php: Puţin experimentat
Contact:

Re: Problema cu scriptul google-analytics!

Mesaj de dorin »

Scriptul se adauga imediat inainte de </body> :idea:
Avatar utilizator
topcadex99
Nou venit
Mesaje: 7
Membru din: 14-Dec-2008, 14:32:42
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucuresti
Contact:

Re: Problema cu scriptul google-analytics!

Mesaj de topcadex99 »

tot nu merge!
</div>

<div id="page-footer">

<div class="navbar">
<div class="inner"><span class="corners-top"><span></span></span>

<ul class="linklist">
<li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
<!-- IF not S_IS_BOT -->
<!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
<!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
<!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
<!-- ENDIF -->
<li class="rightside"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> &bull; <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> &bull; <!-- ENDIF -->{S_TIMEZONE}</li>
</ul>

<span class="corners-bottom"><span></span></span></div>
</div>
</div>
</div>
<div class="border-bottom"><span><span></span></span></div>
</div></div></div></div></div>
</div>

<!--
We request you retain the full copyright notice below including the link to http://www.phpbb.com.
This not only gives respect to the large amount of time given freely by the developers
but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
"phpBB" linked to http://www.phpbb.com. If you refuse to include even this then support on our
forums may be affected.

The phpBB Group : 2006
//-->

<div class="copyright">Powered by <a target="_blank" href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group
<div><body>&copy; 2009 <a target="_blank" href="http://www.eboris.ro/">www.eBoris.ro</a></body></div>
<!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
</div>



<div>
<a id="bottom" name="bottom" accesskey="z"></a>
<!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>
<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">
try {
var pageTracker = _gat._getTracker("UA-7198563-7");
pageTracker._trackPageview();
} catch(err) {}</script>
<div class="copyright">
<!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
</div><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">
try {
var pageTracker = _gat._getTracker("UA-7198563-7");
pageTracker._trackPageview();
} catch(err) {}</script></body>
Avatar utilizator
Muzet
Fost coleg
Mesaje: 2295
Membru din: 18-Mar-2008, 23:29:52
Versiune: 0.0
Ext: Nu
Server: UNIX/Linux
Nivel phpBB: Experimentat
Nivel php: Experimentat

Re: Problema cu scriptul google-analytics!

Mesaj de Muzet »

Da-mi codul de la analytics, ca e aiurea rau ce ai acum. :|
Avatar utilizator
topcadex99
Nou venit
Mesaje: 7
Membru din: 14-Dec-2008, 14:32:42
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucuresti
Contact:

Re: Problema cu scriptul google-analytics!

Mesaj de topcadex99 »

deci imi pare rau ca va stresez atata. Imi este si rusine dar tot nu merge! :oops:

asta e codu:
<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">
try {
var pageTracker = _gat._getTracker("UA-7198563-7");
pageTracker._trackPageview();
} catch(err) {}</script>
Avatar utilizator
Muzet
Fost coleg
Mesaje: 2295
Membru din: 18-Mar-2008, 23:29:52
Versiune: 0.0
Ext: Nu
Server: UNIX/Linux
Nivel phpBB: Experimentat
Nivel php: Experimentat

Re: Problema cu scriptul google-analytics!

Mesaj de Muzet »

Incearca asta, dupa ce il urci pe FTP reimprospatezi stilul folosit (ACP -> Stiluri -> Şabloane) sau Panoul administratorului > General > Şterge cache.

Cod: Selectaţi tot

</div>
                <div id="page-footer">
                    <div class="navbar">
                        <div class="inner"><span class="corners-top"><span></span></span>
                        <ul class="linklist">
                            <li class="icon-home"><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></li>
        <!-- IF not S_IS_BOT -->
        <!-- IF S_WATCH_FORUM_LINK --><li <!-- IF S_WATCHING_FORUM -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{S_WATCH_FORUM_LINK}" title="{S_WATCH_FORUM_TITLE}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
        <!-- IF U_WATCH_TOPIC --><li <!-- IF S_WATCHING_TOPIC -->class="icon-unsubscribe"<!-- ELSE -->class="icon-subscribe"<!-- ENDIF -->><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
        <!-- IF U_BOOKMARK_TOPIC --><li class="icon-bookmark"><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
         <!-- IF U_BUMP_TOPIC --><li class="icon-bump"><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
        <!-- ENDIF -->
                            <li class="rightside"><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a> &bull; <!-- ENDIF --><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a> &bull; <!-- ENDIF -->{S_TIMEZONE}</li>
                    </ul>
                        <span class="corners-bottom"><span></span></span></div>
                    </div>
                </div>
            </div>
        <div class="border-bottom"><span><span></span></span></div>
    </div></div></div></div></div>
</div>
<!--
    We request you retain the full copyright notice below including the link to http://www.phpbb.com.
    This not only gives respect to the large amount of time given freely by the developers
    but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain
    the full copyright we ask you at least leave in place the "Powered by phpBB" line, with
    "phpBB" linked to http://www.phpbb.com. If you refuse to include even this then support on our
    forums may be affected.

    The phpBB Group : 2006
//-->
    <div class="copyright">Powered by <a target="_blank" href="http://www.phpbb.com/">phpBB</a> &copy; 2000, 2002, 2005, 2007 phpBB Group
    &copy; 2009 <a target="_blank" href="http://www.eboris.ro/">www.eBoris.ro</a>
    <!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
    <!-- IF U_ACP --><br /><strong><a href="{U_ACP}">{L_ACP}</a></strong><!-- ENDIF -->
    </div>
<div>
    <a id="bottom" name="bottom" accesskey="z"></a>
    <!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF -->
</div>
<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">
try {
var pageTracker = _gat._getTracker("UA-7198563-7");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>
PS: Cred ca stii ca Google Analytics nu are de afisat nimic, nici o iconita sau ceva asemanator, doar contorizeaza.
Avatar utilizator
topcadex99
Nou venit
Mesaje: 7
Membru din: 14-Dec-2008, 14:32:42
Ext: Nu
Server: Windows
Nivel phpBB: Mediu
Nivel php: Mediu
Localitate: Bucuresti
Contact:

Re: Problema cu scriptul google-analytics!

Mesaj de topcadex99 »

Stiu ca nu apare mai am 3 siteuri!

MULTUMESC MULT! ACUM VAD CA A APARUT! ASTEPT SA SE ACTUALIZEZE SI IN PANOUL DE PE GOOGLE!

O SEARA PLACUTA!
Închis

Înapoi la “3.0.x Cum pot să...?”

Cine este conectat

Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 2 vizitatori