How to Enable Wunderkind Pop-Ups to Trigger dl_subscribe Events for Elevar

Overview

Wunderkind pop-ups do not have a public integration with Elevar. However, you can create an unofficial integration by working with Wunderkind to fire a custom data layer event when a pop-up sign-up is completed. Once this event is active, you can capture it and convert it into a dl_subscribe event for Elevar tracking.


How to Enable Wunderkind Pop-Ups to Trigger dl_subscribe Events for Elevar

Request Wunderkind to Fire the wknd_subscribe Event

  • Ask your customer to contact Wunderkind and request them to enable a wknd_subscribe event upon successful pop-up sign-up. The event should be configured like this:
window.dataLayer = window.dataLayer ?? [];
window.dataLayer.push({
	event: "wknd_subscribe",
	lead_type: "email",
	user_properties: {
		customer_email: btoa('users email address')
	}
})

Download the Pre-Built GTM Container:

  • After the wknd_subscribe event is live, you will need to import a pre-built GTM container that listens for this event and pushes the corresponding dl_subscribe event.

Import the Pre-Built Container:

  • Log in to your Google Tag Manager Account.
  • Select your GTM Web Container.
  • Click on the "Admin" button located in the upper menu bar.
    • Use the right-hand menu under the "Container" section and click on the tab labeled "Import Container".
      • (See Figure 1)

Step 1 screenshot

_Figure 1_

Import Container Information:

  • Under the "Select file to import" section, click on the "Select File" button and choose the Wunderkind Container that was previously downloaded.
  • Under the "Choose workplace" section, either create a new workplace titled "Wunderkind Tracking" or select the "Default Tracking".
  • Next be sure to select the "Merge" option first, then the "Overwrite conflicting tags, triggers, and variables" option second.
  • Once you have completed filling out the necessary details for this container, click on the "Add to workspace" button located at the bottom of the page.
    • (See Figure 2)

Step 2 screenshot

_Figure 2_

Publish the Pre-Built Tags:

  • After importing the Wunderkind tag container, you will be brought back to the Google Tag Manager homepage.
  • In your workspace, click on the "Submit" button in the upper right hand corner of the page.
  • An additional confirmation page will appear. Be sure to click on the "Publish" button in the upper right-hand corner of the page.
    • (See Figure 3)

Step 4 screenshot

_Figure 3_

Test and Validate the Setup:

  • Once you have downloaded and imported the Wunderkind container for pop-ups, open the site where Wunderkind pop-ups are active. Then, complete a pop-up sign-up.
  • In GTM Preview mode or the browser's DevTools Console, and confirm that the wknd_subscribe event appears in the data layer and a dl_subscribe event is triggered as expected.
  • Verify that the customer_email value in the payload is being recorded and matches the email address you used during testing.
    • (See Figure 4)
  • Additionally, confirm that Elevar is receiving the dl_subscribe events correctly.

Step 1 screenshot

_Figure 4_