Menu

Preview Troubleshooting

Solutions to challenges in preview sessions.

Mobify's Preview service, preview.mobify.com, allows you to load bundles before they are published, including loading a local bundle from a Adaptive.js development server, all without changing the Mobify Tag!

To use Preview to load a bundle, browse to preview.mobify.com and enter a Site URL and Bundle Location.

The Site URL is the location of the website where you are using Adaptive.js. The Mobify Tag must be present on the webpage to begin the session.

The Bundle Location is the URL of the Adaptive.js bundle to load. This may be either a bundle pushed to the Mobify Cloud, or a bundle loaded from your local development computer.

Press "Preview" to begin your preview session!

Solutions to Common Challenges

The desktop site shows after starting a preview session

Ensure that the Mobify Tag is present in the HTML of the webpage. Be aware that servers may return different HTML depending on your browser's User Agent, IP or cookies.

Ensure the Site URL does not redirect to another webpage. For example if site.com redirects to www.site.com, the session will not start successfully. Enter the final URL you are redirected to in the Site URL field.

The preview session exits after a page refresh or page tranisition

Ensure cookies or other settings are not being reset between pages. If the issue persists, navigate to preview.mobify.com and start a new session.

The preview session exits after opening the developer tools

Sessions are linked to your browser's IP address and User Agent. If either changes, start a new session. Navigate to preview.mobify.com and start a new session.

A blank page appears after starting a preview session

If you are loading a local bundle from an Adaptive.js development server and you visit a HTTPS page during your session you must accept insecure resources in Chrome's address bar:

Security Certificate in Chrome

A security warning appears after starting a preview session

If you are loading a local bundle from an Adaptive.js development server and you visit a HTTPS page during your session, you must enter a HTTPS URL in the Bundle Location field. Navigate your browser directly to the HTTPS Bundle Location eg. https://localhost:8443/adaptive.js and accept the security warning. Next, navigate to preview.mobify.com and start a new session.

Edit in GitHub