The requirement is to enhance Contact Form 7 plugin for WordPress to enable users setup goals.
- a landing page for the plugin inside the WP installation which shows the users how to create goals, etc.
- Create a new tab next to additional settings called "Goals"
- 2 options to start with: On submit, Redirection
- On submit:
- - take user input on category, action, label, value
- - add the goal tracking code using wp_footer to the template. also check the form ID so that there can be different values based on forms [url removed, login to view]
- - dropdown of existing pages
- - add the redirection code using wp_footer to the template. also check the form ID so that there can be different thank you pages. check what this plugin is using. [url removed, login to view]
Make sure adding this code doesnt affect any other functionality or WordPress or any other plugins.
Code should be backward compitable.