Skip to content

Commit 85a0e38

Browse files
lint fix (#6)
fix lint
1 parent 5507716 commit 85a0e38

File tree

1 file changed

+2
-3
lines changed
  • src/connections/destinations/catalog/actions-topsort

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Setting up an events integration is one of the 3 steps to integrate with Topsort
1010

1111
This destination is maintained by Topsort. For any issues with the destination, [contact the Topsort Support team](mailto:[email protected]){:target="_blank"}.
1212

13-
1413
## Getting started
1514

1615
### Intro to Topsort Events
@@ -21,11 +20,10 @@ This destination helps you track the 3 main events Topsort needs to serve the mo
2120
- **Click**: If the user then clicks or adds the promoted product to a cart, you should trigger a `click` event.
2221
- **Purchase**: When an order is completed and confirmed to be successful, report a `purchase` event to Topsort. You can report a purchase whether it has promoted products or not. Topsort takes care of filtering relevant promoted products inside the completed order given the information about promoted clicks.
2322

24-
This destination has 3 default presets that map the Track events `'Product Viewed'`, `'Product Clicked'` and `'Order Completed'` to Topsort's `impression`, `click` and `purchase` events, respectively. If you’re not familiar with the Segment Spec, take a look to understand what the [Track method](/docs/connections/spec/track/) does.
23+
This destination has 3 default presets that map the Track events `'Product Viewed'`, `'Product Clicked'` and `'Order Completed'` to Topsort's `impression`, `click` and `purchase` events, respectively. If you’re not familiar with the Segment Spec, take a look to understand what the [Track method](/docs/connections/spec/track/) does.
2524

2625
The mappings in the Topsort destination are built based on the Segment [Ecommerce Spec](/docs/connections/spec/ecommerce/v2/). If you have different Segment Track events mapped to these action definitions, then Topsort can adapt this destination to your case. Once the destination is configured, activate only the mappings relevant to your site. See point 5 of the [set up](#set-up-your-topsort-destination) for more details.
2726

28-
2927
### Set up your Topsort destination
3028

3129
1. From the Segment web app, click **Catalog**, then click **Destinations**.
@@ -35,6 +33,7 @@ The mappings in the Topsort destination are built based on the Segment [Ecommerc
3533
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.
3634

3735
{% include components/actions-fields.html %}
36+
3837
### Track
3938

4039
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:

0 commit comments

Comments
 (0)