1) For publishers using WordPress, sometimes a comparison tool might 'spontaneously' break. This can happen if you edit the article where the tool is placed. Switching between the text editor and the visual editor in WordPress adds extra code to the script, causing the Comparison tool to stop working.
There are two solutions: either regenerate the comparison tool or use the WordPress plugin.
With the WordPress plugin, you can place the same tool using a shortcode. This is a tag that WordPress can handle well. You won't need to place a script, and the tool will never break.
Download the WordPress plugin here.
2) Your website, especially those using WordPress, might be loading jQuery multiple times. Each generated tool code includes a line where jQuery is loaded by default. Open the source code of your website (right-click → view source) on a page without a Comparison tool and look in the header for a line like this:
<script type="text/javascript" src="http://www.websiteaddress.com/wp-includes/js/jquery/jquery.js?ver=1.10.2"></script>
If you find the above line in your website's header, it means jQuery is already being loaded. When you paste the code for the tools, you can remove the jQuery line.
When generating the code, there's always a checkbox that says "jQuery is not yet loaded on my website." If you uncheck this, jQuery will not be included in the tool's code.
3) The tool might be causing JavaScript / jQuery errors. To find out if this is the case, you can do the following:
- Google Chrome: Right-click → Inspect Element
- Firefox: Right-click → Inspect Element (possibly only with an extension like Firebug)
- Internet Explorer → Press F12 to open the developer tools. Within these functions, go to the 'Console' tab. Errors caused by JavaScript and jQuery will be displayed here. You might need to refresh the page with the console open to make the errors visible.
If there are errors, they are probably caused by your theme or plugins. You can deactivate the plugins one by one and check if the comparison tool works.