---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/segment/connections/destinations/catalog/monetate#article
headline: Monetate Destination
description: Set up the Monetate destination in Segment to run personalized marketing campaigns. Add the Monetate snippet and forward Page and Track events to Monetate.
url: https://www.twilio.com/docs/segment/connections/destinations/catalog/monetate
inLanguage: en
dateModified: 2026-07-14T18:38:53.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# Monetate Destination

## Destination Info

* Accepts [Page](/docs/segment/connections/spec/page), [Track](/docs/segment/connections/spec/track) calls.
* Refer to it as **Monetate** in the [Integrations object.](/docs/segment/guides/filtering-data/#filtering-with-the-integrations-object)

### Components

* [Browser](https://github.com/segment-integrations/analytics.js-integration-monetate)

## Connection Modes

[Learn more about connection modes.](/docs/segment/connections/destinations/#connection-modes)

### Device-Mode

* web: yes
* mobile: no
* server: no

### Cloud-Mode

* web: no
* mobile: no
* server: no

## Getting Started

Segment allows you to track events directly into Monetate, and create, test, deploy, and measure personalized marketing campaigns.

### Client-Side

Because the Monetate destination needs to be on the page right away, Segment can't add it for you. That means you'll need to put the Monetate JavaScript snippet on the page. In Monetate, go to **Settings > destination > Tag** to find their snippet.

To get started with Monetate and Segment, just enable the Monetate destination on your Segment **Destinations page**. If you've already copied the Monetate script tag onto your page, you're ready to go!

Copy and paste the code provided immediately after your opening `<head>` tag.

The script looks something like this:

```html
<script type="text/javascript">
var monetateT = new Date().getTime();
(function() {
    var p = document.location.protocol;
    if (p == "http:" || p == "https:") {
        var m = document.createElement("script"); m.type = "text/javascript"; m.src = (p == "https:" ? "https://s" : "http://") + "e.monetate.net/js/2/[siteId]/p/[domain]/entry.js";
        var e = document.createElement("div"); e.appendChild(m); document.write(e.innerHTML);
    }
})();
</script>
```

Include this snippet on every page you want to run experiments on and track as a goal. This snippet will not change. This separate script is required because Monetate alters the page, if it were loaded async the alterations may cause unappealing results.

## Page

When you call the [`page`](/docs/segment/connections/spec/page/) method with a name and category, we call the 'setPageType' method in Monetate. This allows you to run your campaigns on different page types.

## Track

When you call the [`track`](/docs/segment/connections/spec/track/) method with the event names `Viewed Product`, `Added Product`, `Order Completed` from our [e-commerce API](/docs/segment/connections/spec/ecommerce/v2/) we will call the corresponding `addItems`, `addReviewRows`, `addConversionRows` in Monetate if the Retail option is not checked in settings, and `addProducts`, `addCartRows`, `addPurchaseRows` if it is. Other event names will not be forwarded to Monetate.

## Settings

Segment lets you change these destination settings from the Segment app without having to touch any code.

| Field  | Description                                                                                  | Required | Type    |
| ------ | -------------------------------------------------------------------------------------------- | -------- | ------- |
| Retail | Monetate has two API's Retail and General, Enable this setting to use Monetate's Retail API. | No       | boolean |
