For the complete documentation index, see llms.txt. This page is also available as Markdown.

Maker Integration

Maker Integration - Pages

Maker integration requires only 2 new elements to be added to a page.

  1. Element with js-maker-enhance-static-mount class name in a place where you want Maker content to render. Maker script will automatically find this element and replace it with Maker's that will render the content. This element has to have a unique ID attribute. If there are multiple elements like this on a single page, each has to have a different ID.

  2. <script> element loading customer specific URL (https://app.maker.co/enhance/[user].js). This script after is loaded, parsed, and executed by a browser would find all .js-maker-enhance-static-mount elements on a page and replace then with the correct content.

You can do this manually or if you have a website built using React, we have created a simple React component that does this automatically.

  • Manual Integration

  • React Component Integration ( Recommended for React sites )

1. Manual Integration

Insert this script to of your website immediately after the canonical link tag or the og:url tag.

Be sure to replace [user] with your Maker user (in 2 places). If you don't know your Maker user, ask Maker support.

This is a universal script that works on all websites regardless of their architecture of JavaScript framework. If you have specific needs, or if you want to hide parts of your website and replace them with Maker, please contact Maker support and we can provide you a custom script built to fit your specific needs.

Lastly, insert this empty div to your page right where you want Maker content to appear.

Last updated

Was this helpful?