Product Tours


Description


This JS API provides you access to all product tours. Access methods on this object:



window.productFruits.toursFactory



Methods



getTours()



Returns an array of all tours.





startTour(id)



Starts a tour by the given ID.


Events



pfToursLoaded




Params A collection of all tours.



Fired when all tours are loaded from Product Fruits server.





pfTourFinished




Params A tour object.



Fired when the given tour is finished by the user. It is NOT fired when the tour is skipped (see the next event).





pfTourSkipped




Params A tour object.



Fired when the given tour is skipped by the user.