StackAdapt

StackAdapt

Send event data to StackAdapt

The configuration process for this destination mirrors Segment's setup. We've automatically modified the documentation from third-party sources to show you how to set up this destination with PostHog.

By setting up StackAdapt as a PostHog destination, your PostHog events will be forwarded to StackAdapt. This allows you to generate retargeting and lookalike audiences, track conversions, and measure return on ad spend using your PostHog events - bypassing the need to install the StackAdapt pixel on your website and write code to send events to StackAdapt.

Installation

Configuration

OptionDescription
Universal Pixel ID
Type: string
Required: True

Your StackAdapt Universal Pixel ID

Debug Mode
Type: boolean
Required: False

Will log configuration and request details

Using our REST API you can create this destination like so:

Terminal
# Create a new destination
curl --location 'https://us.i.posthog.com/api/environments/:project_id/hog_functions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer <POSTHOG_PERSONAL_API_KEY>' \
--data '{
"type": "destination",
"name": "StackAdapt",
"inputs": {
"pixelId": {
"value": ""
}
},
"enabled": true,
"template_id": "segment-actions-stackadapt-cloud"
}'

FAQ

Is the source code for this destination available?

Yes. The source code is available on GitHub.

Who maintains this?

This is maintained by Segment. If you have issues with it not functioning as intended, please let us know!

What if I have feedback on this destination?

We love feature requests and feedback. Please tell us what you think.

What if my question isn't answered above?

We love answering questions. Ask us anything via our community forum.

Parts of this page are sourced from segmentio/segment-docs under the Creative Commons Attribution 4.0 International License. The content may have been modified according to this code.