The Dynamic Survey Plugin allows you to create, manage, and track surveys directly from the WordPress admin dashboard. Users can vote on various survey options, and you can easily view and analyze their responses in real-time. This plugin is ideal for gathering feedback, conducting polls, and engaging with your website visitors.
- Create Surveys: Easily create surveys with customizable questions.
- Add Options: Define multiple options for each survey question.
- Vote Tracking: Track votes by users, including the time of the vote, the option selected, and user IP addresses.
- Admin Dashboard: Access detailed voting reports, including the survey question, the user who voted, and the vote time.
- Download the plugin
.zipfile. - In your WordPress admin panel, navigate to Plugins > Add New.
- Click on Upload Plugin, then choose the
.zipfile and click Install Now.
- After the plugin is installed, click Activate to enable it on your website.
- When activated, the plugin will automatically create the necessary database tables for surveys and votes.
Once the plugin is activated, you can start creating surveys:
- In the WordPress admin panel, go to Surveys > Add New Survey.
- Enter your question in the Question field.
- Click Publish to save the survey.
- After publishing your survey, click Add Survey Options to define possible answers to the survey question.
- Add multiple options, each with a descriptive text, and click Add Option for each.
- You can add as many options as needed for your survey.
- After creating a survey, the plugin will generate a unique shortcode for that survey. You can find the shortcode under Surveys > All Surveys.
- To display a survey on any post, page, or widget, simply insert the shortcode
[dynamic_survey id="X"](replace X with the Survey ID).
- In any page or post, paste the shortcode where you'd like the survey to appear.
- Navigate to Appearance > Widgets, and add a Text Widget or Custom HTML Widget.
- Insert the shortcode in the widget to display the survey in a sidebar or footer area.
- Users will see the survey question and available options on the page or post where you inserted the shortcode.
- Users select an option and submit their vote. If they are logged in, their user ID will be recorded along with their vote.
- If they are not logged in, the user's IP address will be recorded for the vote.
- After submitting their vote, users will see a confirmation message thanking them for participating.
- In the admin panel, go to Surveys > Survey Tracking to view detailed voting data.
- You will see a table displaying all the votes for each survey, including:
- Survey Question: The question of the survey.
- User: The name of the user who voted.
- Vote Time: The date and time when the vote was cast.
- You can export the results in CSV format by clicking the Export button on the Survey Tracking page.
- To edit a survey, go to Surveys > All Surveys, then click Edit under the survey you want to modify.
- To delete a survey, click Trash.
- After creating a survey, you can add or remove options via the Edit Survey page. Simply scroll to the Options section to manage the options.
- Each vote is recorded along with the user who cast the vote (if logged in) and the time of voting.
- Votes are also associated with a survey option and stored in the database for reporting purposes.
The Survey Voting Tracking page allows admins to review the details of votes for each survey:
- The page displays the following information:
- Survey Question: The question for which votes are tracked.
- User Name: The name of the user who voted (if registered).
- Vote Time: The timestamp of when the vote was cast.
- If your survey receives a high volume of votes, the list of votes may be paginated. You can use WordPress’s default pagination or implement custom pagination to improve performance.
- User Voting Limits: Each user can vote only once per survey. This is enforced by recording the user's ID (if logged in) or IP address.
- Data Privacy: IP addresses are recorded for users who are not logged in. Please ensure your website's privacy policy reflects this.
- Survey Data Storage: All survey and vote data is stored in custom database tables, so there is no risk of interfering with default WordPress data.
- Make sure you are using the correct shortcode
[dynamic_survey id="X"]. - Ensure that the survey is published and not in draft mode.
- Make sure that users have participated in the survey. Check that you have surveys that are live and that the survey options are correctly defined.
- If you experience issues with other plugins, try deactivating other plugins temporarily to check for conflicts.
If you wish to uninstall the plugin, follow these steps:
- Navigate to Plugins > Installed Plugins and click Deactivate next to the Dynamic Survey plugin.
- After deactivating, you can delete the plugin from the same page by clicking Delete.
- If you want to remove survey-related data from the database, ensure that you manually delete the plugin's tables (
dynamic_surveys,dynamic_survey_options, anddynamic_survey_votes) via a database management tool like phpMyAdmin or using WP-CLI.
The Dynamic Survey Plugin makes it easy to create surveys and collect user feedback directly on your WordPress site. By following the steps above, you can create engaging surveys, track votes, and analyze results in your admin dashboard.
For any further support or custom feature requests, feel free to reach out!