How do I pass options to the the google +1 button to use the base url, and ignore the hash parameters?
The documentation specifies three different methods of specifying the URL to get +1'd.
- The button's href attribute
- The page's
<link rel="canonical" ... />
tag- The URL provided by document.location.href (not recommended)
The easiest way is to write <g:plusone href="..."></g:plusone>
.