Skip to main content
Northbeam
Matt Cimino avatar
Written by Matt Cimino
Updated over 7 months ago

We're working with the Northbeam team to roll out an official integration but for now:

  • You can easily send events to Northbeam by copying and pasting in the Custom Code below to your Amped Campaign!

Tracking Email Subscription Events to Northbeam

  • For each campaign in Amped and on each split test variation you will need to add this Custom Code on the Button that captures the Email:

Here's the Custom Code you can copy and paste in exactly to track email sign ups from Amped:

// Start Custom code here

if (window.Northbeam && typeof window.Northbeam.fireEmailCaptureEvent === 'function') {
window.Northbeam.fireEmailCaptureEvent(input.email, "Amped - Email Collected");
} else {
console.log('Northbeam is not available on the page.');
}


resolve(); // resolve(); tells your campaign to continue. Otherwise the campaign will load indefinitely, break, and it will timeout.

Tracking SMS Subscription Events to Northbeam

  • For each campaign in Amped and on each split test variation you will need to add this Custom Code on the Button that captures Phone Numbers for SMS:

Action Required by Northbeam to enable this - There is not a standard SMS subscription event in Northbeam SDK currently so for now you will need to notify Northbeam of the custom event name you are setting for this so they can start reporting on it.

If you copy/paste the code below the event name is 'amped_sms_capture'

Here's the Custom Code you can copy and paste in exactly to track sms sign ups from Amped:

// Start Custom code here

if (window.Northbeam && typeof window.Northbeam.fireCustomGoal === 'function') {
window.Northbeam.fireCustomGoal("amped_sms_capture", {});
} else {
console.log('Northbeam is not available on the page.');
}


resolve(); // resolve(); tells your ad to continue. Otherwise the ad will load indefinitely, break, and it will timeout.

Did this answer your question?