Commit Graph

9 Commits

Author SHA1 Message Date
lidarbtc
232507e1ff fix: Correct CTR calculation in InsightStats component
The CTR calculation was incorrectly summing up individual CTR values,
resulting in inflated percentages. Now calculates CTR properly by
dividing total clicks by total impressions.

Previous Implementation:
- CTR was calculated by adding up individual CTR percentages
- This resulted in artificially high CTR values
- For example: [10%, 15%, 20%] => 45% (incorrect)

New Implementation:
- CTR is now calculated using (total clicks / total impressions) * 100
- This provides the actual click-through rate across all data
- For example: (50 clicks / 1000 impressions) * 100 = 5% (correct)

This fix ensures accurate CTR reporting in the analytics dashboard.

Changes:
- Removed CTR accumulation from reducer
- Added proper CTR calculation based on total clicks and impressions
- Maintains better statistical accuracy in reporting
2024-10-26 21:33:31 +09:00
towfiqi
50160f5b23 fix: Resolves minor UI bugs.
- Fixes update time of the keywords table is not aligned correctly in desktop.
- Fixes Content layout shift caused by the Domain Header absence.
- Fixes Footer causingpage scrollbar to appear.
2024-03-02 21:23:25 +06:00
towfiqi
e2ecdef10e Chore: Fixes Typo 2024-02-03 10:15:07 +06:00
towfiqi
4a47cedad8 refactor: improves Performance & Code Readability
- Replaces useEffet with useMemo & useLayoutEffect where necessary.
- Converts some useEffects to separate hooks.
- Moves the functions defined within components to utils.
- Splits the Keywords renderPosition function to its own component.
2024-01-13 10:10:49 +06:00
towfiqi
60c68bd339 feat: Adds ability to visit pages from Insight tab 2023-11-11 11:42:14 +06:00
Martin Silha
dce7c412e8 fix(components): fix typo "Goolge" -> "Google" 2023-03-16 21:44:59 +00:00
Towfiq
ca0dcfc492 chore: fixes typos 2022-12-21 07:47:04 +06:00
Towfiq
89824ece23 fix: Minor UI Issues. 2022-12-20 21:52:55 +06:00
Towfiq
49b4769528 feat: integrates Google Search Console. 2022-12-20 13:24:29 +06:00