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

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.

Related

Can Client ID be Used to Retroactively Filter Internal Traffic?

With the goal of performing analysis that does not include staff traffic, I started following this guide to exclude internal visits which seemed great but apparently cannot work retroactively. In fact, I've heard differing opinions on if any sort of retroactive filtering of this sort can be done in GA at all. I'm very new to using GA, but one field I noticed is the Client ID, which seems to track browsers. If I could identify which Client ID's correspond to my coworker's browsers, could I use this to retroactively exclude them from analysis? This seems like it may work to me, but I have found no sources online suggesting this as an option.
If it matters, the analysis I am most interested in is tracking exit clicks.
ClientId is not a value normally available in Analytics reports, also if the coworker has deleted the cookies that value will be different.
This solution works for Univeral Analytics and not GA4.
With Google Tag Manager, you can create a configuration that allows you to filter out internal traffic.
In GA, you can create a custom dimension that tells GA which users are internal users and not. This information is passed on by Google Tag Manager via a query string.
For a step-by-step guide read: How to Filter Internal Traffic in Google Analytics with Google Tag Manager

Direct Channels in Google Analytics

Is it possible to see which of the users acquired through direct channels in Google Analytics came from directly typing in the url/emails not a part of a chain/were just unknown sources and categorized there? If anything, the last category is the most important for me to differentiate from.
If the channel is direct you cannot understand if it arrives i.e. by typing the url, from an email or from a bookmark. You need to use the UTM parameters in the URL to customize the traffic sources.
https://support.google.com/analytics/answer/1033867?hl=en

GA tracking with additional URL parameters

Something I cannot find information about in the GA tracking documentation of branch.io is how to attach parameters other than the default GA ones to a link?
For example on top of UTM tracking our company uses custom URL parameters like ?acc=amex in order to provide special access pages on web that triggers certain things. Since in Branch we only have "Channel" "Campaign" and "tags" then I'm wondering would branch pass those custom link parameters and how?
We do pass custom link parameters to Google Analytics and this requires a custom webhook implementation. As this requires more information from your end, I would request you to send an email to integrations#branch.io to take this forward.

Google Analytics - flagging PII/NPI (personally identifiable information & non-public information)

Can you set up alerts in Google Analytics to flag potential PII/NPI such as name, email address, billing address, billing details etc.? If so, how?
First I have do say I do not understand the downvote(s). For example I have seen applications with user logins where a full name was part of the page title - combined with time based dimensions that gave profile that say which user looked at what page at what time, and that would be clearly illegal. Even worse I have seen a case where security tokens were transmitted to GA that allowed access to secured resources. So clearly accidental transmission of PII to Google Analytics is a real thing.
Unfortunately there is not much you can do about it. You can either do a custom report with relevant dimensions and have it sent to you for a manual audit, or pull them via the API and have them programmatically examined via regular expressions that look for patterns like e-mail addresses etc. But by the time you can do that it is already to late, the data will already be permanently recorded in the GA property.
You have to stop this before the data is collected - if at all possible already in the website (via form validation etc), or use Google Tag Manager with custom javascript variables with validation rules, or filters in the analytics view (the latter being cumbersome and not very promising for this purpose).
The good news is that GA will not suddendly start to track PII on it's own. So you only need to check if your GA account tracks PII when you set up the account. Collect a few days data, validate that everything is okay, make changes as necessary and after all flaws are straightened out copy the view to start data collection from scratch and drop the old view if it contains PII.

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

Resources