Learn how to get your mixes louder, cleaner, and ready for streaming/ distribution. Watch as Philia breaks down his Bus Limiting, Clipping techniques, Mixing Template, and Mastering Chain in this 3 part series.
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);
}
});