Missing Data in GA from Measurement Protocol Hits - google-analytics

I'm sending Measurement Protocol Hits to capture the final stage of a checkout process (Order Delivered). These Hits are sent to a Mobile App Property I am using for testing. I have chosen this approach because the information is only available offline.
The problem is that I see these events in the event report (events report screenshot) but I do not see the corresponding Enhanced Ecommerce related data in the Ecommerce Report (enhanced ecommerce report screenshot).
This is being sent as an event (t=event), while the Purchase Action (pa), and Checkout Step (cos) are "checkout and 5" respectively. The Hit Builder - Google Analytics Validator is validating the Hits properly.
v=1&t=event&tid=UA-XXXXXXX-1&cid=7512d264-71ab-49a7-aceb-b1434fbbd9a0&ec=Ecommerce&ea=Checkout%20test&cd1=1234d1234-71ab-49a7-aceb-b1434fbbd9a0&pa=checkout&cos=5&el=Step%205%20-%20Order%20Delivered&ds=app&ni=1&pr1id=568342&pr1nm=Test%20Name&pr1ca=Test%20category&pr1br=Test%20Brand&pr1qt=1&uid=12345&ta=CC&ti=61870&ts=5.25&tr=107.5&tt=0&cd=checkout%20test
Am expecting to see data in the Events Report and the Ecommerce Report.
Am I missing anything? Or is this a Mobile App Property Issue?

Related

GA Event tracking - is it registered in UA if event has no screen_name / screen_class

I tag the UA event in my hybrid app.
and I sent it by firebase(send the data web to app and send ga by firebase sdk)
but the erorr of our code, some events sent without screen data. (screen_name, and custom dimensions linked to the screen.)
and, I query the report and I found that the number of this events is excessive.
is anyone knows the reason?

Firebase Analytics ecommerce events not showing "items" parameter

I have a Xamarin app. Both apps (android and ios) are connected to a firebase project which is linked to a GA4 account.
I have successfully logged the e-commerce events through the instructions in the Firebase documentation (https://firebase.google.com/docs/analytics/measure-ecommerce), however, I encountered some issues.
In all of my e-commerce events, the "items" parameter does not show in GA4. If I check the e-commerce events on the reports I can see all the other parameters, however, when I try to see item_id, item_name, etc. they do not show up in GA4.
Items show on Debug View for all the e-commerce events but in the Events option (both GA4 and Firebase) there is no way to visualize the "items" parameter.
items showing in Debug View
Also noticed that for the event "add_to_cart" there are additional cards like "Top Products". So far I couldn't find any other e-commerce event that shows additional cards like that, not even the "purchase" event.
Top Products card in add_to_cart event
Haven't tried Google Tag Manager or BigQuery.
Is there any way to visualize items for all the e-commerce events that require it in GA4 or outside GA4?

Google Analytics - Measurement Protocol - Hits not recognized/visible in Enhanced Ecommerce Reports

Google referred me to this forum, since they did not have a solution to the following issue.
So the issue we are facing is that hits send via the measurement protocol are registered by Google Analytics in the real-time- and events reports, but those hits are not captured in the Enhanced Ecommerce reports (especially the shopping/checkout reports). However, hits that are send via the hit builder are reported by GA in both the event and real-time reports as in all the Enhanced Ecommerce reports.
Detailed description
20th of June: An user (ClientID: 945403652.1592644568/userID 1234567890) completed an
application (checkout step 1, application) on the website for the vacancy with name 'developer' and id
'12345'.
2th of July: With use of the measurement protocol an
offline event for completing the job interview stage (checkout step 3, 'gesprek') is send
to Google Analytics. The hit is recorded and visible in the events and real-time reports but is not visible in the enhanced ecommerce reports.
The following hit was send via the measurement protocol with a GET request:
v=1&t=event&tid=UA-123456-1&cid=945403652.1592644568&cd20=945403652.1592644568&uid=1234567890&cd8=1234567890&cd7=gesprek&ec=measurement%20protocol&ea=checkout&el=step_3&ev=1234&ni=1&pa=checkout&pr1id=12345&pr1nm=developer&pr1br=12345&pr1ca=development&pr1va=amsterdam&pr1cd10=3771&pr1cd11=hbo&pr1cd12=5-10%20jaar&pr1cd13=32-40%20uur&pr1cd15=2019-07-04%2016%3A23%3A24&pr1cd18=3500%20-%205000%20euro&pr1cd19=gesprek&cos=3
7th of July: We send the same hit for completing step 3 of the
checkout via the hit builder. The hit is visible in the real-time and events report and is
somehow captured by all the Enhanced Ecommerce reports as well.
Other notes:
Enhanced Ecommerce is enabled in GA
Checkout steps are defined in GA.
We currently see some transaction hits that are send with the MP coming into the GA enhanced
ecommerce - sales reports, but those hits are also not visible in the
checkout/shopping behaviour reports.
Does anyone knows what causes this issue and how this issue can be solved?
Many thanks.
I did some testing with your hit, both with the hit builder and a system I created in Apps Script and, as I imagined, there is no difference as the parameters are the same.
The result was always that the events were in Real Time report and in the Events report but not in the Enhanced Ecommerce report.
However, looking at the parameters I noticed that the event is non-interaction. By removing the ni parameter and sending a new hit, the information also appeared in the Enhanced Ecommerce report.
This is because the checkout report is session based but a non-interaction event does not generate any session (here you can find a study I did some time ago: https://www.analyticstraps.com/utenti-senza-sessioni/).
So, so what I hypothesize may have happened is that in one case (2th of July) only the non-interaction event was sent (and did not appear in the ecommerce report), while in the other case (7th of July) it was sent either before or after an interaction hit (for example a pageview or other event) or a session of that user was in progress, therefore the event was associated with that session and appeared in the Enhanced Ecommerce reports.

Google Analytics Campaign Tracking Issues

A client of mine is having some issues with regards to tracking campaigns in Google Analytics that I was hoping one of you can advise me on.
They have recently sent out an email with the Google Analytics campaign information in the links back to the site from a button in the email (link created with the URL builder).
As well as the Google Analytics information they also send their own parameter for tracking using a bespoke system of theirs. In the end the url that visitors would go to after clicking the button in the email was something along these lines:
http://www.domain.com/pagename/?bespokecampaign=lead_gen/email/email_btn/boxcampaign&utm_source=email_pure&utm_medium=email&utm_term=email_btn&utm_campaign=boxcampaign
Looking at Acquisitions in the Google Analytics report I can see in the past this page has been viewed and has the correct Source/Medium set as email_pure/email.
However, there was a lead gen form that was filled out on the site after landing on this particular page that sends an event action that the form was filled out. When trying to view the campaign information for these events I do not see any information regarding the Source / Medium for that event being the correct information from the URL.
The Salesforce model in place to receive these leads took the referrer URL correctly, containing the Google Analytics parameters, but there was no record in Analytics to suggest one of the form events had the Source/Medium of email_pure/email.
Does anyone have any ideas on what could be causing this and potential fixes?

Google Analytics Enhanced Ecommerce Questions

I'm trying to implement the Enhanced Ecommerce tracking with Google Analytics and ran into a few questions.
Can you only send impressions with the pageview event? So how would I send impressions of items loaded after the initial pageview event?
I wanted to send product impressions on search result pages, which are in blocks of 10. When I try to send along with the pageview, it never sends, I'm guessing because it's too long for Google, so how would I send multiple at 1 time? I can get upto 6 products and have it still work.
Should I just use an event to track impressions? Would this solve the sending and size issue if I made a call for each product?
Any guidance would be appreciated. I feel the documentation is lacking a bit with some specifics.
You don't need to necessarily send ecomm data with the pageview. As stated here https://developers.google.com/analytics/devguides/collection/analyticsjs/enhanced-ecommerce, in the "Sending Enhanced Ecommerce Data" section:
Note: Ecommerce data can only be sent with an existing hit, for example a pageview or event. If you use ecommerce commands but do not send any hits, or the hit is sent before the ecommerce command then the ecommerce data will not be sent.
There's also more information in this SO post: Tracking catalog product impressions - Enhanced Ecommerce Google Analytics.
I'm not sure if there is a hit limit for EE transactions as there are for other types of hits (limit of 500 hits per session), but if you are worried that you'll reach some limit, whether it's EE or not, or if you think you'll send more than 20 hits per second, then you can throttle the hits being sent to Google.

Resources