Clone events

Send one Shopify event as multiple destination events.

Cloning lets one Shopify event produce two destination events.

Littledata sends the original event and an extra modified copy.

When to use clones

  • Send a standard purchase event and a recurring_order event.

  • Create a second event with a different destination name.

  • Produce two different payload shapes from one Shopify event.

How cloning works

1

Send the original event

Littledata keeps the original event unchanged.

2

Create a copy

Littledata creates a second event and applies your custom mappings.

3

Deliver both events

Littledata sends the original event and the cloned event to the destination.

Clones run after filter and modify customisations. If a filter matches, no clone is produced.

Create a clone

1

Open the destination Events tab

Go to Settings for the integration you want to update.

Then open Events.

2

Open an event

Click the event you want to clone.

3

Choose Clone

Select Clone as the customisation type.

4

Add trigger conditions

Use trigger conditions to control when the clone runs.

5

Configure field mappings

Set the field mappings for the cloned event.

6

Save the clone

Click Save to activate it.

Example: Subscription order as a separate event

Field
Value

Event

order_created

Destination

Google Analytics 4

Type

Clone

Condition

app.name is Recharge Subscriptions

Mappings on the clone

Source
Destination

recurring_order (static value)

events[0].name

locationId

events[0].params.location_id

With this setup, all order_created events are sent to GA4 as normal. When the order comes from Recharge, an additional recurring_order event is also sent.

Setting a static event name

1

Choose Static value

Leave the source dropdown set to Static value.

2

Enter the event name

Type the event name you want, such as recurring_order.

3

Set the destination field

Use events[0].name as the destination.

Last updated

Was this helpful?