Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2005-11-21 09:11:32
- FireFusion
- Member
- Registered: 2005-05-10
- Posts: 698
Is it possible to append google analytics to every document like mint?
The same way that is mentioned here
If so how would I do it?
Offline
#2 2005-11-21 09:26:48
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Is it possible to append google analytics to every document like mint?
Uh, the link you gave contains your answer. ?
Offline
Re: Is it possible to append google analytics to every document like mint?
Put the Javscript from Google-Analytics into a form, and use txp:output_form
to “include” the form in every one of your page-templates. Editing files should always be a last resort, because it makes updating harder.
Offline
Re: Is it possible to append google analytics to every document like mint?
Almost all of my pages shared a common header and footer. So far, I have just added the txp:output_form to a nice safe place in the footer and then I am done (at least until the next complete redesign).
Offline