Ads page - #3
Merged
Merged
Conversation
…er functionality; remove old favicon
|
Visit the preview URL for this PR (updated for commit 1f04cd1): https://doctorina-pages--pr-3-zyqzzgtv.web.app (expires Wed, 21 Jan 2026 14:37:54 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 9cce88f2a7a5916aaad58a2b37340f46f15c32e8 |
… viewing; implement close button functionality
… accessibility and progress tracking
…dation for callback URL
… starts successfully
…on handling for enhanced analytics
…re after video completion
…r video completion
- Added utility functions `extractStripeSuccessParams` and `formatStripeSuccessLog` to handle extraction and logging of parameters from the Stripe success page URL. - Updated `main.ts` to utilize the new utility functions for cleaner code and improved readability. - Introduced comprehensive tests for parameter extraction and logging in `utils.test.ts`. - Created a new configuration file for Vitest to facilitate testing in a jsdom environment.
…ctStripeSuccessParams
… 'environment' fields
…g event propagation
…ing event handlers and preventing overlay clicks from affecting video player
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Callback metadata:
{ "session": "abc123", "videoId": "Dyth2OnlD-o", "page": "ads", "videoUrl": "https://www.youtube.com/watch?v=Dyth2OnlD-o", "completedAt": "2025-12-23T12:50:18.578Z", "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36", "platform": "Windows", "language": "en-US", "screenResolution": "3440x1440", "viewportSize": "1920x1242", "timezone": "Asia/Tbilisi", "referrer": "direct", "deviceMemory": 8, "hardwareConcurrency": 24, "watchDuration": 141, "seekAttempts": 0, "pauseCount": 1, "wasTabActive": false, "maxWatchedTime": 137 }