In this episode, Tobi Hunke (AbletonDrummer.com) shares about features he would like to see in Ableton Live, favorite workarounds using Max
bottom of page
import { session } from 'wix-storage';
$w.onReady(function () {
// Capture the "ref" parameter from the URL
const urlParams = new URLSearchParams(window.location.search);
const refCode = urlParams.get('ref');
// If the ref code is present, store it in session storage
if (refCode) {
session.setItem('affiliateId', refCode);
console.log("Affiliate ID stored:", refCode);
}
});