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 ...
For both Google and Bing, you can be logged into an account on their sites when conducting searches. In that case, your search is conducted in a "secured context" for privacy reasons, under which your query terms are not available for reports.
To separate the two, Google Analytics uses a capitalization for the site name versus lower case for the search ...
We ran into this same exact issue a while ago. Here is the solution that worked for us. We use postfix for our mail servers. We setup a 2nd domain name to host our marketing email. This domain is setup with a catch all mailbox. When we send emails we send them with a different address and reply-to each time. (We have our own script for sending emails, ...
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 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).
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 ...