Google Analytics

I wanted to inquire if anyone knows how PageViews get track with Google Analytics (web log, etc.).
I have a website that has login capability but based on the PageView counts, it appears that all visitors are tracked, not just logins.  Thanks for any info.
LVL 3
fjkaykr11Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Terry WoodsIT GuruCommented:
There is a snippet of javascript code embedded in each page that connects back to Google's servers with a unique tracking id relating to the website. The snippet of code is provided by Google Analytics for copying and pasting into the site pages and/or page templates.
0
Terry WoodsIT GuruCommented:
This might be a situation where you can use Google Analytics custom metrics to track whether or not a user has logged in. There's some details of how to do it here: https://developers.google.com/analytics/devguides/collection/analyticsjs/custom-dims-mets
0
fjkaykr11Author Commented:
Terry thanks for the info.  I think I might have been unclear in my question. I wasn't looking to track if someone logged in.
I wanted to know how pageviews get tracked (regardless if someone logs into a website or not).   If I am understanding correctly what you mentioned, the Javascript code on the website will help to track the page views -- but does this info get updated into a web log of some sort? For instance if I go back 6 months ago in Google Analytics, where is that information stored on the page views?  Thanks again.
0
Lucas BishopClick TrackerCommented:
I wanted to know how pageviews get tracked (regardless if someone logs into a website or not).

As long as each page contains the Google Analytics (GA) javascript, it will track every pageview for every page that is loaded by a visitor.

You need to make sure the javascript is on every page that you want tracked though. For example, if you have the code on the logged-out side of your site, but not the logged-in side, then you will only track pageviews for logged out visitors.

does this info get updated into a web log of some sort?

The pageview data is stored for the life of your GA account.

if I go back 6 months ago in Google Analytics, where is that information stored on the page views

You can apply the Pageview metric to almost every report inside of GA. The first report that you see when you login to GA:
Audience > Overview
...defaults to "Sessions" but can easily be changed to Pageviews:
pageviews in ga
Almost every report allows you to apply this metric.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
fjkaykr11Author Commented:
Thanks.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Analytics

From novice to tech pro — start learning today.