Using not described parameters in measurement protocol - google-analytics

Is a transfer of parameters tel and email that aren't part of Measurement Protocol and aren't described in docs, the identificational data upload ?
For example:
https://www.google-analytics.com/collect?dh=example.com&cid=000000000.0000000000&ea=Trigger&ec=MyEventCategory&t=event&v=1&tid=UA-XXXXXX1-0&dp=index.html&tel=XXXXXXXXXXX&email=email#example.com

you are not allowed to send user identifiable information to Google analytics like email or phone number.
Caution: You may not upload any data that allows Google to personally identify an individual (such as names and email addresses), even in hashed form. See the Measurement Protocol Policy for more details.
please see Measurement protocol email and policy details
the only parameters you can send can be found in the docs

Related

Audience report using the Measurement protocol

We have been testing the measurement protocol for a while now to pass Google Analytics information from our servers. We are passing our internal unique user id to tid/cid parameters and not the ga's.
Right now it looks like that in our current setup we are not able to generate any Audience reports and I would like to verify my concern that this is due the fact we are passing our own unique userId to the cid parameter.
Is it possible to generate Audience reports using the measurement protocol without ga's cid?
The way Google Analytics handles Audiences is tying the CID (or UID) with a third party cookie in the doubleclick domain, that is sent using a non-documented parameter of the measurement protocol.
This is only enabled once you turn on advertiser features in the Google Analytics interface. Because you can't access the doubleclick cookies from your server you won't be able to include that in your request.
In other words if your implementation relies solely on the measurement protocol from your server side it won't be possible to have audiences populated. If your implementation includes a mix of web tracking (using the supported client libraries such as gtag.js) and offline using measurement protocol it might be possible to make it work if you are able to use the same Ids on the offline and online tracking methods.

How to track gmail logged In user's email from google analytics report via analytic code snippet?

Is it possible to track which gmail user visit my website with the help of google analytics code script.
Please suggest ?
I think you should closely read Google Analytics Terms of Service
Privacy. You will not and will not assist or permit any third party to, pass information to Google that Google could use or
recognize as personally identifiable information.
and Universal Analytics usage guidelines
Analytics customers are prohibited from sending personal information
to Google. The Analytics terms of service, which all Analytics
customers must adhere to, prohibits sending personally identifiable
information (PII) to Analytics (such as names, social security
numbers, email addresses, or any similar data), or data that
permanently identifies a particular device (such as a mobile phone’s
unique device identifier if such an identifier cannot be reset). Learn
more about how to avoid sending PII. Your Analytics account could be
terminated and your data destroyed if you use any of this information.
also this Best practices to avoid sending Personally Identifiable Information (PII)
Analytics features and privacy risk
Special care should be taken to ensure no PII such as names, social
security numbers, email addresses, or any similar personal
identifiers, or data that permanently identifies a particular device
such as a mobile phone’s unique device identifier
Answer: It is against Google Analytics TOS to store any information that could be used to track back to a specific users. This would include the gmail user id or email.

Precise Geolocation reporting using Google Measurement API

I'm having issues with Google Measurement Api. I need to manually report ecommerce transactions to the analytics, and the only data i'm getting from the payment processor is Country Code (which is not precise enough for our analytics process) and IP address of person doing the purchase.
We've tried sending uip (User IP override) param but analytics ignores IP and does not extract the Geolocation from it.
We've tried using geoid, but as i said is not precise. We need city information too. I see that geoid can take integer as param which describes the precise location, but i don't know how to get to that number if only thing i have is IP address.
Any help or advice will be appreciated.
Which hit type do you use?
You must fulfill all mandatory fields of GA measurement protocol so the request could be accepted by GA.
https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters

Can't track E-Commerce shipping details using Google Analytics Measurement Protocol

I need to track E-Commerce data in my Google analytic account using measurement Protocol. In the request I need to send following data and those data need to be tracked in my account.
Billing City (utmtci)
Billing Region (utmtrg)
Billing Country (utmtco)
But when I tried to find the parameters for these using enter link description here I could not find any matching parameter. Please help if any one know whether I can track these using measurement protocol.
This has been discussed (but not yet answered) here - basically it seems those fields have been deprecated.
I do not see that spelled out in the documentation, but those field do not appear in the parameter reference, not in the API (via the query explorer) and not in the GA user interface. If stuff is not part of the documentation it's pretty safe to assume that it is not there.
You can create custom dimensions in your property settings and send the geo information there.

Can I store user ids with google analytics?

I want to track how individual user navigate through a website. Using Google Analytics I can use custom variables so in theory I can use the user ids to track individual users. However, according to the terms of service of Google Analytics I can't use GA to track, collect or upload any data that personally identifies an individual (Section 7. privacy). Does a user id classifies as data that personally identifies an individual? I merely want to use it to link the data from Google Analytics with our own data.
Storing user IDs is probably a violation of section 7, but there are other ways around this problem.
Section 7 of the ToS states:
You will not (and will not allow any third party to) use the Service to track, collect or upload any data that personally identifies an individual (such as a name, email address or billing information), or other data which can be reasonably linked to such information by Google.
While sending Google information that is personally identifiable is simply not permitted, you can instead send an identifier which is known only to you. In fact Justin Cutroni (Analytics Evangelist at Google) has confirmed this in this article.
I've recently written up my current thinking on this with some a couple of world examples:
"Identifying your users in Google Analytics while complying with section 7 of the terms of service"
I'd say it does. It doesn't matter what you intent to do or not. The fact that you have the possibilty to map the id back to the person is enough.
Additionally: I'm not a lawyer but I'd say if you are tracking such data (with whatever technical means) it has to be in the terms of your website and signed by the user.
Personally identifiable information would be something like a name, phone number or email address. You'd be okay to store hashed information about this user in Google Analytics and then decrypt offline. E.g. You can store a hash of the user's name in Google Analytics and then decrypt offline.
You also may want to check you've the correct privacy policy in place and follow these rules: https://developers.google.com/analytics/devguides/collection/protocol/policy
You can use non obfuscated alphanumeric database identifiers that you might create for your visitors. Another acceptable option is to pass to Google Analytics an encrypted identifier that is based on PII that is not Protected Health Information (as defined under HIPAA), as long as you use the proper encryption level. Google has a minimum hashing requirement of SHA256 and strongly recommends the use of a salt, minimum 8 characters.
https://developers.google.com/analytics/solutions/crm-integration#user_id

Resources