GA4 campaign and session campaign data Joining question
I have a unique question… some context:
I have a dataset from the Google Analytics 4 connector that has 5 columns that I am grouping by with one of those group by columns being the 'campaign' dimension. The other dataset in the join has 4 of the same columns but the fifth one is a 'session campaign'. The two datasets are different in the fact that one has 14 columns that sum the different conversions for all the different iterations of the group by, and the other has these metrics: Pageviews, engaged sessions, conversions, total users, avg. session duration, and user conversion rate. The Group By 2 is the one with the metrics, Join Data 2 is the one with 14 conversions.
Does anyone have any idea if the session campaign being different from the campaign cause an issue with Joining? I am getting some missing data when I try to join the two. 78% of the values for campaign and all of my conversions form Join 2 dataset are null after the join in the Horizontal dataset. Any ideas on what might be causing so much of the datset to be null after the join?
One theory I have is that there are 110 unique values in the session campaign column while there are only 31 unique values in the campaign column. Maybe the nulls are happening because the 110 unique values outnumber the 31 so all it can do is populate null values where the 31 values don't have a similar string to join on simply because it can't? Am I thinking about ths right?
Best Answer
-
@jakebutterfield You are correct that nulls are populating after the join because the right table has fewer unique values in the Campaign field than the Session Campaign field in the left table. Left joins return all rows from the table on the left, regardless of whether it matches any rows in the right table. If a match is not found, then the output columns from the right table will be null.
I'm not familiar with Google Analytics data, but I would suggest reviewing your connector settings and upstream dataflows to make sure there are no other reasons why there are so fewer "Campaign" values than "Session Campaign"
1
Answers
-
I know Google's API is the limiting variable here, but I wish I was able to select more than 10 dimensions and 9 metrics using the connector. Additional question, does anyone know of any better ways to import GA4 data to Domo than the Google Analytics 4 connector?
0 -
@jakebutterfield You are correct that nulls are populating after the join because the right table has fewer unique values in the Campaign field than the Session Campaign field in the left table. Left joins return all rows from the table on the left, regardless of whether it matches any rows in the right table. If a match is not found, then the output columns from the right table will be null.
I'm not familiar with Google Analytics data, but I would suggest reviewing your connector settings and upstream dataflows to make sure there are no other reasons why there are so fewer "Campaign" values than "Session Campaign"
1
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 297 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 614 Datasets
- 2.2K Magic ETL
- 3.8K Visualize
- 2.5K Charting
- 729 Beast Mode
- 53 App Studio
- 40 Variables
- 677 Automate
- 173 Apps
- 451 APIs & Domo Developer
- 45 Workflows
- 8 DomoAI
- 34 Predict
- 14 Jupyter Workspaces
- 20 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 121 Manage
- 118 Governance & Security
- Domo Community Gallery
- 32 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive