https://github.com/taskrabbit/sailthru-proxy
hacking Sailthru link tracking
https://github.com/taskrabbit/sailthru-proxy
Last synced: 9 months ago
JSON representation
hacking Sailthru link tracking
- Host: GitHub
- URL: https://github.com/taskrabbit/sailthru-proxy
- Owner: taskrabbit
- Created: 2015-11-19T23:52:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-11-20T20:00:56.000Z (over 10 years ago)
- Last Synced: 2025-01-02T11:27:09.939Z (about 1 year ago)
- Language: JavaScript
- Size: 272 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SailThru Proxy Server for iOS Universal Links
## What?
SailThu does not support universal links, so you cannot trigger yoru iOS apps to open via a SailThru email. They lack HTTPS capabilties, and the ability to host an external file (the required `apple-app-site-association` file).
But we can hack around this via some DNS tricks and this small server! This app will be the real host for your company-specific CNAME to `http://cb.sailthru.com`, and it will pass all traffic to them as a proxy.
Now you can HTTPS-enable this application, and serve the requsite JSON payload... all while still tracking your Email clicks and relying on SailThru to respond with the proper URL re-write data and UTM* tracking variables!

## Install
- `git@github.com:taskrabbit/sailthru-proxy.git`
- `npm install`
## Testing
- Start up some other server you want to test, like perhaps a rails app
- `PROXY_TARGET=http://localhost:3000 PORT=8080 npm start`
## Production
- `PROXY_TARGET=http://cb.sailthru.com PROXY_HOST=sailthru-links.taskrabbit.com npm start`