Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken channel attribution: no Paid Search #3264

Open
tsykin opened this issue Feb 23, 2025 · 1 comment
Open

Broken channel attribution: no Paid Search #3264

tsykin opened this issue Feb 23, 2025 · 1 comment

Comments

@tsykin
Copy link

tsykin commented Feb 23, 2025

Describe the Bug

When exploring website traffic per channels, it seems that Paid Search is being attributed to Direct or Organic Search.

Specifically, I use Google Ads with the following UTM (sampled values except for source & medium):

domain.com?utm_source=google&utm_medium=cpc&utm_campaign=12345&utm_source_platform=google_ads&gad_source=1&gclid=UTICj0XQLiA

This traffic is being recorded in Umami, but it's being attributed to the wrong Channel. Since source=google and medium=cpc, this traffic should be attributed to Paid Search channel, but I have 0 visitors from that Channel according to Umami's dashboard.

Oher tools, specifically Google Analytics 4 is identifying this traffic as:

  • source/medium = google/cpc
  • Defaul Channel Grouping = Paid Search

Here are some screenshots for clarity. Time range is the same between tools, no active filters.

Screenshot of Umami dashboard

Screenshot of GA4 dashboard

P.S. I know that GA4 is reporting 5+ times less users, my issue is specifically about Umami's broken channels attributions.

Code responsible for attributing traffic to a specific channel appears to be here:

umami/src/app/api/websites/[websiteId]/metrics/route.ts#getChannels

Database

PostgreSQL

Relevant log output

No relevant deploy logs found.

Which Umami version are you using? (if relevant)

v2.16.1

Which browser are you using? (if relevant)

Chrome

How are you deploying your application? (if relevant)

Railway

@tsykin
Copy link
Author

tsykin commented Feb 23, 2025

Upon further inspection, I noticed that even in the official Umami Demo Dashboard, there are no visitors from any Paid channel on the dashboard, despite the clear presence of paid traffic.

Umami Demo, query params report

Umami Demo, channels report

Specifically, there's traffic with these parameters:

utm_source=facebook&utm_medium=cpc&utm_campaign=website_analytics

However, this traffic is not being attributed to either the "Paid Social" or the "Paid Ads" channel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant