Embed the bottom banner

Joris RenaudJoris Renaud
1 min read
Matching
Magma bottom banner integrated at the bottom of a web page to discreetly invite visitors to connect with an ambassador

The bottom banner: a discreet but effective invitation

The bottom banner appears at the bottom of your web page in a non-intrusive way. It remains visible without interfering with navigation and reminds your visitors that they can be connected with an ambassador. It's an excellent complement to the widget for pages where you don't want a floating element.

💡 The bottom banner works particularly well on long-form content pages (blog articles, programme descriptions) where visitors scroll and discover the invitation at the end of their reading.

Prerequisites

Step 1: Add the Magma script

At the end of the <head> tag (just before </head>):

<script src="https://cdn.jsdelivr.net/gh/magma-app/magma-widget@latest/src/widget/initializer.js" async></script>

Step 2: Declare your campaign

At the beginning or end of your <body> tag:

<script>
  window.magma_app = [
    {
      type: "campaignUuid",
      uuid: "xxxx",
      integrationUuid: "xxxx",
    },
  ];
</script>

Step 3: Replace the identifiers

<script>
  window.magma_app = [
    {
      type: "campaignUuid",
      uuid: "YOUR_CAMPAIGN_UUID",
      integrationUuid: "YOUR_INTEGRATION_UUID",
    },
  ];
</script>
Done! The bottom banner now appears at the bottom of your page and invites your visitors to connect with an ambassador.

Related Articles

Our ambassador strategy experts are ready to assist you

How to engage your ambassadors? How to reward them? How to manage actions over time? Our ambassador strategy consultants are here to turn your ideas into a successful ambassador program.

Joris R.

Joris Renaud

Ambassador strategy expert