import { local } from 'wix-storage'; $w.onReady(function () { // Check URL for GCLID and store it let url = new URL(window.location.href); let gclid = url.searchParams.get('gclid'); if (gclid) { local.setItem('gclid', gclid); } }); console.log