Google Analyitics in Head/Footer

20 views
Skip to first unread message

emg

unread,
Nov 17, 2014, 3:40:13 PM11/17/14
to walik...@googlegroups.com
How can I add to the pages the Google Scripts so I can track the performance of the pages?

Martín Gaitán

unread,
Nov 17, 2014, 3:57:55 PM11/17/14
to emg, waliki-devs
Hey Edward

The easier way is to override the waliki base template in your project .

every default template inherit from site_base.html / detail.html

So, you could override this template in your project

project/templates/waliki/base.html

with something like this.


{% extends "site_base.html" %}
{% block extra_body %}
    your code here
{% endblock %}


alternative you can override project/templates/base.html  and add the code there


Pd: please use the current master to try this.


On Mon, Nov 17, 2014 at 5:40 PM, emg <e...@edwardmgoldberg.com> wrote:
How can I add to the pages the Google Scripts so I can track the performance of the pages?

--
You received this message because you are subscribed to the Google Groups "Waliki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to waliki-devs...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages