Vanity URL to Marketo landing page

Chris_Perez2
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)
7 REPLIES 7
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
 
Anonymous
Not applicable

Re: Vanity URL to Marketo landing page

here is the URL in question: http://REMOVED by chris
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...
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. 
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.
JithendranNehru
Level 1

Re: Vanity URL to Marketo landing page

Hi chris,

How can we create a vanity url in marketo?

Tags (1)
SanfordWhiteman
Level 10 - Community Moderator

Re: Vanity URL to Marketo landing page

Hi,

 

You should open a new thread in Products, as this thread is 6 years old!

 

In your new thread, make sure to explain exactly what you mean by "vanity URL."

 

Note you can add easy-to-remember URLs to Marketo and redirect them to more complex URLs, for example with UTM parameters attached. But Marketo does not generate easy-to-remember/unique URLs. You have to think up the URLs and add them in Admin.