|
| 1 | +--- |
| 2 | +title: SaaSquatch v2 Destination |
| 3 | +id: 62439b17f9f8c788769e83f6 |
| 4 | +--- |
| 5 | + |
| 6 | +[SaaSquatch](https://saasquatch.com/?utm_source=segmentio&utm_medium=docs&utm_campaign=partners){:target="_blank"} is a loyalty, referral and rewards platform helping companies reward their brand advocates, build loyal communities, and accelerate revenue growth. |
| 7 | + |
| 8 | +This destination is maintained by SaaSquatch. For any issues with the destination, [contact the SaaSquatch Support team ](mailto:[email protected]). |
| 9 | + |
| 10 | +## Getting Started |
| 11 | + |
| 12 | +{% include content/connection-modes.md %} |
| 13 | + |
| 14 | +1. From the Destinations catalog page in the Segment App, click **Add Destination**. |
| 15 | +2. Search for **SaaSquatch v2** in the Destinations Catalog, and select the **SaaSquatch v2** destination. |
| 16 | +3. Choose which Source should send data to the **SaaSquatch v2** destination. |
| 17 | +4. Login to the [SaaSquatch portal](https://app.referralsaasquatch.com/){:target="_blank"}. |
| 18 | +5. Navigate to the Integrations page by selecting Settings > Integrations. |
| 19 | +6. Find and enable the Segment integration. |
| 20 | +7. Within the "Segment Destination" tab, copy the API Key. |
| 21 | +8. Enter the copied **API Key** in the **SaaSquatch v2** destination settings in Segment. |
| 22 | + |
| 23 | +## Supported methods |
| 24 | + |
| 25 | +SaaSquatch v2 supports the following methods, as specified in the [Segment Spec](/docs/connections/spec). |
| 26 | + |
| 27 | +### Identify |
| 28 | + |
| 29 | +Send [Identify](/docs/connections/spec/identify) calls to insert and update participants in SaaSquatch. [Read more about identify calls in the SaaSquatch docs.](https://docs.saasquatch.com/integrations/segment-v2/subscription/#identify-calls){:target="_blank"} |
| 30 | + |
| 31 | +For example: |
| 32 | + |
| 33 | +```js |
| 34 | +analytics.identify("userId123", { |
| 35 | + |
| 36 | + firstName: "John", |
| 37 | + lastName: "Doe", |
| 38 | + referredByCodes: ["SUSAN210"], |
| 39 | +}); |
| 40 | +``` |
| 41 | + |
| 42 | +Segment sends Identify calls to SaaSquatch v2 as an `identify` event. |
| 43 | + |
| 44 | +### Track |
| 45 | + |
| 46 | +Send [Track](/docs/connections/spec/track) calls to log user events in SaaSquatch. [Read more about track calls in the SaaSquatch docs.](https://docs.saasquatch.com/integrations/segment-v2/subscription/#track-calls){:target="_blank"} |
| 47 | + |
| 48 | +For example: |
| 49 | + |
| 50 | +```js |
| 51 | +analytics.track("Order Completed", { |
| 52 | + revenue: 1000, // cents |
| 53 | + currency: "USD", |
| 54 | + order_id: "ref1234", |
| 55 | +}); |
| 56 | +``` |
| 57 | + |
| 58 | +Segment sends Track calls to SaaSquatch v2 as a `track` event. |
0 commit comments