Menu
Menu Sheet Overlay
Search
Search Sheet

Mobify Tag Installation

    In order to preview or publish your Progressive Web App, you’ll need to add the Mobify tag to your site’s source code. The tag is a snippet of HTML and JavaScript that loads Mobify onto your web pages

    The tag for your project is available via your project’s Tag page on Mobify Cloud.

    Before you begin #

    You will need:

    Installation #

    Copy the Mobify tag

    The tag is a sequence of HTML and JavaScript. The tag for your project is available via your project’s Tag page on Mobify Cloud. Copy all the text in the tag without making any changes to it.

    Paste the Mobify tag

    Paste the tag into the <head> of each web page, immediately after the opening <head>. You will probably be pasting the tag into a template file that will be used to generate web pages rather than a directly on the pages themselves – or maybe you will need to paste the tag into a mix of templates and web pages.

    Check tag placement

    Once the tag is in place, save the files you edited in the last step. Navigate to the URL you’re attempting to validate in your browser, view source and search for MOBIFY. You should see the Mobify tag where you pasted it into the page, immediately after the <head> tag.

    If you don’t see the Mobify tag and you’re using a content management system, you may have to flush the cache or rebuild pages before the tag will appear. Consult the documentation for your content management system for instructions.