Repository navigation
Revenue Analytics Feature #2074
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
Merged
Merged
Changes from all commits
Commits
Show all changes
117 commits
Select commit
Hold shift + click to select a range
c8db500
feat(analytics): Top Products REST proxy with WooCommerce hydration
subodhr258 dca47f5
feat(dashboard): Top Products RTK endpoint + table component
subodhr258 3167e13
feat(dashboard): Woo-gated Top Products tab beside Top Videos
subodhr258 845889c
style(dashboard): segmented Top tabs + Source chips
subodhr258 4a1daa7
fix(dashboard): tabs in the table head, drop redundant title and the …
subodhr258 4bc995c
style(dashboard): match Figma tab switcher (dark active text, not acc…
subodhr258 0a0bba1
fix(dashboard): keep Revenue as an empty column (no 'Phase 2' text)
subodhr258 e4f1619
fix(top-products): translate the Product ID name fallback
subodhr258 6f046d3
feat(top-products): grey out in-video adds for products that can't be…
subodhr258 f647b40
feat(video-to-cart): dashboard Video-to-Cart card
subodhr258 c9aabf9
feat(video-to-cart): per-video Video-to-Cart card + share card location
subodhr258 cbceff9
test(video-to-cart): add data-test-id hooks to the VtC card
subodhr258 d7a9bc2
fix(video-to-cart): Woo-gate the card + hide it when the metric is un…
subodhr258 9ebe573
fix(analytics): per-video card sub-labels follow the range picker, no…
subodhr258 5a76a4a
test(top-products): CSV-injection guard, Video-to-Cart null-vs-zero, …
subodhr258 a8fe87f
fix(video-to-cart): stack the in-video / via-product-page split onto …
subodhr258 9c9e1f5
fix(dashboard): de-cramp Insights row + Video-to-Cart card polish
subodhr258 ff4409c
fix(video-to-cart): compact card - rate beside the count, split on on…
subodhr258 0747177
feat(top-products): make the product title a link to the product page
subodhr258 58c69d5
test(top-products): cover the Source chip label mapping
subodhr258 d0b2b35
Video to Cart card: show total + rate only, drop the direct/assisted …
subodhr258 3fae452
Gate Top Products + Video to Cart on the paid Woo add-on, not just Wo…
subodhr258 b78191e
Render actual revenue in TopProductsTable from analytics service (#2086)
mayan-000 6fa5422
feat(dashboard): single-currency Revenue KPI card + base_currency proxy
subodhr258 4dbbf5d
feat(analytics): show per-hotspot Direct revenue in the layer panel
subodhr258 f842135
test: per-hotspot revenue mapping in groupRows
subodhr258 2e8f155
feat(analytics): show Influenced revenue in Top Products (Sub-task D)
subodhr258 3e2a467
feat(analytics): per-video Revenue card on the single-video page (Sub…
subodhr258 49fbb06
fix(analytics): show 'No data' for a product with null revenue (F FIX 2)
subodhr258 964cf13
feat(analytics): show per-placement revenue split in Top Products (F …
subodhr258 335bede
feat(analytics): show comparative revenue tips on the per-video page …
subodhr258 ed96e90
feat(analytics): Video-to-Purchase card in the Insights rows
subodhr258 8833082
feat(analytics): per-video Purchase Funnel card
subodhr258 306df13
feat(analytics): redesign Purchase Funnel as Play to Cart to Purchase
subodhr258 a59f73a
feat(analytics): Funnel by placement card on the dashboard
subodhr258 6eb995d
fix(dashboard): surface proxy errors, currency-exact revenue, safe CS…
subodhr258 d1fff7c
fix(analytics-ui): correct funnel share label, defensive clamps, hone…
subodhr258 963ef06
style(analytics-ui): rename funnel to 'Purchase Funnel', add dashboar…
subodhr258 628851e
feat(analytics-ui): detailed Video-Attributed Revenue card
subodhr258 11f5f25
feat(analytics-ui): match VtC/VtP subtitle copy to the design
subodhr258 37272cc
feat(analytics-ui): trend badges on VtC/VtP/Revenue + own row for VtC…
subodhr258 880c256
feat(analytics-ui): Top Products i-icons + Direct/Assisted revenue split
subodhr258 4324e99
Merge remote-tracking branch 'origin/feat/top-products' into feat/pha…
subodhr258 0c81ae1
feat(analytics-ui): distinguish Video Woo Layer from Image Woo Layer …
subodhr258 9398a61
feat(analytics-ui): capture image-block hotspot interactions
subodhr258 ebe7331
fix(analytics-ui): image hotspot impressions + mixed-page block_source
subodhr258 ae30853
fix(analytics-ui): hide Video-Attributed Revenue card on null revenue…
subodhr258 bc9d806
fix(analytics-ui): capture-runtime tests + three display-correctness …
subodhr258 c143569
feat(analytics-ui): CSV export mirrors the Top Products table exactly
subodhr258 7bc912e
fix(analytics-ui): headline revenue equals Direct + Assisted when the…
subodhr258 81f8a53
docs(analytics-ui): note the Top Products sort params are reserved fo…
subodhr258 1f803e5
fix(analytics-ui): group thousands in Top Products order/reach counts
subodhr258 139c408
fix(analytics): require upload_files to read revenue-bearing analytic…
subodhr258 833f900
feat(analytics): add info tooltips to every Top Videos column
subodhr258 ae002b5
ci: run JS unit tests on feat/** pull requests
subodhr258 ca4e224
Merge pull request #2090 from rtCamp/feat/phase2-woo-analytics-ui
subodhr258 c5bd3f6
feat(dashboard): GA4 connection widget (#2097)
mayan-000 b7aec61
Dashboard: use toggle buttons for Top tabs and restore Engagement Rat…
subodhr258 9495fbd
Top Products: harden CSV escaping and distinguish load error from empty
subodhr258 cc0fbe9
Top Videos: harden CSV escaping for LF and CR
subodhr258 01f633b
PlacementFunnelCard: surface a hard query error, not just the soft shape
subodhr258 63b826a
RevenueCard: gate the split bar and Direct/Assisted labels on hasSplit
subodhr258 0f426c5
VideoToPurchaseCard: label the count as purchasers, not orders
subodhr258 b4122ad
Analytics proxy: validate placement-funnels range and reject 200-with…
subodhr258 db518ae
Merge remote-tracking branch 'origin/develop' into fix/pr2074-review-…
subodhr258 38754f4
test: cover proxy non-2xx/400 error paths and TopProductsTable error …
subodhr258 82b23d7
fix(dashboard): surface range-query errors in-place instead of vanish…
subodhr258 ad2fde7
fix(dashboard): harden Top Videos export, error state, chart tooltip,…
subodhr258 a8d8878
feat(dashboard): restore per-card date-range pickers, reconciled with…
subodhr258 71a3d16
fix(dashboard): surface per-card HARD query errors; Top Products base…
subodhr258 6c51230
Merge remote-tracking branch 'origin/develop' into godam-2074-sync
subodhr258 ce5e507
i18n: regenerate godam.pot to match a fresh prod build (#2074)
subodhr258 c8a2505
Merge branch 'develop' into feat/top-products (sync #2074 with latest…
subodhr258 46fd85c
feat(dashboard): add "Show deleted products" toggle to Top Products
subodhr258 8787f3a
feat(analytics): add date-range picker to single-video Revenue and Pu…
subodhr258 e960974
fix(analytics): correct Video-to-Cart subtitle wording
subodhr258 e6314b7
feat(analytics): rename the layer-interaction metric from Conversion …
subodhr258 0595c18
fix(analytics): label GA4 widget counts as events
subodhr258 dcfcd9f
fix(analytics): rename single-video Placements 'Views' to 'Unique Views'
subodhr258 e8f42ef
fix(analytics): note distinct-visitor basis on Funnel by placement
subodhr258 5a84b09
fix(analytics): keep layer funnel in the wide column beside the rail
subodhr258 b1fe3e4
fix(analytics): move per-hotspot revenue to a tooltip so the name fits
subodhr258 3a4ea71
fix(analytics): flush Top Products/Top Videos id caches on content ch…
subodhr258 123bf62
fix(dashboard): bracket the faded rate next to Top Products counts
subodhr258 3b2b11a
fix(analytics): label the Placements plays stat "Total Plays"
subodhr258 dd1d731
fix(analytics): show "<1%" for sub-1% countries in Views by Location
subodhr258 853fa7d
fix(analytics): drop the redundant single-video date pickers
subodhr258 1c7a999
fix(analytics): send single-video Back to the Dashboard when entered …
subodhr258 17b3bbd
fix(analytics): consistent default range and preset labels
subodhr258 e12e2b5
fix(analytics): fix Playback Performance tooltip colours, order, date…
subodhr258 703c982
fix(analytics): focus the active preset when the range menu opens
subodhr258 79a3906
feat(analytics): give single-video Revenue and Purchase Funnel their …
subodhr258 21fefad
fix(dashboard): vertically centre the GA4 status tooltip icon
subodhr258 2e7377a
fix(analytics): label Video-to-Purchase rate 'unique viewers who played'
subodhr258 d94740d
Merge branch 'develop' into feat/top-products
subodhr258 52e135f
fix(analytics): silence attachment-lookup coverage false-positive in …
subodhr258 545e17f
test(analytics): match Video-to-Cart card test to shipped subtitle copy
subodhr258 f40f84f
i18n: regenerate godam.pot for Top Products + Video-to-Cart + revenue…
subodhr258 e179a9e
Merge branch 'develop' into feat/top-products
subodhr258 c01b21c
i18n: regenerate godam.pot after develop merge
subodhr258 d5348b9
i18n: keep godam.pot aligned with develop (regenerate at release, not…
subodhr258 067bbf1
chore: prep v2.3.0 (version bump + changelog)
subodhr258 f5a7ba7
fix(analytics): funnel hover tooltips, Purchased tier split, docs lin…
subodhr258 84a9cb4
fix(dashboard): show full Top Videos / Top Products titles in a WP To…
subodhr258 fbbe1a1
fix(dashboard): use a native title tooltip for truncated Top Videos /…
subodhr258 3e9ad29
fix(dashboard): decode HTML entities in Top Videos / Top Products titles
subodhr258 de02d2d
fix(analytics): decode img alt entities; drop zero-count funnel segments
subodhr258 674beb6
fix(analytics): funnel hover tooltips, Purchased tier split, docs lin…
subodhr258 0958f1d
fix(analytics): create window.analytics on image-only pages
subodhr258 b5205ce
fix(analytics): look up Top Products outside the media-site switch
subodhr258 b96faa2
docs: correct the v2.3.0 changelog and restore the v2.2.4 entry (#2140)
joelabreo227 88f1ba5
fix: correct 2.3.0 copy and two broken godam.io links (#2141)
joelabreo227 5c11b72
fix(analytics): create no visitor id on pages that send no analytics
subodhr258 1b3ead3
fix(analytics): visitor id on image-only pages so in-image sales earn…
subodhr258 4a2da36
Merge branch 'develop' into feat/top-products
subodhr258 644f20b
test: one set of HTTP stubs for PHPUnit, pin the Jest locale to en_US
subodhr258 6327b73
chore: regenerate languages/godam.pot after the develop merge
subodhr258 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,6 +3,7 @@ on: | |
| branches: | ||
| - develop | ||
| - main | ||
| - 'feat/**' | ||
|
|
||
| name: JS Unit Tests | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keeping the on-render emit for this release. It is deliberate: a still image has no play or visibility transition to hang the impression on. Your point stands that an image below the fold or in a hidden tab still counts an impression, which loosens the CTR and add-to-cart denominator versus the video path (which emits on playback reaching the layer). Gating the emit behind an IntersectionObserver (emit once on first intersection, disconnect on teardown) is a tracked follow-up, not this release.