Browse Source

add uservoice feedback integration

Alan Shreve 12 years ago
parent
commit
ce851f09bd
1 changed files with 17 additions and 0 deletions
  1. 17 0
      assets/page.html

+ 17 - 0
assets/page.html

@@ -111,5 +111,22 @@
                 </div>
             </div>
         </div>
+        <!-- UserVoice JavaScript SDK (only needed once on a page) -->
+        <script>(function(){var uv=document.createElement('script');uv.type='text/javascript';uv.async=true;uv.src='//widget.uservoice.com/4KUmdF6WZd302MfwoayMw.js';var s=document.getElementsByTagName('script')[0];s.parentNode.insertBefore(uv,s)})()</script>
+
+        <!-- A tab to launch the Classic Widget -->
+        <script>
+        UserVoice = window.UserVoice || [];
+        UserVoice.push(['showTab', 'classic_widget', {
+          mode: 'feedback',
+          primary_color: '#cc6d00',
+          link_color: '#007dbf',
+          forum_id: 211925,
+          tab_label: 'Feedback',
+          tab_color: '#cc6d00',
+          tab_position: 'middle-left',
+          tab_inverted: false
+        }]);
+        </script>
     </body>
 </html>