# Wix Members area App onMemberCreated

**URL:** <https://forum.wixstudio.com/t/wix-members-area-app-onmembercreated/67630>\
**Category:** Ask the community\
**Tags:** wix-members-area, question, code, wix\
**Created:** [January 17, 2025, 7:38pm UTC](https://forum.wixstudio.com/t/wix-members-area-app-onmembercreated/67630 "2025-01-17T19:38:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![user4742](https://avatars.discourse-cdn.com/v4/letter/u/b5a626/32.png) [@user4742](https://forum.wixstudio.com/u/user4742)\
**Post date:** [January 17, 2025, 7:38pm UTC](https://forum.wixstudio.com/t/wix-members-area-app-onmembercreated/67630/1 "2025-01-17T19:38:47Z")

</div>

**Question:**  
I’m trying to use the `wixMembers_onMemberCreated()` event to insert new members into a custom database collection. However, despite following the official Velo documentation (using an `events.js` file in the Backend, correct function name, correct export, etc.), the event never fires when a user registers via the Wix Members Area sign-up form.

**Product:**  
Wix Editor / Wix Members Area App & Velo

**What are you trying to achieve:**  
I have a custom collection (e.g., “Members”) that includes fields. Whenever a new user registers, I want to capture their details (userId, email, etc.) and automatically insert them into the custom collection. According to the documentation, the `wixMembers_onMemberCreated() ` event should trigger right after a successful registration, but in my case, it simply isn’t being called.

**What have you already tried:**

- Created an `events.js` file in the Backend folder with the exact function signature:

```js
export function wixMembers_onMemberCreated(event) {
  // ...
}

```

- Verified correct spelling and case sensitivity of the function name.
- Added `console.log()` statements to see if the function is called—no logs appear.
- Tested in a published site using the Wix Members Area sign-up form (with a brand-new email address) while not logged in as the site owner.
- Checked Velo Monitoring logs in the live environment; there is no record of the function running.
- Attempted multiple times in Incognito windows, ensuring the user is not previously registered.

**Additional information:**

- Permissions for the custom collection are set properly (write permissions in the Backend).
- No console errors appear.
- I’ve tried removing all other event handlers or code to avoid conflicts.
- My site is fully published, and I’ve confirmed I’m using a fresh email each time.

Any guidance on why the event might not be firing—or how to reliably insert new members into a custom database during registration—would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![ptiernanhome](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/ptiernanhome/32/8678_2.png) [@ptiernanhome](https://forum.wixstudio.com/u/ptiernanhome)\
**Post date:** [January 27, 2026, 11:10am UTC](https://forum.wixstudio.com/t/wix-members-area-app-onmembercreated/67630/2 "2026-01-27T11:10:45Z")

</div>

Hi having the same problem now in Jan 2026 - did you ever get a fix / workaround ?

No events firing for either Member Created or Approved. Happy for it to fire on Approval as that’s what I’m after but I get nothing in the logs. I delete the member & contact info and re-register each time with an email not related to the site owner credentials. Also testing in Live not Preview. The logs don’t fire for wixMembers\_onMemberCreated ??? The function added to events.js as instructed. Very strange.
