Title: Analytics
Last modified: August 31, 2016

---

# Analytics

 *  Resolved [mathijs84](https://wordpress.org/support/users/mathijs84/)
 * (@mathijs84)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/analytics-15/)
 * I want to set Reservations Goals in Google analytics.
 * Do you have instructions on how to set it up when booked through the site??
 * [https://wordpress.org/plugins/restaurant-reservations/](https://wordpress.org/plugins/restaurant-reservations/)

Viewing 1 replies (of 1 total)

 *  [NateWr](https://wordpress.org/support/users/natewr/)
 * (@natewr)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/analytics-15/#post-7340538)
 * Hi mathijs84,
 * How you go about this depends on how you want to track your goal in Google Analytics.
   The way that I’m familiar with is to [fire off an event with JavaScript](https://developers.google.com/analytics/devguides/collection/analyticsjs/events).
   The previous link should give you a guide on how to do that.
 * In terms of the plugin itself, here is an example of [firing off a little bit of JavaScript when a booking is successfully submitted](https://gist.github.com/NateWr/79891d113284d486b4d6).
   The JavaScript in that snippet needs to be replaced with your Google Analytics
   event request.
 * Also, if you haven’t seen it yet, you may be interested in the [developer documentation](http://doc.themeofthecrop.com/plugins/restaurant-reservations/developer/)
   for Restaurant Reservations. It includes a big list of code snippets like this
   that can help you do more with the plugin.

Viewing 1 replies (of 1 total)

The topic ‘Analytics’ is closed to new replies.

 * ![](https://ps.w.org/restaurant-reservations/assets/icon-128x128.png?rev=2205491)
 * [Five Star Restaurant Reservations - WordPress Booking Plugin](https://wordpress.org/plugins/restaurant-reservations/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/restaurant-reservations/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/restaurant-reservations/)
 * [Active Topics](https://wordpress.org/support/plugin/restaurant-reservations/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/restaurant-reservations/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/restaurant-reservations/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [NateWr](https://wordpress.org/support/users/natewr/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/analytics-15/#post-7340538)
 * Status: resolved