microsoft / clarity

A behavioral analytics library that uses dom mutations and user interactions to generate aggregated insights.
https://clarity.microsoft.com
MIT License
2.1k stars 212 forks source link

Data discrepancy between Clarity and GA4 #303

Open chanduaki opened 1 year ago

chanduaki commented 1 year ago

Hi Team ,

We have integrated Google Analytics 4 (GA4) and Microsoft Clarity using Google Tag Manager (GTM) in our website. When we compared the data between the GA4 and Clarity, we observed that there is a discrepancy of 75% in sessions data and 60% discrepancy in users data, GA4 having higher count.

Could you please clarify if Clarity records all the sessions & all users data? Please note that our sessions count is <100,000 per day per project.

Kindly look into this issue further and resolve it at the earliest. Also, please let us know if we are missing anything.

Looking forward to hearing from you.

ClaritySupport commented 1 year ago

@chanduaki , Though the Google Analytics (GA) dashboard and Clarity dashboard is set to the same timeframe, you might have noticed different numbers in each dashboard. Please refer Why do I see different numbers in Google Analytics & Clarity? - Understand your customers | Microsoft Clarity Blog it will help you understand why there are discrepancies in the numbers.

chanduaki commented 1 year ago

Thanks for sharing the reference @ClaritySupport

Here we have checked the data for whole website between the clarity and GA4. Also, we have blocked internal iP Address in both GA4 & Clarity

In GA4 also, the session times out after 30 minutes of inactivity.

But unable to identify why the descripancy is happening between the GA4 & Clarity

Shall we schedule a call and resolve the issue at the earliest

Looking forward to hear from you

ClaritySupport commented 1 year ago

@chanduaki , Could you please send us an email to our support alias ClarityMS@microsoft.com with below details to investigate further.

1.Both GA and Clarity are confined to same website and webpages, meaning do they report data for same pages.

  1. What's the time range the data is compared, screenshot of both Clarity and GA with metrics. (Session's data and User data)
  2. Your GA account ID
  3. Clarity project ID with website address where Clarity installed.
chanduaki commented 1 year ago

Thanks @ClaritySupport

Does GA4 Account id and property id are required?

Because we have connect the GA4 & Clarity using GTM

ClaritySupport commented 1 year ago

Yes, please do share those details along with screenshots.

Thanks, Clarity Support Team Visit our docs!: https://docs.microsoft.com/en-us/clarityhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fclarity&data=05%7C01%7Cv-vidasa%40microsoft.com%7C343fe08f40a94e184c6408da28fedd21%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637867372409365494%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Q1zklwmipOGmVmg01HjPFwTVAwft75whSRoB8fFF%2BoY%3D&reserved=0 @.**@.> @.***

Confidentiality note: This e-mail, and any attachment to it, contains privileged and confidential information intended only for the use of the individual(s) or entity named in the e-mail. If the reader of the e-mail is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that reading it is strictly prohibited. If you have received this e-mail in error, please immediately return it to the sender and delete it from your system.

From: chanduaki @.> Sent: Wednesday, November 23, 2022 8:48 AM To: microsoft/clarity @.> Cc: Microsoft Clarity Support @.>; Mention @.> Subject: Re: [microsoft/clarity] Data discrepancy between Clarity and GA4 (Issue #303)

Thanks @ClaritySupporthttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FClaritySupport&data=05%7C01%7Cv-vikasd%40microsoft.com%7Cdafe8fa90d984f1bbd3e08dacd726e38%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638048188660102657%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=NhppGnQtMKrYbPyYs2ISXPQbuvM8QhTzwFBcIdZG%2BiU%3D&reserved=0

Does GA4 Account id and property id are required?

Because we have connect the GA4 & Clarity using GTM

- Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fclarity%2Fissues%2F303%23issuecomment-1325371633&data=05%7C01%7Cv-vikasd%40microsoft.com%7Cdafe8fa90d984f1bbd3e08dacd726e38%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638048188660102657%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=mF12Wt5G5kwLlPfMKmk7PB1MRGZ1u53gzHfBQ2G9urE%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAW5BXQ7ET37JPBFSTD4HZKLWJZDCVANCNFSM6AAAAAASDT2FPE&data=05%7C01%7Cv-vikasd%40microsoft.com%7Cdafe8fa90d984f1bbd3e08dacd726e38%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C638048188660102657%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=jW7nojowfx2tlZ4DS66i0bGwdx1driBu96H1c4U6HD4%3D&reserved=0. You are receiving this because you were mentioned.Message ID: @.**@.>>

chanduaki commented 1 year ago

Thanks you

I have sent an email with all the required details and given sheet access to the mail

dbartow commented 11 months ago

Did you ever resolve this? I just ran into this exact same thing - missing about 80% of pages and users in Clarity, despite both being set up in GTM on an all page views trigger. Doesn't make any sense to me.

panwar22 commented 10 months ago

I'm running into the same issue. Was this resolved?