Skip to main content
Skip table of contents

Head Tags

Head Tags are tags which are placed in the header of your website. Head tags are not visible to customers on your website and allow for 3rd party applications to work on your site. You can configure global head tags which load on every page or head tags can also be configured on the page level and only be included on that page.

Google Tag Manager

We recommend using a tag management solution like Google Tag Manager to add tags and 3rd party scripts to your store.

  1. Navigate to Google Tag Manager.

  2. Select the appropriate customer account.

  3. Copy the GTM key from Tag Manger.

  4. Paste this key into the Store Builder > Head Tags > Google Tag Manager Key.

  5. Select Save Tags.

Adding Tags

Sometimes it might be necessary to add custom tags outside of Google Tag Manager such as custom fonts or custom CSS styles.

  1. From your store menu navigate to Head Tags under Content.

  2. Select Add Tag.

  3. Select the type of tag you would like to add.

    1. meta

    2. link

    3. script

    4. noscript

    5. style

    6. title

  4. Select if the tag is external, hosted on another site, or if the file should be generated locally by checking the External checkbox. Applies to link, script and styles tags only.

  5. Enter the desired information and select Save Tag.

Custom Style Sheets

We recommend using a link head tag to include custom stylesheets as this will generate a file

  1. Create a new link head tag.

  2. Enter the name of the stylesheet for example “styles.css”

  3. Add your custom styles.

  4. Select Save Tag.

image-20250116-203928.png

Required Tags

The following tags are required for your store to display properly. By default required tags come with the store when creating a store from a store template.

link: Bootstrap REQUIRED

The Bootstrap CSS library is used to control the colors and visual elements of stores. By default Bootstrap styles are generated from https://bootstrap.build. See Look and Feel for more information on customizing the look and feel of your website.

Stores currently use Bootstrap version 4.6

link: Font awesomeREQUIRED

Link to Font Awesome icon library which is used to display icons throughout the site.

CODE
https://fa.mpowerpromo.com/css/all.min.css

Suggested Tags

title:

Default title for all pages in the store if a page title is missing.

description:

Default descriptions for all pages in the store if a page description is missing.

meta: content-language

Adding 3rd Party Javascript Libraries

We recommend using Google Tag manager to manage 3rd party javascript libraries.

If you need to add a 3rd party javascript library that can’t be added through Google Tag Manager you can can add one to the stores head tags or a specific pages head tags. Its better to narrow the scope of the tag you are including to just the page its used on vs the entire website to reduce the amount of data the client must download on every page.

See How can I add live chat to our site? or review the example below.

Example of a script which might be provided to you.

CODE
<div id="yourscript"></div>
<script async defer scr="https://yourscript.com/goeshere.js">

Add Script

  1. Navigate to Store Builder > Pages > Your Page > Head Tags to add this script to all your pages or Store Builder > Pages > Your Page > Head Tags to add this script to a specific page.

  2. Select Add Tag.

  3. Select Script.

  4. Enter a Description.

  5. Select the External checkbox.

  6. Paste your scripts URL into the Src field.

  7. Select Defer.

  8. Select Save Tag.

Example

Update HTML

  1. Paste the 3rd party library excluding the Script tag we just added in the previous step into your page html or into a global component like the footer.

Example HTML

CODE
 <div id="your_library_code_without_script"></div>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.