While sending Google information that is personally identifiable is simply not permitted, you can instead send an identifier which is known only to you.
You should create what I’m going to term a “Google Analytics identifier” (GAID) which is mapped to the username/user ID and is only used to send tracking data to Google Analytics. You’ll likely need to ...
Blame Your Expectations:
This one hasn't really been a big issue on here in the past but still deserves an honourable mention. If your only reason for thinking that your pageviews are wrong are that they aren't at the level you expect them to be, especially when first starting out, don't panic, this doesn't mean there is anything wrong to be fixed. ...
Google Analytics does not generally allow tracking of individual users. It views it as a privacy violation. Google Analytics only supplies reports that aggregate user data.
See this question on StackOverflow about using custom variables with your user id of the user in it. That is a solution that is now allowed (as long as Google can't associate the ...
The Reporting API will let you get at Enhanced Ecommerce as well as the rest of GA. Here is Google's Reporting API v4 documentation.
Here is the Ecommerce Dimensions and Metrics list for getting the right API names for EEc data.
As a side note, the Reporting API is what the Google Sheets GA add-on uses as well, and for anyone coming along who's not ...
Don't know that I can answer why, but let's look at what's happening.
Your custom app, see how you are calculating current users, how often do you refresh with new data? When do your time periods start and end?
Look at how you are determining "returning" from "new" visitors.
for the API and Analytics: You're using 1 day, and you've set your date range ...
You can now do this as part of their Google Analytics Management API.
Example in Python
# Note: This code assumes you have an authorized Analytics service object.
# See the Filters Developer Guide for details.
# This request creates a new filter.
'name': 'My ...
You can try this step by step. I think that the biggest problem is in data structure. You need to check that out. And also, I'm not sure if it can handle 2 million events at once. (Never had that many events for import) :)
Google has a terminology problem. They call it "drop off rate" in the user flow report but they call it "exits" in other places.
There is an entire report that does exactly what you want. It tells you how many people dropped of or "exited" for each page on your site. It is available from: "Behavior" -> "Site Content" -> "Exit Pages".
You can view ...
In your Google Analytics account -> Your Website account ->All Website Data.
In the left side bar under Behavior -> Site Content -> All Pages, you can see the time a visitor spends on individual pages (average that is).