Sunday 15 April 2018

Zazzle Product Performance Bookmarklet

Edit April 30th: Please see this blog post for V2 of the Perfomance bookmarklet. 
Edit April 27th 2018: Updated bookmarklet to also add the new stats to the stats already displayed under each product.
April 28th: Tweaked to make the top 10 performing products stand out more by making their performance stats (labeled alltime perf) bold and red. This is so it's easy to pick the best to promote

I was checking my stats on my Zazzle products and thought it would be a great idea to see which products had the fewest views per sale.
Doing it by eye and using mental arithmetic was a pain so I was thinking about a better solution.

That's when I remembered about javascript-driven bookmarklets and thought it was a perfect mini-project.



Wait - did I hear you ask what a bookmarklet is? Here's a simple definition:
a small software application stored as a bookmark in a web browser, which typically allows a user to interact with the currently loaded web page in some way
So the idea is:
  1. Get to your store's back end
  2. Navigate to the category, department and / or do a search to bring up the products you want to see the performance for
  3. Set the sort to "Orders (all time)"
  4. Choose the number showing on the page (96 is a good choice)
  5. Make sure in your stats that you're displaying the "Orders (all time)" and the "Views"
  6. Click the bookmarklet to see the performance, best first

The best performing ones (views divided by all-time orders) come first. Only those that have sold at least 1 are included.

Get your bookmarklet here

If you want this bookmarklet to see your own best performing products, just drag the following link to your Bookmarks Toolbar (Firefox) or Bookmarks Bar (Chrome):
ZPerformance


Want to know a bit more about bookmarklets? Here's what the Wikipedia entry for it says:
A bookmarklet is a bookmark stored in a web browser that contains JavaScript commands that add new features to the browser. Bookmarklets are unobtrusive JavaScripts stored as the URL of a bookmark in a web browser or as a hyperlink on a web page. Bookmarklets are usually JavaScript programs. Regardless of whether bookmarklet utilities are stored as bookmarks or hyperlinks, they add one-click functions to a browser or web page. When clicked, a bookmarklet performs one of a wide variety of operations, such as running a search query or extracting data from a table. For example, clicking on a bookmarklet after selecting text on a webpage could run an Internet search on the selected text and display a search engine results page.