provider Settings - Tracking PATCH
/tracking_settings/click @utdk/sendgrid
/tracking_settings/click Update Click Tracking Settings
**This endpoint allows you to enable or disable your current click tracking setting.**
Click Tracking overrides all the links and URLs in your emails and points them to either SendGrid’s servers or the domain with which you branded your link. When a customer clicks a link, SendGrid tracks those [clicks](https://sendgrid.com/docs/glossary/clicks/).
Click tracking helps you understand how users are engaging with your communications. SendGrid can track up to 1000 links per email
- on-behalf-of header
- string
Try it
Authentication
Configure credentials for Email Activity (beta)
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import sendgrid from '@utdk/sendgrid';
await sendgrid.patchTrackingSettingsClick({
"on-behalf-of": "The subuser's username. This header generates the API call as if the subuser account was making the call."
})