---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/segment/connections/destinations/catalog/preact#article
headline: Preact Destination
url: https://www.twilio.com/docs/segment/connections/destinations/catalog/preact
inLanguage: en
dateModified: 2025-10-17T14:56:52.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# Preact Destination

## Identify

To create users in in Preact, use the [Identify](/docs/segment/connections/spec/identify) method. Users must be identified on the client side for events to appear in Preact.

## Group

To group users into accounts in Preact, use the [Group](/docs/segment/connections/spec/group) method.

## Track

The [Track](/docs/segment/connections/spec/track) method records events in Preact. Users must be identified on the client side for events to appear in Preact.

## Features

### Recording errors

Preact can be useful for customer support. For that to work, you can send error events to Preact.

Add a "!" as the first character in the event name and Preact recognizes it as an error event. Properties sent with the event also show up in Preact.

Here's a JavaScript example:

```javascript
analytics.track('!Image upload error', {
    File size: '890KB',
    File extension: '.JPG',
    Message: 'File size too large'
    });
```
