MadKudu Docs

Home

Installing the MadKudu snippet on your website

The MadKudu snippet is a few lines of code that you add to your website to personalize forms and webpages depending on who your visitors are. For example, you can show a specific offer to leads that are qualified for a sales consultation.

We recommend installing the MadKudu snippet via Segment.com. This takes just a few clicks.

If Segment is not an option, it will take a developer a few minutes and up to an hour to install the snippet manually on your site.

Tip: Google Tag Manager can sometimes be a good solution if it is already installed on your site.

Setup with Segment

Segment is a fantastic tool that connects the applications of your sales and marketing stack.

It takes a few clicks to install the MadKudu snippet with Segment.

#1. Log into your MadKudu account, go to the “Integrations” section, and click “Segment”.

#2. Click the “Enable with Segment” button.

#3. Choose the Segment source that has your website data and click “Send data”.

#4. Test that the MadKudu snippet is live

Go to a page where you added the snippet and open the console.

Test that the MadKudu snippet can be called by typing “madkudu” in the console

Once it loads, you’re done! The MadKudu snippet is now live on your site.

Manual setup

To install the MadKudu snippet on your site manually:

#1. Log into your MadKudu account, go to the “Integrations” section, and click on “JS” (it stands for Javascript).

#2.Copy and paste the javascript snippet before the </head> tag on every page you want MadKudu to personalize your visitor experience.

#3. Test that the MadKudu snippet is live

Go to a page where you added the snippet and open the console.

Test that the MadKudu snippet can be called by typing “madkudu” in the console

Once it loads, you’re done! The MadKudu snippet is now live on your site.

Setup Google Tag Manager

To install the MadKudu snippet with Google Tag Manager:

#1. Log into your MadKudu account, go to the “Integrations” section, and click on “JS” (it stands for Javascript).

#2. Copy the javascript snippet provided there.

#3. Log in Google Tag Manager, go to the “Create a custom tag”, paste the javascript snippet, choose the pages you want the snippet to appear on, and click “save”.

#4. Test that the MadKudu snippet is live

Go to a page where you added the snippet and open the console.

Test that the MadKudu snippet can be called by typing “madkudu” in the console

Once it loads, you’re done! The MadKudu snippet is now live on your site.