extra.total_users is the number of distinct users Google Analytics 4 saw on a row, and extra.new_users is how many of them GA4 saw for the first time. etlmcp reads them from the GA4 Data API's totalUsers and newUsers metrics, one value per day, session campaign and session source / medium. They are counts of distinct people, not of events, so you cannot add them across days or campaigns: one person who visits on Monday and Tuesday is one user on each day's row, and two if you sum the rows. etlmcp's group transform does not sum them.
What Google counts
- Total users. GA4 defines this as the distinct users who logged at least one event in the period, whether or not the site or app was in active use when the event fired.
- New users. These are users whose first interaction GA4 recorded in the period, which it marks with a
first_visitevent on the web or afirst_openevent in an app.
Google notes that new users and active users do not exceed total users for the same request, though thresholding can produce small differences. A weekly total from GA4 is its own distinct count, not the sum of seven daily ones.
How etlmcp fills the columns
- One value per row. Each GA4 row is a date, a session campaign and a session source / medium, and both columns hold GA4's distinct count for that combination.
- Marked as not additive. The GA4 connector declares both columns as non-additive, and its column description tells you not to add them up.
- Empty after a rename. When one campaign id appears under two names on the same day, etlmcp merges the two rows under the first name and sums the additive columns such as sessions. It leaves the user columns empty on that merged row, since one person may sit in both halves.
What the group transform does
A group rule in a pipeline's transforms combines the numeric extra columns of the rows it merges with the aggregate you choose. etlmcp keeps a fixed list of extras that count each person once: reach, total_users and new_users. The group step skips those three whichever of sum, avg, max or min you pick, so a grouped row carries no user count rather than a wrong one. A column you group by is kept as a key, not aggregated.
Getting a correct total
For users over a week, a month or a whole campaign, ask GA4 for that range directly rather than summing etlmcp's daily rows. Ratios built on users, such as new users as a share of total users, are safe on a single row, because both numbers come from the same distinct count. Across several rows, treat any summed user figure as an upper bound, not a count of people.