This opens up the possibility of various integrations, e.g. Google Analytics, Kissmetrics.

Comments

katbailey’s picture

Assigned: Unassigned » katbailey

  • Commit 3159a82 on 7.x-1.x by katbailey:
    Issue #2222345 by katbailey: Fire an event in personalize.js when an...
katbailey’s picture

Status: Active » Fixed

To see what this gets you, add this in your Drupal.behaviors.myModule and view the console output:

$(document).bind('personalizeDecision', function(event, $option_set, chosen_option, osid) {
  console.log($option_set);
  console.log(chosen_option);
  console.log(osid);
});

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.