Monthly Archives: November 2015

WatuPRO 5.0

Time flies and the quiz plugin WatuPRO already reached version 5.0! Here are the improvements from version 4.9 to 5.0:

  • The quiz description can optionally be shown to users with no rights to access the quiz (for example non-logged in users on quizzes that require user login, etc)
  • The “taking details” popup has been reworked to display the information better, to default to table format, and to include teacher comments (feature from Intelligence module). Note that the points & results column (including teacher comments) by  default is hidden from the student.  It can be enabled from the Edit quiz -> Advanced Settings tab -> Student Dashboard Settings section
  • New Advanced setting allows you to not store the data / result of the quiz taker. This can be useful for running practice quizzes where the results / points should not affect the reports, stats, or user level / badges etc. It also saves a lot of database space in case you don’t need this data.
  • The new shortcode watupro-result will display the result achieved by specific user on specific quiz: points, percent correct, or grade title
  • Questions from selected question categories can now be excluded from reports and CSV result exports
  • New configuration lets you exclude the categories that contain only survey questions from the %%CATGRADES%% variable
  • When “Automatically publish this quiz in new post once I hit the “Save” button.” is selected the newly created post will be categorized in the same category as the quiz  (only when  you have post category with the same name as the quiz category)
  • The watupro-userinfo shortcode now can accept fixed user ID or read user ID from the certificate. Read more at https://blog.calendarscripts.info/user-info-shortcodes-from-watupro-version-4-1-1/
  • You can mass-assign users to a WatuPRO user group
  • Export results now also satisfies your CSV preferences from the WatuPRO Settings page. No more fixed “tab” delimiter.
  • Integration with qTranslate-X (work in progress)
  • [Intelligence module] Runtime logic: you can now configure premature quiz ending in case user fails to reach given  % correct answers during the quiz (after reaching a question number, specified by you). You can also define  a “stop” logic which won’t allow the user to continue further the quiz before they achieve required % correct answers (in this case it makes sense to allow “previous” button so the quiz taker can go back to improve their answers).
  • [Intelligence module] Admin can set different quiz owner. This is useful if you have teacher accounts and assigned “manage only their own exams” rule to their user role(s)
  • [Intelligence module] When a quiz is not accessible due to unsatisfied dependencies the user will now see the table with dependencies on the quiz page so they know what needs to be done.
  • [Reporting module] Added points collected to “Stats per category” page
  • [Reporting module] New shortcode watupror-user-cat-chart lets you display bar chart showing performance per question category for a specific quiz attempt
  • [Reporting  module] New shortcode watupror-qcat-total lets you output total stats for a given user per question category. More info about it in the internal Help page under the WatuPRO menu in your dashboard.
  • Rearranged some of the Email related options to improve the UI
  • Fixed bug: when “Apply difficulty level restrictions per user account.” is selected users with no difficulty levels in their profile had no access to questions instead of accessing all of them
  • Fixed a couple of issues that caused conflicts with plugins like Relevanssi when a page containing WatuPRO shortcode was saved
  • Fixed bug: a link to delete all user quiz results was not showing when admin was viewing user quizzes (path: Users -> Quizzes)
  • Fixed bug: [Intelligence module] Paid quizzes that were purchased from bundles were not showing in My Quizzes page when “Do not display these quizzes in user dashboard until access to them is purchased” was selected.
  • Fixed bug: [Intelligence module] Quizzes paid with 100% promo codes could not be submitted. Now this is fixed + the payment records page will show the promo code payment as a regular payment for the quiz but with information about the used coupon code.

As always: eligible customers will receive this upgrade by email. If you did not receive your upgrade, please contact us. If your annual upgrades subscription has expired you can renew for another year at 40% of the price of your package. The renewal promo code will be sent by a newsletter. If you don’t receive it feel free to contact us.

Hostel PRO Conversion Tracking with Google AdWords

While this guide will show you how to implement conversion tracking with Google AdWords, the same principle can be applied for any other conversion tracking code.

From version 1.7.2 the hostel / BnB plugin Hostel PRO supports handling an “onclick” conversion  tracking  code in the Settings page.

OnClick Tracking Code?

Because HostelPRO works explicitly with Ajax, you need to use conversion tracking code that gets executed on button click, rather than code which automatically get executed on page load. The code that you set up in the Hostel PRO Settings page will be executed when the booking form is submitted successfully by the user.

Note that if your hostel requires partial payment on booking, the conversion gets tracked at the time when the payment buttons are shown. It will not wait for the payment to be made or validated.

So to complete conversion tracking  with Google AdWords you need just two steps:

Step 1: Add Google AdWords Tracking Code To Your Pages

If you are using conversion tracking  you have probably done this already. You need to get the AdWords scripts and insert them as shown here in section “Tracking clicks on links or buttons as conversions”.

Step 2: Add The OnClick Handler In Your Hostel PRO Settings Page

The code that you need to add is just “goog_report_conversion()”. No need to add URL in the function:

conversion-tracking

That’s it.

You can use this field to add any other javascript code that you want to be executed upon completing your form. It is your responsibility to add only valid javascript code.

Please also note that any JS code added here will be eval’d. Don’t give access to your WP administration to people you don’t trust.