Codes
Codes adds CSS (appearance) or JavaScript (another service's script, such as a chat widget) to every page of your site. For Google Analytics, Tag Manager or the Facebook Pixel, use the marketing extensions instead, no code needed.
What do you want to do?
- Add a chat widget or a third-party script
- Adjust the look with CSS
- Ask Assistant Vivlab for the code
- Switch a code off without deleting it
- More situations: Website: common cases
Add a chat widget or a third-party script
For example Crisp, Tawk.to, Tidio, a heatmap or an unlisted ad pixel.
- Copy the service's install snippet (the full
<script>tag). - Click Create a code and name it ("Crisp chat").
- In Injection, choose JavaScript and the Code location the service asks for (usually In the head tag).
- Paste the snippet into the Code editor, then save.
The code loads across the site as soon as it's saved.


Adjust the look with CSS
The dashboard is shown in French, with English captions.
Read the video steps
- — In Codes, click “Create code”.
- — The snippet is active and uses CSS by default.
- — Click the name field, then enter Badge promo.
- — Click the editor and add a rule scoped to .promo-note.
- — The rule slightly adjusts the badge letter spacing.
- — Click “Save”.
- — The CSS snippet is saved and visible.
- — Badge promo appears as CSS with Visible status.
Create a code keeping CSS style and In the head tag, write your rules in the Code editor, then save. First, check whether the setting already exists in Logo, colors and fonts or the editor's style panel.
Ask Assistant Vivlab for code
In a code's form, click Code assistant and describe the result you want and the pages concerned: the assistant reads your pages to target the right elements. Review the code written in the editor, then save (nothing saves before).


Switch a code off without deleting it
Open the code and, in the Status card, turn off Enable / Disable, then save. It is kept, Inactive, and no longer loads. For several codes, tick them and use More actions (activate, deactivate, delete, export to CSV).
Good to know
- A faulty code can break the site (blank page, blocked scripts, broken forms). Test it; if a problem shows up live, disable it before fixing it.
- Cookie consent: these scripts load on arrival, outside Vivlab's cookie banner (which only covers the marketing extensions). If your tool sets cookies, use its own consent mechanism.
- Not a developer and your tool isn't listed? Open a Support request.
All settings
- Code description (optional): helps find the code.
- Code type: CSS style (in a
<style>tag,<link>tags accepted), JavaScript (in a<script>tag, full<script>snippet accepted) or Noscript (browsers without JavaScript). - Code location: In the head tag (styles, meta tags, tracking) or In the body tag (at the start of the page body).