Title: Log with Javascript
Last modified: August 13, 2018

---

# Log with Javascript

 *  [Taylor Gorman](https://wordpress.org/support/users/taylorgorman/)
 * (@taylorgorman)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/log-with-javascript/)
 * Hi Pär! I just installed Simple History and am really looking forward to using
   and extending it. Thanks for the excellent tool. Question: Do you have a way 
   for us to log activity with Javascript instead of PHP? I couldn’t find any documentation
   on that. I have plenty of front-end activity I would like to log with Simple 
   History. Thanks!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/log-with-javascript/#post-10585933)
 * hi! I guess it depends on what kind of activity you want to log? You could easily
   catch something using jQuery or plain js and then do an AJAX request to WordPress
   where you create a wp_ajax-method that recieves the request and add it to Simple
   History. Perhaps if you could specify something more specific your would like
   to log then maybe I could create a very short and simple example for you.

Viewing 1 replies (of 1 total)

The topic ‘Log with Javascript’ is closed to new replies.

 * ![](https://ps.w.org/simple-history/assets/icon.svg?rev=3225008)
 * [Simple History – Track, Log, and Audit WordPress Changes](https://wordpress.org/plugins/simple-history/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-history/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-history/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-history/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-history/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-history/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 1 reply
 * 2 participants
 * Last reply from: [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * Last activity: [7 years, 8 months ago](https://wordpress.org/support/topic/log-with-javascript/#post-10585933)
 * Status: not resolved