> For the complete documentation index, see [llms.txt](https://docs.growlytics.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.growlytics.in/integration/browser/reading-session-identifer.md).

# Reading Session Identifer

This article explains how you can read session identifier to fire Growlytics events from your backend servers with Session Details.

If you are planning to add events from your backend application and if you want to associate that event with the Growlytics Session, this article will guide you on how you can achieve that.

## Passing Session Identifier to your server

The Session identifier is nothing but the device id of the customer that Growlytics maintains. You can use `Growlytics.getDeviceId()` to read the device id.

```javascript
let deviceId = Growlytics.getDeviceId();
```

{% hint style="warning" %}
Device Id is always associated with a single customer and its a permanent for the given browser/device. If in the same browser, if the user logs out and logs in as another user, then the device id will remain the same but it will be pointing to a newer user.
{% endhint %}

You can pass the device id received to your backend server and use it while adding an event to Growlytics from your backend.
