Repeater Destination

Destination Info
Components
  • Server
Connection Modes
Device-mode Cloud-mode
Web Web
Mobile Mobile
Server Server

This destination is maintained by Segment and is not available to customers on the free plan.

Getting Started

The Repeater destination forwards events from a source back into another source as though that event occurred in the second source.

Events are not cached in the Repeater, so it only handles real-time events. You can specify multiple sources as Repeater destinations.

If you need to send events to a Source Function, please use the Webhooks (Actions) destination instead. The Repeater bypasses the code of a Source Function and sends data only to the write key. The Webhook destination allows data to be sent through the Source Function code as expected.

Configuration

Add the Repeater as a destination for the source that you want to replicate events from.

Find the source that you want events to flow to, and copy the writeKey from that source.

Go back to the Repeater destination’s settings, and add this writeKey to the write keys list for Repeater.

You can do this for as many sources as you need.

A screenshot of the Write Keys field in the Repeater destination settings page.

Repeater sends all events it receives to the sources you specified, identified by the write key(s) you added.

Replays with a Repeater destination

Running a Replay on a Repeater destination might count toward your MTUs, especially if you are replaying historical data from the source that flows data into your Repeater destination.

Because the API plans count by events sent through the pipeline and the Repeater destination resends an event through the entire pipeline, one event might flow through your source twice which increases the throughput count.

Segment recommends that you notify your team before initiating a Replay if you’re using a Repeater destination.

Repeater FAQ

What is the context.repeatChain field that I can see on my repeated events?

The context.repeatChain array that you will see on repeated events holds two values. The first value is the MD5-hashed write key where the event originated. The second value is the MD5-hashed write key that the event was sent to through the Repeater. This behavior lets Segment verify that the event isn’t sent to a pipeline that will result in an infinite loop.

Engage

You can send computed traits and audiences generated using Engage to this destination as a user property. To learn more about Engage, schedule a demo.

For user-property destinations, an identify call is sent to the destination for each user being added and removed. The property name is the snake_cased version of the audience name, with a true/false value to indicate membership. For example, when a user first completes an order in the last 30 days, Engage sends an Identify call with the property order_completed_last_30days: true. When the user no longer satisfies this condition (for example, it’s been more than 30 days since their last order), Engage sets that value to false.

When you first create an audience, Engage sends an Identify call for every user in that audience. Later audience syncs only send updates for users whose membership has changed since the last sync.

Real-time to batch destination sync frequency

Real-time audience syncs to Repeater may take six or more hours for the initial sync to complete. Upon completion, a sync frequency of two to three hours is expected.

Settings

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

Setting Description
Region Endpoint (Deprecated) select, defaults to https://api.segment.io.

Select where you want Repeater to receive, process, and store data from this destination. Note: This setting will be deprecated on September 18, 2023. Data can now only be sent to Sources within the same region and Segment will route it automatically. Existing destinations configured to send from a US region workspace to an EU source or vice versa will remain functional. Please contact us if you have any questions.
Write Keys array, defaults to .

This is the array of source write keys you want to repeat data into. You can have up to 20 write keys.

This page was last modified: 29 Jan 2024



Get started with Segment

Segment is the easiest way to integrate your websites & mobile apps data to over 300 analytics and growth tools.
or
Create free account