Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#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

#3 2005-11-21 10:04:30

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

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

#4 2005-11-21 11:54:35

michaelkpate
Moderator
From: Avon Park, FL
Registered: 2004-02-24
Posts: 1,379
Website GitHub Mastodon

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

Board footer

Powered by FluxBB