Skip to content

Commit 209c572

Browse files
Merge pull request #7485 from segmentio/spencerattick-patch-5
unencoded example
2 parents 7110947 + edbb62f commit 209c572

File tree

1 file changed

+6
-0
lines changed
  • src/connections/sources/catalog/libraries/server/pixel-tracking-api

1 file changed

+6
-0
lines changed

src/connections/sources/catalog/libraries/server/pixel-tracking-api/index.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@ Each endpoint *always* responds with a `200 <empty-gif>`, even if an error occur
5555
eyJ3cml0ZUtleSI6ICJZT1VSX1dSSVRFX0tFWSIsICJ1c2VySWQiOiAiMDI1cGlrYWNodTAyNSIsICJldmVudCI6ICJFbWFpbCBPcGVuZWQiLCAicHJvcGVydGllcyI6IHsgICAic3ViamVjdCI6ICJUaGUgRWxlY3RyaWMgRGFpbHkiLCAgICJlbWFpbCI6ICJwZWVrQXRNZUBlbWFpbC5wb2tlIiB9fQ
5656
```
5757

58+
##### If you choose not to encode your payload, send it like this instead:
59+
60+
```
61+
https://api.segment.io/v1/pixel/track?userId=user_123&event=Email Opened&properties.subject=The Electric Daily&[email protected]&writeKey=<YOUR_WRITE_KEY>
62+
```
63+
5864
##### Add an image tag to your email newsletter with `src` pointing to a Pixel API route:
5965

6066
```html

0 commit comments

Comments
 (0)