-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Should have
-
None
-
None
Summary
With the implementation of Mixpanel we are modifying the approach to Web Analytics to focus on a few key metrics, including Active Monthly Readers on post pages. One of the things we'd like to track is when a user leaves a comment on a post.
We'd like to implement a Data Layer Event for "comment_submitted" at the comment block level. If possible, it would be nice to include the contents of the comment and whether the comment was approved and published by admins as parameters since there is no easy way to see the contents of the comments for sentiment analysis without exporting the entire site contents.
Requirements
1. Create a Data Layer Event for "comment_submitted"
2. (If possible) create parameters for the "comment_submitted" event:
- comment_contents - (text string)
- comment_published - (yes or no)