Skip to content
Submi

Submi / Documentation / The badge, with or without

The badge, with or without

Some directories publish your listing only when their badge is on your site. One piece of code covers all of them, or you can go without.

Some directories publish a listing only when the product's site shows their badge. Badge Sync is one short piece of code that carries the badge of every such directory in your campaign, so you paste it once. When directories are added to your campaign, the badges update by themselves.

It is optional. Without it we use directories that do not ask for a badge, and your target stays the same. You choose on setup step 2, and you can change your mind later from Badge Sync in the sidebar.

  1. 1

    Look at the preview

    The top of the page, How your badge looks, draws your real badges as they will appear. It starts on the recommended look, a small scrolling strip.

  2. 2

    Customize appearance, if you want

    Open Customize appearance to change the look. Visibility, layout, size and alignment are written into the first line of the code; Theme only changes the preview.

    SettingChoices
    VisibilityVisible, or Hidden. Hidden keeps the links in your page but shows nothing. Some directories remove a listing whose badge is hidden.
    LayoutRow, or Scrolling.
    SizeSmall, Medium, Large, or Text (names without images).
    ThemeShows the preview on a light or dark background, so you can judge it against your footer. It does not change the code.
    AlignmentLeft or Centre, for a Row.
  3. 3

    Choose your website platform

    Under Add it to your website, pick your platform: Any website (HTML), WordPress, Webflow, Shopify, Wix, Squarespace, Framer, Ghost, Next.js, React, Vue or another app, or Lovable, Bolt, v0 or Replit. The steps and the code change to match.

  4. 4

    Copy the code

    Press Copy code. The box shows the first line, a line of dots standing for your directory links, and the closing lines; Copy code copies all of it, dots included. Paste it exactly as it is. For Lovable, Bolt, v0 or Replit you press Copy message instead: a message for your builder's chat with the code inside it.

  5. 5

    Put it in the site-wide footer so it is on every page: directories may check any page of your site, not only the home page. Do not use an embed, iframe or HTML element box, because directories cannot see inside it.

    Where the code goes, by platform
    PlatformWhere to paste it
    Any website (HTML)In the file or template that holds your footer, inside the footer or just before the closing </body> tag. Save and publish the changed file.
    WordPressAppearance → Widgets, then a Custom HTML block in the footer. On a block theme: Appearance → Editor → Patterns → Footer. With Elementor: Templates → Theme Builder → Footer, then an HTML widget. No footer area, or WordPress.com without custom code: the Footer box of the WPCode plugin.
    WebflowSite settings → Custom code → Footer code, then publish to your domain. Custom code needs a paid site plan.
    ShopifyOnline Store → Themes → Customize, select the Footer section, Add block → Custom Liquid. No Custom Liquid block: Edit code → layout/theme.liquid, just before </body>.
    WixSettings → Custom code (under Advanced) → Add custom code, All pages, place Body - end, then publish. Needs a paid plan with your own domain. Do not use the Embed HTML element.
    SquarespaceSettings → Advanced → Code injection → Footer. Needs a plan that allows custom code.
    FramerSite settings → General → Custom code → End of <body> tag, then publish. Do not use an Embed component.
    GhostSettings → Code injection → Site footer.
    Next.jsThe import line at the top of your footer component (or app/layout.tsx), and the <div> block and the <Script> line inside your footer. Then deploy.
    React, Vue or another appThe <div> block, with every link inside it, in your shared footer component; the <script> line once in index.html, just before </body>. Then build and deploy.
    Lovable, Bolt, v0 or ReplitSend the copied message in your builder's chat, check that the badges show in the preview's footer, then publish to your domain.
  6. 6

    Check my site

    Open your live site in a browser once, then press Check my site. We read your page, and the badge also reports itself when it loads. When it is found, the page says Submi can see the badge on your website. If it says some directory links are not in your page's HTML yet, copy the code again and replace what is on your site, so directories that read only HTML find them.

    • The change is only in a preview or draft. Publish it to your live domain.
    • Part of the code was left out. Copy it again with the button and paste all of it, including the links between <div> and </div>.
    • It went into an embed, iframe or HTML element box. Directories cannot see inside those; use the site-wide footer or custom code setting.
    • The editor pasted it as text, so the code itself shows on your page. Use the code, HTML or custom code option instead.
    • A cache is serving the old page. Clear your site or plugin cache, open the site once, and check again.

    Still not found?

    Email hello@submi.io with your site address and we will look at it.

  7. 7

    Continue with the badge

    During setup, Connect badge to continue runs the same check. Once the badge is found the card says Badge connected, names the directories it unlocks, and Continue to directories takes you to step 3.

  8. 8

    Or continue without it

    Press Continue without a badge, under the card. A dialog confirms that your target stays the same and that directories which require the badge are replaced with alternatives. Press Continue without it. Any badge directories already in your selection are taken out, and the open places are filled by you or at Start.

  9. 9

    Change your mind later

    Badge Sync in the sidebar has the same page after setup. If you went without the badge and add it later, press Check my site, then Use the badge: badge directories become available for places that open up. If you have the badge and choose Remove badge and continue without it, badge directories that have not been sent yet are swapped for ones that do not need it.

Questions

What happens if I remove the badge after my campaign starts?
We check your site every six hours. If the badge is gone we email you, wait 48 hours, then swap the badge directories not sent yet for ones that do not need it. Live listings stay, though a directory may remove one at its own check.
New directories were added to my campaign. Do I paste the code again?
No. The badge picks up new directories by itself. If Check my site says some links are not in your page, copy the code again and replace the old one.
Why does the code carry a link for every directory?
Some directories check your page without running JavaScript. The links written into the code are what they see. The script keeps the block current for everyone else.
Does the badge hold up my page?
The script line loads with async, so your page does not wait for it.
Can I hide the badge?
Yes: Visibility, Hidden. The links stay in your page and nothing shows. Some directories remove a listing whose badge is hidden, so Visible is the safer choice.

Still stuck? Email hello@submi.io. A person reads every message.