Skip to content

Commit 71da8aa

Browse files
move section
Co-authored-by: Thomas Gilbert <[email protected]>
1 parent 8c25b29 commit 71da8aa

File tree

1 file changed

+9
-0
lines changed
  • src/connections/destinations/catalog/topsort

1 file changed

+9
-0
lines changed

src/connections/destinations/catalog/topsort/index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,16 @@ The mappings in the Topsort destination are built based on the Segment [Ecommerc
3535
5. Enable only the Track events relevant to your site and so that the events do not get duplicated with a single user action. For example, if you always trigger a `Product Clicked` event together with the `Product Added` event when a user makes a click in the "Add to cart" button, then you should enable only the `Product Clicked` event for the Topsort Destination.
3636

3737
{% include components/actions-fields.html %}
38+
### Track
3839

40+
You don't need to change anything about the way you report Track events to Segment. The only extra field you need to provide, only for the `impression` and `click` events, is the `resolvedBidId` given in the winner promoted product (whether it is from the [Auctions API](https://docs.topsort.com/reference/createauctions){:target="_blank"} or the [proxy](https://docs.topsort.com/reference/listings-low-code){:target="_blank"} response). Please find below an example call to track a product listing page (PLP) click event with the `resolvedBidId` included:
41+
42+
```js
43+
analytics.track("Product Clicked", {
44+
product_id: product.id,
45+
name: product.name,
46+
resolvedBidId: product.resolvedBidId
47+
});
3948
### Identify
4049

4150
For Segment's browser and mobile libraries Topsort recommends that you identify your logged-in users using Segment's [Identify method](/docs/connections/spec/identify/).

0 commit comments

Comments
 (0)