Today we’re excited to announce the release of version 3.1.2 of the Amazon Affiliate WordPress plugin. This update includes a bunch of new features like click tracking for affiliate links, plus several improvements and fixes.
Over the last few weeks a lot of you asked for the opportunity to track click on affiliate links which are generated by the plugin. We added this feature which can be activated via the plugin settings from now on. In order to use this you only have to place a Google Analytics or Piwik tracking code on your site. AAWP will automatically detect both tools and makes use of their event tracking functionality.
Updating custom templates
In case you want to use click tracking with your custom templates, you have to update them.
Therefore simply apply the_product_container function to the container of a single product. According to the box template example above, you can see how it's done correctly. Of course you can take a look into the original templates provided by AAWP and compare them with yours. If you have any troubles updating your templates, feel free to contact us.
Finally here’s the complete changelog including the new features, enhancements and some bug fixes:
- New: Added affiliate link click tracking which can be enabled via settings. Currently supporting Google Analytics & Piwik
- New: Added Amazon logo for link shortcode which can be selected via settings and/or shortcode
- New: Added “star_rating” shortcode attribute accepting the value “none” for hiding the star rating
- New: Added “reviews” shortcode attribute accepting the value “none” for hiding the star rating
- New: Added field values “asin”, “ean” and “isbn”
- Improvement: Optimized cache handling when using third party caching plugins and object cache
- Improvement: Enhanced filter functionality, added opportunities by filtering prices and checking multiple strings for titles
- Fix: Error message: Could not resolve host: webservices.amazon.de
- Fix: PHP implode warning: class.aawp-api.php
- Fix: eBooks with costs accidentally showed 0.00 EUR as price
- Fix: Remove double quotes from html titel/alt tags which broke up the markup
- Fix: Affiliate links table on settings page broke layout on small window sizes using Chrome browser