Skip to main content
Sharing a Page
S
Written by Support Mailtarget
Updated over a month ago

You can easily share the page you have created by clicking the share page 🔗 button in the action column on the page list. There will be three options to share your page:

URL and QR Code

A URL is a link that you can open by pasting it into the address bar of your browser. Or click "open in new window" to view it directly.

By using a QR Code, you can share your page more easily. By scanning it, you can view your page directly.

Embed

With Embed, you can embed the page you have created on any site that supports HTML. For example, on your blog or personal site.

There are three scripts that you need to copy to your site or personal blog to embed the page:

  1. MTARGET script. This script is used to connect the site with MTARGET. If possible, place this code between the <head> tags on your site.

  2. ID page. This is the ID to call the page. Place this code wherever you want the page to appear. For example, on the sidebar or blog post on your site.

  3. Settings Embed Script. This is the code containing the embed page settings. Copy and paste this code between the <head> tags if possible.

Embed on a Personal Site (Source Code)

If you have access to add these codes directly to the HTML of your site, you can copy as follows:

  1. Place the MTARGET Script and Settings Embed Script between the <head> tags.

  2. Place the ID page where you want the page to appear. You can place it between the <body> tags.

Embed on WordPress

If you are using WordPress, you can use the text/html widget feature on WordPress to embed the page.

Copy the three codes, then place them in the WordPress widget you have prepared, then click save.

Note

If you embed the page and pop-up page on the same page, you can add only one MTARGET Script.

Pop-up

With pop-up, you can display the page as a pop-up on any site that supports HTML. Then copy and paste the code on your site.

There are several settings that you can adjust for the page that you will install on your site as a pop-up. Among them are three triggers with their respective functions:

  1. Delay: With the delay trigger, the pop-up will appear after the delay time has passed.

  2. Leave: With the leave trigger, the pop-up will appear when the user is about to leave your site.

  3. Scroll: With the scroll trigger, the pop-up will appear when the user scrolls through your site.

To add a pop-up, there are two scripts that you need to copy to your site or personal blog:

  1. MTARGET script. This script is used to connect the site with MTARGET. If possible, place this code between the <head> tags on your site.

  2. Settings Pop-up Script. This is the code containing the pop-up page settings. Copy and paste this code between the <head> tags if possible.

Pop-up on a Personal Site (Source Code)

If you have access to add these codes directly to the HTML of your site, you can place the MTARGET Script and Settings Pop-up Script between the <head> tags.

Pop-up on WordPress

If you are using WordPress, you can use the text/html widget feature on WordPress for the pop-up page.

Copy the two codes, then place them in the WordPress widget you have prepared, then click save.

Add the widget to the sidebar if you want the pop-up to appear where the sidebar appears.

Note

If you embed the page and pop-up page on the same page, you can add only one MTARGET Script.

Did this answer your question?