Skip to content

Commit 15acae0

Browse files
authored
Fixed StackAdapt destination broken link
1 parent b4d12e7 commit 15acae0

File tree

1 file changed

+19
-17
lines changed
  • src/connections/destinations/catalog/actions-stackadapt-cloud

1 file changed

+19
-17
lines changed

src/connections/destinations/catalog/actions-stackadapt-cloud/index.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,14 @@ title: StackAdapt Destination
33
hide-boilerplate: true
44
hide-dossier: true
55
id: 61d8859be4f795335d5c677c
6-
redirect_from: "/connections/destinations/catalog/actions-stackadapt/"
6+
redirect_from:
7+
- "/connections/destinations/catalog/actions-stackadapt/"
8+
- "/connections/destinations/catalog/stackadapt-events-conversions-/"
79
---
810

911
{% include content/plan-grid.md name="actions" %}
1012

11-
By setting up StackAdapt as a Segment destination, your Segment events will be forwarded to [StackAdapt](https://www.stackadapt.com/){:target="\_blank"}. This allows you to generate retargeting and lookalike audiences, track conversions, and measure return on ad spend using your Segment events - bypassing the need to install the StackAdapt pixel on your website and write code to send events to StackAdapt.
13+
Setting up [StackAdapt](https://www.stackadapt.com/){:target="\_blank"} as a Segment destination forwards your Segment events to StackAdapt. This allows you to generate retargeting and lookalike audiences, track conversions, and measure return on ad spend using your Segment events - bypassing the need to install the StackAdapt pixel on your website and write code to send events to StackAdapt.
1214

1315
This destination is maintained by StackAdapt. For any issues with the destination, please [submit a ticket to StackAdapt's support team](https://support.stackadapt.com/hc/en-us/requests/new?ticket_form_id=360006572593){:target="\_blank"}.
1416

@@ -17,11 +19,11 @@ This destination is maintained by StackAdapt. For any issues with the destinatio
1719
### Getting your StackAdapt Universal Pixel ID
1820

1921
1. Log in to your StackAdapt account and navigate to the Pixels page.
20-
2. Above the list of pixels, click **Install StackAdapt Pixel**.
22+
2. Click **Install StackAdapt Pixel**.
2123

2224
![Image showing location of link to install Pixel](images/install-pixel-link.png)
2325

24-
3. In the instructions that appear, copy the universal pixel ID from the code snippet. Below is an example of a code snippet where the universal pixel ID is `sqQHa3Ob1hFi__2EcYYVZg1`.
26+
3. In the instructions that appear, copy the Universal Pixel ID from the code snippet. For example, the universal pixel ID in this code snippet is `sqQHa3Ob1hFi__2EcYYVZg1`.
2527

2628
![Image showing location of universal pixel ID in code snippet](images/copy-pixel-id.png)
2729

@@ -32,13 +34,13 @@ This destination is maintained by StackAdapt. For any issues with the destinatio
3234
3. Click **Add Destination**.
3335
4. Select an existing source to connect to the StackAdapt destination.
3436
5. Give the destination a name.
35-
6. On the Settings screen, provide your StackAdapt Universal Pixel ID. This can be found on the Pixels page in StackAdapt as described above.
37+
6. On the Settings screen, provide your StackAdapt Universal Pixel ID. This can be [found on the Pixels page in StackAdapt](#getting-your-stackadapt-universal-pixel-id).
3638
7. Toggle on the destination using the **Enable Destination** toggle.
3739
8. Click **Save Change**.
3840

3941
### StackAdapt Pixel setup
4042

41-
Segment events that are forwarded to StackAdapt can be used to track ad conversions, and to generate retargeting and lookalike audiences. Please review the StackAdapt documentation for the general setup of these if you are not already familiar:
43+
Segment events that are forwarded to StackAdapt can be used to track ad conversions, and to generate retargeting and lookalike audiences. Review the StackAdapt documentation for the general setup of these if you are not already familiar:
4244

4345
- [Creating Conversion Events](https://support.stackadapt.com/hc/en-us/articles/360005859214-Creating-Conversion-Events){:target="\_blank"}
4446
- [Creating Retargeting Audiences](https://support.stackadapt.com/hc/en-us/articles/360005939153-Creating-Retargeting-Audiences){:target="\_blank"}
@@ -47,8 +49,8 @@ Segment events that are forwarded to StackAdapt can be used to track ad conversi
4749
Setup of conversion events, retargeting audiences, and lookalike audiences that fire on Segment events is largely the same as the setup in the StackAdapt documentation, with a few caveats:
4850

4951
1. You **must** select "Universal Pixel" as the pixel type. This is because the StackAdapt destination in Segment uses your Universal Pixel ID to send events to StackAdapt.
50-
2. There is no need to install the StackAdapt pixel on your website as instructed in the "Installation" step, since Segment will forward events to StackAdapt that would normally be tracked by the StackAdapt pixel.
51-
3. If you choose to set up event rules, you will need to ensure that you use the event keys supported by the the StackAdapt destination as described below.
52+
2. There is no need to install the StackAdapt pixel on your website as instructed in the "Installation" step. Segment will forward events to StackAdapt that would normally be tracked by the StackAdapt pixel.
53+
3. If you choose to set up event rules, ensure that you use the event keys supported by the StackAdapt destination.
5254

5355
### Event rules
5456

@@ -60,7 +62,7 @@ A Segment event fired with the code `analytics.track("User Registered")` can be
6062

6163
#### Ecommerce events
6264

63-
The StackAdapt destination also supports forwarding ecommerce fields for the purpose of creating event rules that match ecommerce events, with default mappings to properties specified in the [Segment V2 Ecommerce Event Spec](/docs/connections/spec/ecommerce/v2/) as described in the below table:
65+
The StackAdapt destination also supports forwarding ecommerce fields for the purpose of creating event rules that match ecommerce events, with default mappings to properties specified in the [Segment v2 Ecommerce Event Spec](/docs/connections/spec/ecommerce/v2/) as described in the table:
6466

6567
| Segment Ecommerce Event Property | StackAdapt Event Key |
6668
| -------------------------------- | -------------------- |
@@ -82,7 +84,7 @@ For events that can involve multiple products, such as checkout events, StackAda
8284
| `products.$.price` | `product_price` |
8385
| `products.$.quantity` | `product_quantity` |
8486

85-
For example, to create a conversion event when an order is completed with a revenue value greater than 10, you could set up an event rule matching an `action` value of `Order Completed` and a `revenue` value greater than 10 as shown below:
87+
For example, to create a conversion event when an order is completed with a revenue value greater than 10, you could set up an event rule matching an `action` value of `Order Completed` and a `revenue` value greater than 10:
8688

8789
![Image showing event rule in StackAdapt the matches an Order Completed event with a revenue greater than 10](images/order-completed-event-rule.png)
8890

@@ -104,7 +106,7 @@ analytics.track('Order Completed', {
104106
});
105107
```
106108

107-
#### Trait Fields
109+
#### Trait fields
108110

109111
Although trait fields are not frequently used in event rules, the StackAdapt destination forwards them and they can be used if desired.
110112

@@ -137,9 +139,9 @@ analytics.track("Order Completed", {
137139

138140
If you are using URL rules, these will be matched whenever Segment sends an event to StackAdapt with a `url` matching the URL rule. This should be accomplished by the page event Segment automatically fires when a page is viewed, so setup of URL rules should be identical to setting up URL rules with the StackAdapt pixel.
139141

140-
### Conversion Tracking with Backend Events
142+
### Conversion tracking with backend events
141143

142-
When you send events to Segment from your backend, which are forwarded to StackAdapt using Segment's backend SDKs, the user agent and IP address of the user who originated the event must be included in the event context for conversions to be tracked. StackAdapt uses the user agent and IP address to attribute the conversion to the correct event to a user who has interacted with your ads. Examples of how to do this can be found in the documentation for Segment's SDKs. For example, for the [Python SDK](/docs/connections/sources/catalog/libraries/server/python/#override-context-value) this can be done as follows:
144+
When you send events to Segment from your backend, which are forwarded to StackAdapt using Segment's backend SDKs, the user agent and IP address of the user who originated the event must be included in the event context for conversions to be tracked. StackAdapt uses the user agent and IP address to attribute the conversion to the correct event to a user who has interacted with your ads. Examples of how to do this can be found in the documentation for [Segment's SDKs](/docs/connections/sources/catalog/#server). For example, for the [Python SDK](/docs/connections/sources/catalog/libraries/server/python/#override-context-value) this can be done as follows:
143145

144146
```python
145147
analytics.track('user_id', 'Order Completed', context={
@@ -148,19 +150,19 @@ analytics.track('user_id', 'Order Completed', context={
148150
})
149151
```
150152

151-
This is necessary when using backend SDKs but not for events sent from the frontend with `analytics.js`, because `analytics.js` automatically includes the user-agent and IP address in the event context.
153+
This is necessary when using backend SDKs but not for events sent from the frontend with `analytics.js`, because `analytics.js` automatically includes the user agent and IP address in the event context.
152154

153-
### Conversion Tracking with Reverse ETL
155+
### Conversion tracking with Reverse ETL
154156

155-
When sending past events to StackAdapt using a Reverse ETL tool, the user agent, IP address, event type, and either the page URL (for conversion trackers with URL rules), or the fields the event rules match on, must be included in your mappings. For example, the below mapping for a Snowflake source can be used to match a conversion tracker with an event rule that matches an `action` of `User Registered`:
157+
When sending past events to StackAdapt using a [Reverse ETL tool](/docs/connections/reverse-etl/reverse-etl-catalog/), the user agent, IP address, event type, and either the page URL (for conversion trackers with URL rules), or the fields the event rules match on, must be included in your mappings. For example, the mapping for a Snowflake source can be used to match a conversion tracker with an event rule that matches an `action` of `User Registered`:
156158

157159
![Image showing Snowflake mapping to forward User Registered events](images/snowflake-mappings.png)
158160

159161
Rows forwarded to StackAdapt with this mapping will be matched by the `User Registered` event rule shown below:
160162

161163
![Image showing event rule in StackAdapt the matches a User Registered event](images/user-registered-event-rule.png)
162164

163-
When forwarding past events using Reverse ETL, only users who have interacted with an ad from an associated campaign within the conversion tracker's configured view-through expiry window (for impressions) or click-through expiry window (for clicks) will count as conversions. These windows can be set to up to 180 days in the conversion tracker configuration.
165+
When forwarding past events using [Reverse ETL](/docs/connections/reverse-etl/), only users who have interacted with an ad from an associated campaign within the conversion tracker's configured view-through expiry window (for impressions) or click-through expiry window (for clicks) will count as conversions. These windows can be set to up to 180 days in the conversion tracker configuration.
164166

165167
{% include components/actions-fields.html %}
166168

0 commit comments

Comments
 (0)