Vanity URL to Marketo landing page

Highlighted
Level 3

Vanity URL to Marketo landing page

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? 
 
Chris
Tags (1)
5 REPLIES 5
Highlighted
Anonymous
Not applicable

Re: Vanity URL to Marketo landing page

Hi Chris,
Can you share a landing page URL that is exhibiting the problem so that we can take a look?  The problem you're describing isn't something that we've seen before.

--Ian
 
Highlighted
Anonymous
Not applicable

Re: Vanity URL to Marketo landing page

here is the URL in question: http://REMOVED by chris
Highlighted
Anonymous
Not applicable

Re: Vanity URL to Marketo landing page

Hi Chris,

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.

You can learn more about it here:
https://docs.marketo.com/display/DOCS/Add+a+Mobile+View+for+Your+Landing+Page
https://docs.marketo.com/display/public/DOCS/Make+an+Existing+Landing+Page+Template+Mobile+Compatibl...
Highlighted
Anonymous
Not applicable

Re: Vanity URL to Marketo landing page

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. 
Highlighted
Anonymous
Not applicable

Re: Vanity URL to Marketo landing page

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.