# Access member information from your JavaScript code snippets

https://help.circle.so/p/sso-and-integrations/api/access-member-information-from-your-javascript-code-snippets

Category: [SSO and integrations](https://help.circle.so/p/sso-and-integrations) › [API](https://help.circle.so/p/sso-and-integrations/api)

---

_Last updated: January 29, 2025_

Analytics scripts often require you to pass a currently signed-in member's information inside their JavaScript code snippet.

We've added a global _window.circleUser_ object for this purpose, which makes the following information accessible from your custom code snippet:

- **email**

- **name**

- **firstName**

- **lastName**

- **isAdmin** (true/false)

- **isModerator** (true/false)

- **location**

- **profileUrl**

- **publicUid** (the member's unique Circle ID)

- **linkedinUrl**

- **twitterUrl**

- **facebookUrl**

- **websiteUrl**

An example of how you would use this data inside an identify() call:

```
FS.identify(circleUser.publicUid, {
   displayName: circleUser.name,
   email: circleUser.email,
   isAdmin: circleUser.isAdmin,
   profileUrl: circleUser.profileUrl
});
```

To add custom JavaScript and CSS code inside the \<head\> section in your community:

1. Click your community name or logo—or the dropdown icon next to it—in the top-left of the navigation header and select **Site**. 

2. From the sidebar menu, select **Code snippets**.
