How to Set Up Justuno Email Submission Listener For Data Enrichment

Overview

When working with email forms, it’s important to ensure that all email submissions are correctly tracked and sent to Elevar for data enrichment. Follow this guide to learn how to set up Justuno Email Submission Listener for Data Enrichment.


Integration with Just Uno:

Edit Promotional Code:

  • Begin on the Justuno homepage and use the left-hand navigational menu to click on the "Promotions" tab.
    • Here you will see a list of all your Justuno promotions. Locate the promotion that you would like to set up email submission listener for data enrichment and click on the "Options" button.
    • An additional drop-down menu will appear, locate and click on the "Edit Design" button.
      • (See Figure 1)

Step 1 screenshot

_Figure 1_

Edit Custom Code:

  • Once you have accessed the promotion that you would like to edit, click on the "Custom Code" button located in the upper right-hand corner of the page.
    • (See Figure 2)

Step 2 screenshot

_Figure 2_

Configure JavaScript:

  • Once you have accessed the "Custom Code" settings, use the top navigation menu to click on the "Tab JS" tab.
    • Locate the section of the page titled "Override Default JS" and use the toggle to enable this setting.
    • Use the text box to add the following code:
      • jsxCopy code
        // Elevar email submission data layer push
        juapp('trackFunc', 'engagement', function(email, eventname, promotitle, cmid, options, form) {
          if (!email) return;
          window.ElevarDataLayer = window.ElevarDataLayer ?? [];
          window.ElevarDataLayer.push({
            event: "dl_subscribe",
            lead_type: "email", // add "phone" if it is a phone number popup
            user_properties: { "customer_email": email },
          });
        });
        
  • Once you have entered the code, be sure to save your changes by clicking on the "Publish" button located in the lower right-hand corner of the page.
    • (See Figure 3)

Step 3 screenshot

_Figure 3_

Testing:

  • Complete the signup process and verify that the just_uno_email_submitted event appears in the data layer.
    • Check the network panel to confirm that the dl_subscribe event is being forwarded to Elevar.

👍

Have Any Questions?

Reach out and let us know how we can help!