Skip to content

[MKT-828]:feat/Unify analytics tracking around explicit payment intents#1938

Open
jaaaaavier wants to merge 12 commits into
masterfrom
feat/impact-tracking-services-ipdaye
Open

[MKT-828]:feat/Unify analytics tracking around explicit payment intents#1938
jaaaaavier wants to merge 12 commits into
masterfrom
feat/impact-tracking-services-ipdaye

Conversation

@jaaaaavier
Copy link
Copy Markdown
Contributor

@jaaaaavier jaaaaavier commented Apr 24, 2026

Description

Unified Tracking Identifier: Removed all subscriptionId caching and extraction from the checkout tracking layer useUserPayment.ts, ga.service.ts, impact.service.ts. Analytics now exclusively read and pipe paymentIntentId for both standalone purchases and recurring subscriptions.

Related Issues

Related Pull Requests

Checklist

  • Changes have been tested locally.
  • Unit tests have been written or updated as necessary.
  • The code adheres to the repository's coding standards.
  • Relevant documentation has been added or updated.
  • No new warnings or errors have been introduced.
  • SonarCloud issues have been reviewed and addressed.
  • QA Passed

Testing Process

Additional Notes

@jaaaaavier jaaaaavier self-assigned this Apr 24, 2026
@jaaaaavier jaaaaavier added the enhancement New feature or request label Apr 24, 2026
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 11, 2026

Deploying drive-web with  Cloudflare Pages  Cloudflare Pages

Latest commit: d7f5f69
Status: ✅  Deploy successful!
Preview URL: https://54663215.drive-web.pages.dev
Branch Preview URL: https://feat-impact-tracking-service.drive-web.pages.dev

View logs

@jaaaaavier jaaaaavier marked this pull request as ready for review May 11, 2026 08:38
@jaaaaavier jaaaaavier requested review from a team and xabg2 as code owners May 11, 2026 08:38
describe('trackSignUp', () => {
describe('gtag tracking', () => {
it('should send User Signup event to gtag', async () => {
it('When trackSignUp is called, then it sends User Signup event to gtag', async () => {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Avoid using technical descriptions. Describe what it does, not how it does (calling methods and this things), Same for the other descriptions

@jaaaaavier jaaaaavier requested a review from xabg2 May 11, 2026 10:39
xabg2
xabg2 previously approved these changes May 11, 2026
@sonarqubecloud
Copy link
Copy Markdown

@jaaaaavier
Copy link
Copy Markdown
Contributor Author

We've added a new feature to this PR: the irclickid track. This will help us improve sales tracking and attribution. It's a parameter included in the URL generated by Impact that may help us resolve some attribution issues we're currently facing.

@jaaaaavier jaaaaavier requested a review from xabg2 May 12, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants