# Drift

![Drift](https://1528942926-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEse5A9Po6xt6ZmrGcz%2F-MFJH98F5Nm3PlhKG3MB%2F-MFJQ8ZRncx18r04qmwh%2FScreen%20Shot%202020-08-21%20at%2023.28.11.png?alt=media\&token=2244ed97-1814-426d-b835-49285b3caf24)

## Environment variables:

* [Frontend](https://docs.netcoresaas.com/other/integrations/conversations/broken-reference)
  * `VUE_APP_INTEGRATIONS_CONVERSATIONS_DRIFT`

### Marketing side

Uncomment line on file `ClientApp/srs/views/marketing/Index.vue`

```
this.$drift.show();
```

### App side

Uncomment these lines on file `ClientApp/srs/components/layouts/AppLayout.vue`

```
 this.$drift.identify(this.$store.state.account.user.id, {
        name: this.$store.state.account.user.firstName,
        email: this.$store.state.account.user.email,
      });
this.$drift.show();
```

Example:

![](https://1528942926-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MEse5A9Po6xt6ZmrGcz%2F-MFJH98F5Nm3PlhKG3MB%2F-MFJSqaZRsDRr8x1m1UQ%2FScreen%20Shot%202020-08-21%20at%2023.39.52.png?alt=media\&token=4b4846ff-9e17-4f7a-b54e-1a7a788f6511)
