Kajabi empowers you to create all kinds of content to showcase what you know best, including online courses, coaching programs, podcasts and memberships.
/*
//Code below for showing discount banner based on URL Parms
// Get URL
var url = window.location.href;
// Get DIV
var adbanner = document.getElementById("discountbanner");
var mainbanner = document.getElementById("bannermain");
var signup_normal = document.getElementById("signup-normal");
var signup_ad = document.getElementById("signup-ad");
// Check if URL contains the keyword
if (url.search("discountrefer") > 0) {
// show and hide elements
if (adbanner) adbanner.style.setProperty('display', 'flex', 'important');
if (mainbanner) mainbanner.style.setProperty('display', 'none', 'important');
if (signup_normal) signup_normal.style.setProperty('display', 'none', 'important');
if (signup_ad) signup_ad.style.setProperty('display', 'block', 'important');
}
*/