Vote Anonymous

This project is not covered by Drupal’s security advisory policy.

The Vote Anonymous module enables anonymous users to vote on nodes using cookie-based tracking, with no login required.

Use Case

Ideal for blog posts, community polls, or any content where you want quick anonymous engagement without a complex rating UI:

  • No third-party dependencies - installs and works out of the box
  • Anonymous-first - cookie-based voting without requiring users to log in
  • Easy to implement on both node listing and node detail pages
  • Configurable at global level or per individual node

How It Works

Voting is controlled by browser cookies. If a cookie already exists for a visitor, the module displays a configurable message such as "You have already submitted!" and optionally disables the voting link.

  • Global voting — uncheck "Single Node Voting". A user cannot vote on any node once they have voted on any single node of the selected content type.
  • Per-node voting — check "Single Node Voting". A user can vote independently on each node.

Installation

Vote Anonymous is compatible with Drupal 10,11 and 12.

  1. Install using Composer: composer require drupal/vote_anon
  2. Enable the module at Admin → Extend

Configuration

Configuration of Vote Anonymous module.

  1. Go to Admin → Configuration → System → Vote Configuration Form.
  2. Fill in the message displayed after voting
  3. Enter a name for the voting cookie
  4. Select the content type
  5. Click "Save Configuration".
  6. Go to node page of selected content type, there we will see a link "Vote for". When you click on that link, it will say "Thank you for your vote!".
  7. Admin can also access vote count page at /vote-count.
Supporting organizations: 
Development and bug fixing

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Project categories: Content display
  • chart icon13 sites report using this module
  • Created by dkmishra on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases