integration bg light
New Logo

How to Add Plum Embed Code Via Google Tag Manager

Adding the code to your website is a one-time requirement, eliminating the need to repeat the process. Follow the steps below to set up Plum on your website using Google Tag Manager.

1

2

3

4

5

6

5

You can set up Plum on your website using one of three methods by adding a single line of JavaScript code:

  1. Manually embed the code on your website.
  2. Set it up with popular CMS services.
  3. Set it up with Google Tag Manager.

Follow the steps below to set up Plum on your website using Google Tag Manager.

Step 1: Access your Plum account by logging in.

Step 2: Navigate to your account dashboard and locate the dropdown menu at the top right corner. Hover over your account and select "Your Embed Code" from the menu that appears.

Step 3: Copy the unique embed code for Plum and save it to your clipboard.

Step 4: Open your Google Tag Manager and select the option to "Add new tag."

Step 5: Provide a name for your tag and access the "Tag Configuration" section.

Step 6: Choose the option for Custom HTML in order to input your unique embed code.

Step 7: After that, you can paste the Plum embed code into the HTML field. Make sure to select the "Support document.write" option and save your changes.

Step 8: Proceed to the Triggering section and choose the "All Pages" option to enable Plum to function on all your website pages. By doing this, you can effortlessly add a popup to any page without requiring additional configurations. (If you opt for the "All Pages" setting, our system will track the total page views across your entire website, regardless of the specific page where you have added the popup. )

It's important to note that a pageview refers to the total number of requests made to view pages on your website. However, if you prefer to display popups on selected pages only and not throughout your entire website, you can utilize your pageview limit more efficiently. Instead of embedding the code across your entire site, you can selectively add it to specific pages using Google Tag Manager.

To achieve this, navigate to the Trigger Configuration section and choose "Some Page Views" under the "This trigger fires on" option. Then, configure the conditions as illustrated in the provided image. This setup enables you to use Popupsmart exclusively on the desired pages of your choice.

To include multiple pages, you can click the "+" symbol to add additional conditions or use the "-" symbol to remove a specific condition for each trigger.

It's important to keep in mind that when using these configurations instead of selecting "All Pages," popups will not be displayed on pages that have not been specified within the Google Tag Manager (GTM). In such cases, you will need to manually add those pages to the triggers.

Step 9: After you have completed configuring the triggers according to your requirements, simply click the Submit button to save your settings.

Step 10: Apply the changes by clicking the Publish button on the current screen.

If you still have any inquiries regarding the process of embedding the Plum code to Google Tag Manager, don't hesitate to reach out to us through email or live chat. We're here to assist you!

Our team round-the-clock to assist you

Our dedicated support team is always available to help you with any queries or issues you may encounter.

people