Hi HN!<p>I've gotten a bit frustrated by going to `datadog.com` instead of `app.datadog.com`. I know that I could use a chrome extension to do this redirect for me (I do). But since this is a painful UX, I think that SaaS companies should do something to improve it for all of their users.<p>So I made `marketing-redirect`, a quick bit of HTML to put on a marketing page that lets customers get automatically redirected to the application they're already paying for:<p>https://github.com/elliotaplant/marketing-redirect<p>You can see an example of it in action here:<p>https://elliotplant.com/marketing-redirect/<p>Aside from just making the tools I use better, I'm brainstorming ways to monetize this. My best idea is to create a cloud service the help marketing teams remove or tag the page views from paying customers who visit their marketing page so their analytics software can exclude them as possible leads. I'd love to hear your feedback.<p>Thanks,<p>Elliot
I personally totally hate that idea. I hate it when I can’t open main page for the product to check on pricing, watch for new features or just show it to someone else. I just get redirected to the app and need to find a hacky way to go back.<p>What is the real problem here, in my opinion, is that the home pages of the apps are not even slightly focused on existing customers. Login buttons are small and hidden, or there’s even no login button at all (you need to go to sign-up and then use ‘I already have an account’ option).<p>I know that every app needs to grow, but already paying customers are also visiting your homepage. Don’t make them feel like they don’t matter to you.
This is useful as a reminder to make it easier for existing users to find your app.<p>Also, the marketing site being outside of reach of the app dev team is a real problem worth addressing with convenient snippets such as the linked solution.<p>That said, I'm still not convinced that an automatic redirect is a good idea.<p>I've had cases where I would like to refer someone to e.g. the pricing page (or a page I remember about a particular feature they need) on a SaaS marketing site, but had to open the marketing site in a new browser to find the link, because I keep getting redirected to the app while logged in. Someone else might have given up and the referral could have been less effective.<p>I propose rather updating navigation on your marketing site for logged-in users, making it easier to navigate to the app manually.
Target the people who use Wordpress for marketing, but otherwise have an app. They might pay $5 for this, especially if they are separate business silos. As long as it is super simple to use, this could be a decent non-technical solution to a technical problem.<p>The challenge is once someone technical is called in, they will realize that this is trivial, so making it possible for non-technicals to easily use (even if just telling them where to paste the code) is essential.<p>But yes, I have certainly had this annoyance in the past.
If you use this and it works then it's probably worth checking your site's Content-Security-Policy. Either you don't have one or you have it set to allow 'unsafe-inline' to allow inline scripts, and that is potentially quite a serious security problem.<p><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src#unsafe_inline_script" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Co...</a>
We redirect on login - the login link is available from either domain, and once you login the first time, we prompt to ask where you want to go in the future. Most people choose to be taken to the app, but some stick to the marketing site. And the link to your app is always in the main navigation once logged in.<p>It is fairly simple code, so I'm not sure this is a problem that needs a productized solution.
I've found a compromise to work well. Redirect all visitors from '/' but show all other pages as usual on the marketing site. Also, if someone has navigated to '/' from another page, don't redirect either.<p>This allows existing users to just enter the domain and get to the app, but also to browse the marketing site if they want.
Initially I thought this was a Chrome extension that <i>users</i> of these sites could install which would automatically redirect them from marketing.com -> app.com (maybe only when they have a login cookie?)<p>I think if you made such an extension, and maintained a redirect list yourself for popular SaaS sites, that could be a more viable business. It wouldn't be trivial to reproduce because it's dynamic; you're always adding to the redirect list and keeping it up to date. That's a real, small amount of boring work that can't easily be automated away and people might be willing to pay to outsource.<p>Good luck either way!
I don't understand why you can't type the address of the page you want to go to, or click a link to get there (or provide a link if you're the website owner)?<p>It looks like you're forcing people to go to a page other than the one you select, but that would be really crap, so it can't be that ... so what are you doing?<p>Makes no sense to me, but then I hate websites that want me to install a wrapper around a web renderer just so I can access content that's really only a website ... is that what's going on?<p>Really, no idea and the demo didn't make it clear why the behaviour was good?
I’ve wanted this for so long. We proxy our static marketing site just so we can check headers for auth and redirect you to the dashboard if you’re signed in.