Google Analytics Custom Javascript Variable report - google-analytics

I'm using the Custom JavaScript variable to get the value of "User Name" and "User Email" via Google Tag Manager.
My question is, how do I create a custom report that shows all the User Email and User Name that accessed my site?
Thanks in advance.

Firstly, note that it is against Google Analytics Terms of Service to be collecting anything (name, email, address, phone, etc.) that can be used to personally identify any individual. So I hope you are not pushing that info into GA.
Secondly, generally speaking, you can push information into custom dimensions that can then be used in your GA reports (standard reports, custom reports, etc.). So if you are able to get data into a Custom JS variable, then there should be away for your to push them into a custom dimension.
Please make sure you are complying with the first point.

Related

GA Page View tracking with additional information

We have a site where users login to access technical information. Before accessing the information, they also have to enter a set of filter options. Different filter options result in different information displayed on different pages but the url is the same.
For example, a user will get the following URL when accessing a specific document, regardless of what filter options set:
www.site.com/fr/category/document/
Depending on the filter options, different sections of the document will be visible.
Currently, no information in GA tells us what filters were used when visiting the page. We do not want to add filter parameters to the URL. At least not for the visitor, but maybe add it in the tracking somehow?
What would be the optimal/correct way to track that kind of information?
Best solution may depends how your site works etc. But how about using custom dimensions assigned to "hit" (pageview) scope? Maybe they will help in your case? Documentation: https://developers.google.com/analytics/devguides/collection/analyticsjs/custom-dims-mets (code in documentation depends how your GA is implemented of course). Thanks to them you can send with pageviews hit additional (custom) information (e.g which filters were used).
Other way could be just sending google analytics event (https://developers.google.com/analytics/devguides/collection/analyticsjs/events) with information which filters were used before pageview hit. Then just in Google Analytics panel you can create custom segment with sequence where 2 events occurred:
Click (or use filters) - event
See specific URL - pageview
Or of course you can implement both solutions (custom dimensions for pageview and events).

Is there a way map/set utm parameters in gtm?

I currently have a bunch of traffic going to my website with a query string like so: www.mywebsite.com/?source=facebook
I've installed GTM on my website and also from GTM fire a Google Analytics Page View etc. What i'm wondering is through GTM, is there a way to grab the source (facebook) from the url and set utm_source=facebook when firing the pageview tag.
Or is my only option to change all the links going to my site to be:
www.mywebsite.com/?utm_source=facebook instead?
Thank you everyone for your expert advice. Really Appreciate it.
You can fetch the parameters via an url type variable, and then use the "set fields" option in your GA tag to populate the "campaignSource" and "campaignMedium" fields. If the parameters are not present the url query variables default to "undefined", and undefined fields are not sent, so you do not need to check if values are present.

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

How to make an analytics for my website members page?

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)

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

Resources