mozilla-rally / facebook-pixel-hunt

Mozilla Public License 2.0
6 stars 4 forks source link

point rallySite to stage #146

Closed rhelmer closed 2 years ago

rhelmer commented 2 years ago

This is the URL the extension will use to try to run onboarding if it's not logged in. I think the /studies endpoint is the right one to use, because it will look for any already-open pages you have, so if the user logged onto the website first and installed the extension, it'll jump them right back.

If the user installed the extension first and hasn't logged into the website yet, then the site will automatically redirect to the signup URL.

The one thing we need to double-check is that the content script gets loaded correctly in the first onboarding flow, it might require a reload of that tab to get it to load - in that case we are probably better off loading a new tab and not trying to find + jump to the user's existing tab.

rhelmer commented 2 years ago

Made this part of https://github.com/mozilla-rally/facebook-pixel-hunt/pull/142