Skip to main content

Snippets

Snippets are small blocks of HTML code that you can insert into your web pages or emails to further customize the experience offered to participants.

Updated over a week ago

What is a snippet?

A snippet (or "code excerpt") is a customized portion of HTML code that you can insert into a specific section of your site or an email to:

  • add dynamic or conditional content,

  • insert an animation or a manually styled element,

  • invoke custom logic beyond what Eventmaker natively allows.

Prerequisites

  • Configuring a snippet requires HTML skills.

  • No support is provided for the content of custom snippets.

  • Activating or developing a snippet may incur additional costs. Contact your CSM to assess feasibility and implications.

Where to create a snippet?

You can create a snippet from:

  • an email (via the snippet section in the email builder),

  • or a website page (via the snippet section in our CMS).

Steps:

  1. Go to the content editor (page or email).

  2. Click Add a section.

  3. Select Snippet from the list of sections.

  4. Click + Create a new snippet.

  5. An HTML input window opens.

You can now write your code.

Naming and saving a snippet

  • Give your snippet a clear name (e.g.: CTA_inscription_exposants).

  • Click Save.

  • You can edit the snippet from the same interface at any time.

Testing your snippet

Before publishing a page or an email containing a snippet:

  • Test it on a test page or before going live with your site|sending your email.

  • Check:

    • that dynamic variables are correctly handled,

    • the rendering on different screens (responsive),

    • browser compatibility.

Best practices

  • Do not modify a snippet in production without testing it.

  • Comment your HTML code to facilitate review and maintenance.

  • Ensure the section is properly restricted if needed (logged-in participants only).

  • Keep a history of snippets used per event (shared file, internal documentation, etc.).


What snippets do not allow

  • Execute complex JavaScript.

  • Modify Eventmaker's internal behaviors.

  • Interact directly with the database or third-party systems without an iframe or external API.


Need help?

If you need custom development or assistance with a snippet, contact your Customer Success Manager (CSM). This service may be subject to an additional quote.

Did this answer your question?