Support » Plugin: YOP Poll » Segregate the poll votes

  • Hi,

    I already created an ticket regarding this issue. Kindly look into it and provide a solution.

    I have explained my issue below.

    The voting system is not working as you explained. Let me explain how its workings

    <?php echo do_shortcode( ‘[yop_poll id=”1″ tracking_id=”poll_1″]’ ); ?>
    <?php echo do_shortcode( ‘[yop_poll id=”1″ tracking_id=”poll_2″]’ ); ?>

    The above two are my shortcodes which I have used in my project. If I vote for the second poll, the vote percentage considers that result of the first poll. But, in my case, it should not consider the voting count of the first poll.

    Kindly provide a solution, I struck here. It would be very helpful if you provide a solution and give an example code that exactly solves my problem.

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YOP



    Here are the 2 options I am seeing …

    1. Create a new poll for each page.
    This way you see results for each page.

    2. Create a single poll and use tracking ids for each page you add the poll on.

    I personally think #2 would be a better fit.
    One problem that I am seeing with it is that you can’t segment results for specific tracking ids in the backend. But it is a feature that can be added.

    And another one with displaying results on the front end.

    What are your settings for displaying results for your voters?

    YOP Team


    Thank you for your reply.

    I have given the link to the screenshot of the image file. Kindly have look into it.

    From the Image file, you can see I have two polls with the same id and different tracking id.

    So, In the first poll, I voted for “Yes”. So, I got a 100% voting result. And in the second poll, I voted for “No”. But, here it also considers the result of the first poll.

    My Expected Behaviour should be:

    I also should get 100% result for voting in “No”, it should not take the result of first poll.

    Hoping for a solution from you.

    Thanks in advance.

    Kindly reply.

    I’m waiting for your reply.

    Thanks in Advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.