HTTP Redirect Request
You can implement the cookie-based opt-out mechanism through an HTTP redirect call. For example, if you implement the following HTML tag, OpenX redirects the user to the appropriate URL (as specified by the s
and f
parameters) based on the success or failure of the opt-out process.
<a href="http://d.example.com/privacy/optout?
s=http://example.com/success.html&f=http://example.com/failure.html">
click here to opt-out</a>
Where:
http
: The protocol. If your website uses SSL/TLS, replacehttp
withhttps
.d.example.com
: The custom hostname of the OpenX delivery server.?
: Separates the opt-out URL from the parameters.s
: (required) Specifies the URL to redirect to if the opt-out is successful.f
: (required) Specifies the URL to redirect to if the opt-out is not successful.&
: An ampersand separates each parameter.
OpenX does not serve any HTML content back to your users; the system simply redirects to the appropriate content page indicated by the supplied arguments.