github internxt/drive-web v1.0.610

6 hours ago

Description

This PR implements the begin_checkout event tracking for Google Analytics to capture user interactions when they reach the checkout page.

Changes:

  • Created new analytics service (ga.service.ts):

    • Added trackBeginCheckout() method that sends begin_checkout event to Google Tag Manager
    • Implements proper event structure with items array following GA4 ecommerce standards
  • Updated checkout flow:

    • Integrated gaService.trackBeginCheckout() call in CheckoutViewWrapper component
    • Fires begin_checkout event when checkout page loads with selected plan data

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

Don't miss a new drive-web release

NewReleases is sending notifications on new releases.