top of page
News
bottom of page
import { authentication } from 'wix-members'; // ... authentication.onLogin((memberInfo) => { const memberId = memberInfo.id; console.log('Member logged in'); }); /* Full event object: * { * "_id": "f32cbc51-a331-442b-86c2-2c664613e8b9" * } */