Capturing Page Context for Custom Campaign Collection

Capturing Page Context for Custom Campaign Collection

On page load, you can define the contents of the page by setting the page's
campaign tag value via a ButtonJS method call.

On page load, ButtonJS's subscriber collection selector makes a decision to, or
not to, pop-up the new subscriber collection modal. If there is an available
collection campaign that matches the provided value, the custom targeted CTA
copy will be loaded within the collection modal.

// Wait for page load event
window.addEventListener('load', function(e) {
  
  bttnio('setPageSmsCampaigningTag', 'technology');
  // "technology" is a case-insensitive string defined by Slickdeals
  
}, false);

Did this page help you?