---
title: Every item of our orders shows up twice in Faslet's order tracking (sent by both the order script and the Orders API)
description: "This happens when every order reaches us twice: once from our order tracking script on your order confirmation page, and once through the Orders API."
---

[Skip to content](https://site.faslet.me/knowledge-base/order-tracking-duplicate-script-and-api#main-content)

- [English](https://site.faslet.me/knowledge-base/order-tracking-duplicate-script-and-api)
- [Nederlands](https://site.faslet.me/knowledge-base-nl/order-tracking-duplicate-script-and-api)

English

Show submenu for translations

![Faslet-logo-rgb (4)](https://site.faslet.me/hs-fs/hubfs/Faslet-logo-rgb%20(4).png?width=100&height=24&name=Faslet-logo-rgb%20(4).png)

- Solutions
  
  Show submenu for Solutions

    - [For Kids](https://site.faslet.me/en/products-kids)
- About
  
  Show submenu for About

    - [Blogs](https://site.faslet.me/blog)
    - [Press](https://www.deondernemer.nl/innovatie/startup-van-de-week-faslet-oplossing-online-maattabellen~3789309)
    - [Contact us](https://site.faslet.me/contact-us)
- Partners
- [Sign-up](https://portal.faslet.net/signup)

Open main navigation

Close main navigation

- Solutions
  
  Show submenu for Solutions

    - [For Kids](https://site.faslet.me/en/products-kids)
- About
  
  Show submenu for About

    - [Blogs](https://site.faslet.me/blog)
    - [Press](https://www.deondernemer.nl/innovatie/startup-van-de-week-faslet-oplossing-online-maattabellen~3789309)
    - [Contact us](https://site.faslet.me/contact-us)
- Partners
- [Sign-up](https://portal.faslet.net/signup)
- - [English](https://site.faslet.me/knowledge-base/order-tracking-duplicate-script-and-api)
    - [Nederlands](https://site.faslet.me/knowledge-base-nl/order-tracking-duplicate-script-and-api)

  English
  
  Show submenu for translations
- Contact us

 Contact us

 How can we help you?

- There are no suggestions because the search field is empty.

1. [Faslet Knowledge Base](https://site.faslet.me/knowledge-base)
2. [Returns and orders](https://site.faslet.me/knowledge-base/returns-and-orders)

# Every item of our orders shows up twice in Faslet's order tracking (sent by both the order script and the Orders API)

## The question

- In the export of our orders from Faslet, every line appears twice. Is that a mistake in the export?
- In the Faslet portal, a product shows more returns than we sent. Did we send our returns more than once?

## Applies to

- A shop whose own code reports its orders to Faslet, through our order tracking script or the [Orders API](https://docs.faslet.net/docs/api#post-orders) (`POST /orders`); any shop platform

## Answer

This happens when every order reaches us twice: once from our order tracking script on your order confirmation page, and once through the Orders API. The script reports the order itself, so with the Orders API next to it, each order is counted twice. It matters for your figures, for example the number of items ordered and your return rates: a return is linked to every copy of its order line, so one return can count two or more times, while you sent it once. The extra returns then come from the doubled orders, not from your returns; we check for you that each return came in once.

One of the two routes is enough. Which one you keep is up to you; ask your developer or agency to switch off the other:

1. **Only the Orders API.** On the order confirmation page, our script is then only used to get the `customerDataPackage`, as in the tip "Getting the Customer Data Package" under [POST /orders](https://docs.faslet.net/docs/api#post-orders): `getCustomerDataPackage` only reads what our widget stored in the shopper's browser and sends nothing to us. Remove the calls that report the order from the page: `window._faslet_orders.event('widget_order_track', ...)`, or with our npm package `@faslet/widget`, `buildOrderTracking()`. With the npm package, `buildOrderTracking()` is also what adds our script to the page, so once it is gone, add the script yourself as in that tip; without it the orders still arrive, but without the shopper's Faslet data. Get the `customerDataPackage` on the same website (domain) as your product pages, since a browser keeps that storage per website ([localStorage ↗](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)).
2. **Only our order tracking script**, as in our [order tracking code](https://docs.faslet.net/docs/widget/other#1-order-tracking-code), once per order (only on the order confirmation page, not again on other pages that show the order), and no orders through the Orders API.

Either way, returns you send through our Returns API need no change.

Let us know once it is changed, and we check new orders for you.

## Why it happens

- Both the order tracking script on the order confirmation page and the shop's own backend through the Orders API report each order.

## Is this your situation?

- The shop sends its orders through our Orders API and still has our order tracking script, or our npm package's order tracking, on its order confirmation page: this article.
- The orders reach Faslet only through the script, and still show up twice: not this article; the script likely runs more than once per order, for example again on a page that shows the order later. Ask us, and we look at it with you.

- [Size advice](https://site.faslet.me/knowledge-base/size-advice)
- [Products and size charts](https://site.faslet.me/knowledge-base/products-and-size-charts)
- [Getting started](https://site.faslet.me/knowledge-base/getting-started)
- [Fit Bar](https://site.faslet.me/knowledge-base/fit-bar)
- [Look and placement](https://site.faslet.me/knowledge-base/look-and-placement)
- [Returns and orders](https://site.faslet.me/knowledge-base/returns-and-orders)
- [Integrations and API](https://site.faslet.me/knowledge-base/integrations-and-api)
- [Portal, reports and A/B tests](https://site.faslet.me/knowledge-base/portal-reports-and-a-b-tests)

- Solutions 
    - [For Kids](https://site.faslet.me/en/products-kids)
- About 
    - [Blogs](https://site.faslet.me/blog)
    - [Press](https://www.deondernemer.nl/innovatie/startup-van-de-week-faslet-oplossing-online-maattabellen~3789309)
    - [Contact us](https://site.faslet.me/contact-us)
- Partners
- [Sign-up](https://portal.faslet.net/signup)

[![Faslet | The Size and Fit Technology for online clothing stores](https://site.faslet.me/hs-fs/hubfs/Faslet-logo-rgb.png?width=640&height=264&name=Faslet-logo-rgb.png "Faslet | The Size and Fit Technology for online clothing stores")](http://faslet.me)

<https://www.facebook.com/> <https://www.twitter.com/> <https://www.instagram.com/> <https://podcasts.apple.com/> [mailto:email@email.com](mailto:email@email.com)

Copyright © 2026, Faslet B.V.