Removing administration pages from Google Analytics

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
4/4/2012 9:06:56 AM
Gravatar
Total Posts 53

Removing administration pages from Google Analytics

Hi,

In the google analytics reports, the admin pages like editing content, admin pages, etc appear in the accessed pages in google analytics. Can we disable google analytics for such pages?

Thanks

Aditya

4/4/2012 1:51:57 PM
Gravatar
Total Posts 81
Website Hobbyist and Software Engineer
Proud member of the mojoPortal team
www.doan.me

Re: Removing administration pages from Google Analytics

I had a similar question when I started with mojoPortal. On previous projects I did not track 'admin user' page hits, which include content pages as well as administrative pages. So when I saw that mojoPortal tracked all of that in Google Analytics, I also wanted to find out a way to stop that from being tracked. But after a bit of research and more thinking, I decided it was not bad to track that information in Google Analytics as well, as long as I could find a way to filter out particular traffic on Google Analytics. Thanks to Joe and mojoPortal, a Custom Variable is set and passed into Google Analytics with a key of 'member-type'. Some of the values that mojoPortal passes in to Google Analytics for this Custom Variable include 'admin' and 'anonymous'.

So to filter out the administrative page visits and metrics I set up an Advanced Segment to look for all the types that are not 'admin'. After you set up that Advanced Segment and apply it, all of your reports will only show metrics for non-administrative users and will filter out the data for the administrative pages.

Maybe that is a good alternative?

Otherwise, I am pretty sure that there is not a way in mojoPortal to disable Google Analytics for particular pages. May want to submit this as a request in the New Features forum to see if Joe might add it in the future if you feel it is really needed.

4/4/2012 2:57:05 PM
Gravatar
Total Posts 53

Re: Removing administration pages from Google Analytics

Thanks for the reply Kerry!

I tried to setup the advanced segment like this:

Name:adminExclude

In the query -

Exclude + Custom Variable (Key 1) + Containing + admin

But I was still able to see the admin pages in the report. Could you please help me further with this?

Thanks a ton!

Aditya

4/4/2012 5:08:14 PM
Gravatar
Total Posts 81
Website Hobbyist and Software Engineer
Proud member of the mojoPortal team
www.doan.me

Re: Removing administration pages from Google Analytics

Just change your query to:

Exclude -> Custom Variable (Value 1) -> Exactly Matching 'admin'.

At least that is what I use.

You must sign in to post in the forums. This thread is closed to new posts.