I'm trying to track total ad revenue from BigQuery, which is linked with GA4.
I already link GA4 with BigQuery and currently get bunch of events.
But i have no idea which event is related to ad revenue.
What i ultimately wanted to do is, querying sum of ad revenue for each day.
The event table's schema looks like below.
Related
Anyone migrated from Universal Analytics to GA4 showing event counts slightly off for custom events? I am using the same triggers in GTM so why would there be a discrepancy? What could cause this? I understand session counts differ between GA4 and UA but why would custom events using same tags and triggers?
I had the same issue with purchase events being different for UA vs. GA4.
Universal Analytics was always showing higher numbers and the triggers were exactly the same.
Then I enabled data export to BigQuery and it turned out that GA4 shows only those transactions in the GA4 UI that have a value for the field user_pseudo_id (you only see this field in the BigQuery data export). There were transactions where the field was null and apparently these dont show up in the UI.
I would recommend looking at raw event in BigQuery, the data export is for free as long as you dont go crazy with ETLs and queries.
Check your data with this query:
SELECT event_name, event_timestamp, user_pseudo_id, ecommerce
FROM `{project}.analytics_{replace}.events_{date}`
WHERE event_name = "purchase"
order by event_timestamp
empty user_pseudo_id are not considered in the GA4 UI reports
Does the time get stored with the date OOTB with the Google Analytics 4 (GA4) on eCommerce events?
On my company’s implementation when I look at the data stored to e-commerce events, like the purchase dimension, everything is showing as occurring at 12am. Do you know why this is? Is it a config issue or the way I am connecting?
I’ve seen posts where people create JavaScript variables to track time in GA4 and save to a dimension but this makes no sense given the high cardinality of time. I would have thought it would be more efficient to store as a datetime data type and track as part of the GA4 application.
Does anyone here see the time an event occurred on GA4 eCommerce events?
There is a currency field under property set up in Google Analytics. What purpose does it serves? The reporting time zone perhaps shows the website visits and other stats based on that specific time zone but what role does the currency field plays.
GA does not only track hits, sessions and users. It also tracks so-called E-commerce events. When something is added to cart, removed from it, various checkout steps, purchases, refunds and many more. To measure them more precisely, GA offers to track a few monetary metrics that are measured in currency.
That currency will be mostly used in e-commerce reports. You can read more on it here: https://support.google.com/analytics/answer/6205902?hl=en#zippy=%2Cin-this-article
In GA dashboard, there is only report of number of active users in a day or week or year. If I need a report to collect which user id who visits my website, I have to click the range of the date day by day and export so many excels in order to combine them into one.
Is it possible to get a list of all user ids day by day.
The user id field that you have submitted with your google analytics hit data is used for internal processing. It is not something that you can actually see in either the google analytics website or the google analytics api. Its used similar to the session id.
If you want to see it i recommend you try adding it as a custom dimension.
I start an Ad campaign and whenever user clicks the Ad banner, he will be redirect to a URL like this:
mysite.com/?utm_source=ad3
Then in my Google Analystics, I defines a goal as:
mysite.com/goal.htm
Then how to associate the ad campaign with the goal so that I can know whether the goal is generated from the ad campaign?
When using manual campaigns utm_source, utm_medium and utm_campaign are required parameters, you should use all 3.
If you go into your traffic source reports you can select the Goal metrics to see how many goals are completed per traffic source. This is automatically done for your correctly manual tagged campaigns.