google analitycs

aloni

Avatar: aloni

2012-05-26 12:45

Hi,

Is it possible to add a text area place for google analitycs on which can be edited in admin?
i think it would be very helpfull to put it under the password and username ,in the admin settings.
the idea is to copy the code from google and paste it on the text area, at the right place in the template.
is it possible??
Thanks...

» Quick.Cms v4.x

treewood (OpenSolution)

Avatar: treewood

2012-05-28 07:06

Or maybe install this plugins:
http://opensolution.org/download,en,18.html?sDir=Quick.Cms/plugins#googleAnalyticsPlugin_v0.1

aloni

Avatar: aloni

2012-05-28 08:55

Thanks treewood,
ive tried it
But still i have to tuch the ftp general.php
the idea is to make it automatic like info footer or slogen...etc.
so the code will be controled from tha admin pannel.copy the code from google and paste it on the text area
is it possible??
Thanks
Aloni

treewood (OpenSolution)

Avatar: treewood

2012-05-28 12:24

aloni - install plugin templateEditor:
http://opensolution.org/download,en,18.html?sDir=Quick.Cms/plugins#templateEditor_v0.2

Then someone will have control from admin panel to edit templates. In other situation you will have to add variable for example
$config['google_analytics']

after you must put this variable into templates/default/container.tpl and after to templates/admin/settings.tpl to display code and add possibility to change it.

aloni

Avatar: aloni

2012-05-28 21:50

Thanks treewood
Ill try that...

aloni

Avatar: aloni

2012-05-28 22:34

treewood ,
Ive tryed the second situation:
in general.php i put

* analyticse
*/
$config['google_analytics'] = "asasasasasa";

/*

and in templates/default/container.tpl : $config[google_analytics]


and finely in templates/admin/settings.tpl :

<tr class="l0">
<th>
$lang['google_analytics']
</th>
<td>
<input type="text" name="google_analytics" value="$config[google_analytics]" size="70" maxlength="200" class="input" />
</td>
</tr>

The script can be managed from the admin pannel, but it must not be shown like text in the front (like it is now...after the changed ive made...) .the analitycs code must stay in the code only -so how can i hide it from being shown...
Thanks

treewood (OpenSolution)

Avatar: treewood

2012-05-29 07:17

could you send link page to check how this analytics code displays on page?

aloni

Avatar: aloni

2012-05-29 18:01

Thanks treewood ,
The page is not on the web it is still in develope...nowdays
The text that i put in the admin, behaves like slogen or like the footer info...
and its not hidden like keywords for example.
any idea???
Thanks

treewood (OpenSolution)

Avatar: treewood

2012-05-30 07:15

aloni - then what problem to put on your server or other testing/freeware servers to display test version of your page with problem mentioned? without example i cannot help.

aloni

Avatar: aloni

2012-05-30 10:22

Thanks treewood ,
Ill do it and let you know soon...
Thanks

marchival

No avatar

2012-07-04 10:25

is it better to use all-in-1 than just google analytics alone??

Spike36

Avatar: Spike36

2012-09-26 18:29

Hi Guys,

I am a sort of newbie and i wanted to know how i can unregister myself from Analytics, i have read in so many places but none tell you clearly.
The only clear message i get is that its very complicated.
I have another site which is not under my ownership, i joined a program and was given to me and now i am out of that program and don“t want it appearing in my name in Analytics.
My email is in the membership or leave me a message here
http://naturalskincareroutine.com

Back to top
about us | contact