I created a plugin which has a shortcode that displays a button in a form. I would like to track the button clicks with an onclick() script and save the amount of clicks to a meta field. I am just not sure where to save this data. I don't want this data to be saved to a posts meta field, as this isn't post specific. Should such data be saved to the wp-options table? What's the best way to do this?
Thanks!