-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Brave Ads not showing as landed / sustained in logs in certain cases #5607
Comments
After some investigation, I tracked the reason down to a recent change where if an ad has the same URL as an already opened tab. We now focus on the previously opened tab instead of creating a new tab so that we do not open duplicate tabs for the same ads. So here goes. If a user clicks an ad for www.brave.com and views this ad for 10 or more seconds, then a landed confirmation is triggered. If the user then clicks another ad with the same URL as the previously opened tab, then focus is shifted to that tab, and a landed confirmation is NOT triggered. The root cause for this issue is that if we focus on a tab that already exists the page content for that tab is not reloaded. We cannot begin sustaining from when a user clicked an ad as the page content could take longer than 10 seconds to appear. |
@LaurenWags This is a duplicate of #4026, can you please check and if so, can you close and link this ticket |
@tmancey can loop back to this after testing user wallets 👍 |
@LaurenWags Do you agree this is a duplicate of #5949? thank you |
Description
Found while testing #4798
Ads are not always showing as sustained / landed in the logs. Per discussion with @tmancey this is due 'to a recent change where if an ad has the same URL as an already opened tab. We now focus on the previously opened tab instead of creating a new tab so that we do not open duplicate tabs for the same ads.'
Steps to Reproduce
Generally,
Actual result:
Landed confirmation is not triggered since we shifted focus to an already opened tab and the tab is not reloaded. Per @tmancey 'We cannot begin sustaining from when a user clicked an ad as the page content could take longer than 10 seconds to appear.'
Expected result:
Landed confirmation is triggered (assuming ad interaction is sustained for 10s).
Reproduces how often:
unsure
Brave version (brave://version info)
Version/Channel Information:
Other Additional Information:
Miscellaneous Information:
The text was updated successfully, but these errors were encountered: