We sometimes purchase vanity URLs to some of our MKTO landing pages, and they have worked fine in the past, but we ran into an issue with our latest iteration which is using a mobile optimized landing page template. When the redirect occurs it displays the desktop version of the page on mobile devices, instead of the mobile version. This does not occur when going directly to the MKTO landing page URL, just when accessing the page via the redirect. We've reached out to the registrar and they said that it isn't something that they can help with. Does anyone know why this might be occurring/how to resolve it?
The problem you're seeing is because your landing page template has meta viewport setting that is restricting mobile browsers to render the page as if it has 640px width. <meta name="viewport" content="width=640, user-scalable=no"> For a responsive page, you'd probably want a viewport more like: <meta name="viewport" content="width=device-width, initial-scale=1.0"> That will set the width of the page to the width of the device, so that it scales based on the device size.
Did you know that Marketo has recently introduced new mobile specific editor and mobile compatibility mode that automatically does this for you? You can get started by making your templates mobile compatible in the template editor. If you go this route, you'll also probabably want to remove any meta viewport and CSS media queries in your templates, and let the Marketo Landing Page editor take care of it.
Thanks Ian. The solution you provided unfortunately didn't work, but I believe I have narrowed the issue down to the registrar framing the page because the URL is masked. I don't know if there is any coding within the template we are using that will resolve that, and the client wants the URL masked.
Yes, looking at code for the outer frame that is doing the url masing for your page, that outer frame doesn't have a meta viewport tag at all. You'll need to get the same meta viewport tag in the outer frame as is in your actual landing page, or else the outer frame will force it to behave like a desktop browser.