What I want to do is capture a url parameter and save it to a user friendly exportable database. Ideally Id love to do this with wordpress.
The KEY element here is I want this to happen on page load.
Im effectively trying to create a opt out database page.
So if I send someone a message and I give them link to opt out of future messages, I want them to be able to click the link and it adds them to the database without having to do anything else, then redirect them to a page of my choice.
Basically 1 click opt out.
So a url might be
http://www.domain.com/?=parameter
I want to save "parameter" to a database and then able to export that into excel.
So the user clicks on http://www.domain.com/?=parameter and the server grabs the parameter, adds it to the database and redirects them to a page that says "parameter" has been opted out, have a great day. (or whatever).
If there is a way to do this inside of wordpress that would be handy, but its not the end of the world if its outside of wordpress.
Also there is possibly a ready made solution, but Im just not aware of it, by all means if you can point me to it Im all for it.
Im NOT using a big platform like aweber etc... I am just sending messages, I need a way to handle the opt outs. Once I have the parameter in the database and export it to excel, Ive got all the rest handled.
Thoguhts?
The KEY element here is I want this to happen on page load.
Im effectively trying to create a opt out database page.
So if I send someone a message and I give them link to opt out of future messages, I want them to be able to click the link and it adds them to the database without having to do anything else, then redirect them to a page of my choice.
Basically 1 click opt out.
So a url might be
http://www.domain.com/?=parameter
I want to save "parameter" to a database and then able to export that into excel.
So the user clicks on http://www.domain.com/?=parameter and the server grabs the parameter, adds it to the database and redirects them to a page that says "parameter" has been opted out, have a great day. (or whatever).
If there is a way to do this inside of wordpress that would be handy, but its not the end of the world if its outside of wordpress.
Also there is possibly a ready made solution, but Im just not aware of it, by all means if you can point me to it Im all for it.
Im NOT using a big platform like aweber etc... I am just sending messages, I need a way to handle the opt outs. Once I have the parameter in the database and export it to excel, Ive got all the rest handled.
Thoguhts?