Title: [Plugin: Google Analytics for WordPress] Feature request: track comment posting
Last modified: August 19, 2016

---

# [Plugin: Google Analytics for WordPress] Feature request: track comment posting

 *  [jsruok](https://wordpress.org/support/users/jsruok/)
 * (@jsruok)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-feature-request-track-comment-posting/)
 * Could it be possible to track comment posting?
 * Maybe this could be achieved by using comment_form hook and inserting something
   like this pseudo javascript code:
 * `
    document.commentform.onsubmit = "pageTracker._trackPageview('/comment_posted/'
   + article_name);";
 * What do you think?

The topic ‘[Plugin: Google Analytics for WordPress] Feature request: track comment
posting’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [hook](https://wordpress.org/support/topic-tag/hook/)

 * In: [Requests and Feedback](https://wordpress.org/support/forum/requests-and-feedback/)
 * 0 replies
 * 1 participant
 * Last reply from: [jsruok](https://wordpress.org/support/users/jsruok/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/plugin-google-analytics-for-wordpress-feature-request-track-comment-posting/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
