How to make an analytics for my website members page? - google-analytics

I have a website where members can create their own page. Current I have a script that tracks how many views the member page was viewed. But I would like to display more information like unique visits, return visits etc.
Is there any analytic software that could let me do that?

I am guessing you want to display on each member page some analytics information.
You didn't specify what language you used to build the site.
Here's a PHP API class to query a Google Analytics account.
Also, check this and this for documentation about the API. You can retrieve analytics data / metrics in many ways that the default Analytics reports don't show.
Now you need to think of a way to differentiate between member pages in Analytics (use custom variables in your tracking code, maybe).
Hope this helps.

If you don't want to deal with getting in to the Google Analytics API, I suggest you check out some of the solutions on the Google Analytics Application Gallery. I for one work with embeddedanalytics. While we don't have it very well published on our site, we have done a number of CMS type implementations, allowing a single implementation to be used by many different users of the site. The differentiation could be based on page path or some specific custom variable. Visit us and contact us directly if you are interested.
(disclosure - I work with embeddedanalytics)

Related

How do I program a dimension that captures a logged-in user in WordPress with Google Analytics?

My problem is this: I'd like to differentiate Google Analytics between logged in WordPress users (people editing the site, editors) and people visiting the site (visitors).
I read through this article: https://css-tricks.com/learning-use-google-analytics-effectively-codepen/
It provides a basic explanation of how to add a dimension to GA. What I don't get is how to make line of code to add to my WordPress templates that will tell Google which users are logged in and which ones aren't.
If you can help, thank you!
The easiest way to do this is to populate the datalayer of your website with a boolean value (true or false) that determines whether someone is logged in or not. You can ask one of your devs to do this, but since you're using Wordpress there are quite some plugins that are able to do this (make sure you check the safety of these plugins).
After you've done that, you can now actually target these datalayer values in Google Tag Manager and create a custom dimension that you can in turn use for your filters and/or segments in Google Analytics. This guy explains it quite well on how to do this step by step.

List of visited pages per logged in user

I use custom google analytics variables to track the user ID of the visitor.
What I want is to see which pages a user visits after he signups to my website.
To achieve this I try to create a custom report about which pages a certain user ID visits.
I can't get this to work, on the custom report system I cannot select the correct filters & settings.
I hope anyone here has experience in doing this and can help me in the right direction.
Google Analytics won't show you this information at scale. It might work for 1-2 visitors, but Google Analytics purposefully restricts you from seeing individual visitor details.
Your best bet is to use a software product so you don't violate any privacy restrictions.
I would suggest looking into Universal Analytics. Much more centered around users - http://online-behavior.com/analytics/universal

How can I view disqus comment text in google analytics?

I used rails to develop my website, and I've installed disqus and google analytics.
I would like to be able to view the content of comments made via disqus in my google analytics dashboard. Is this possible?
I've only been able to see how many 'likes' and 'comments' in the dashboard, but not the actual content.
Thanks.
If you want to record the comments, you will need to capture them in a Custom Variable to send to GA. However, note that
There is a character limit for Custom Variable values (a 128 char
limit shared between all custom var names and values on a given
request).
Tracking stuff like this isn't really what GA (or other tracking
tools) is for, and could possibly even violate Google's ToS,
depending on the contents of the comments

tracking users with google analytics after they leave my domain to make a purchase and come back

I would like to track where users originally came from when they make a purchase on my site so I know which keywords are more profitable and which websites are best for advertising.
an example is a user is on my site with my google analytics tracking code which has details of where they came from, and then decides to upgrade. they leave my domain to go to my biller (2checkout) complete the purchase and return to my thank you page.
I have transaction code and analytics code on my thank you page and the transactions are showing up with the correct product/amounts in GA however there is no other data and in my reports the referring url is always my biller or a credit card companies authorisation page.
i can manually connect which customer is which by saving their referring data when they first come to the site and then matching it up after they make a sale, but I would like it to show up in my google adwords / analytics account where it is easier to manipulate the data and see trends.
if anyone can help me with this annoying issue I would be vbery greatful, but I fear I may end up living off reports I create and then matching them up with adwords manually :/
One thing you can do is have a click event trigger a custom variable. When the user clicks on whatever link that takes them to your biller, have the custom variable trigger with the information you want to carry over (like the current page URL, some campaign name, whatever). Specify the custom variable's scope as Session or Visit so that it get associated with the thank you page.
http://code.google.com/apis/analytics/docs/tracking/gaTrackingCustomVariables.html
An alternative is to do campaign tracking:
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55540
That is more or less the same principle as the first suggestion, but with using specified URL parameters. Depending on how your pages are actually coded, you may need to push a virtual page view with the campaign code(s):
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55521

managing redirection with google analytics

I have a site that contains the file
redirect.php?id=123
It redirects folks to another site using an id it pulls from the database.
I'd like to track the page on Google Analytics, see where users are coming from, and what popular sites they're going to.. etc.
I currently set up the page so that it pulls (with PHP) the link from the database, and outputs the ga.js stuff and a javascript redirect.
The issue is that I'm getting the data on my analytics dashboard as if every id is a different page..
What is a better way to do this?
If you want to check for pages of the type redirect.php?id=x then the page Carlos links to is how you would do it.
You would want to exclude the id parameter from your search. Then Analytics would combine all the redirect.php?id=1 redirect.php?id=2 redirect.php?id=3 pages as just a single page named redirect.php
How do I exclude query parameters from my reports?

Resources