Google Analytics Tracking

Last updated: Apr 14, 2021

TestFreaks Hosted UI can generate analytics events, either to your website’s dataLayer or directly to Google’s analytics.js or ga.js.

The events are organized into two main categories:

  • Display Events - Generated as the implementation displays review and Q&A content.
  • Content Events - Generated as the user interacts with the content.

You might want to read about Google Analytics Event Tracking in general before reading this document.

Display Events

The Hosted UI generates the following (non-interactive) events when content is displayed:

Event Category Event Name Description
TestFreaks Load Reviews DisplayReviews One or more reviews displayed
TestFreaks Load QA DisplayQA One or more questions displayed

The action for these events is the category followed by the name. For example: TestFreaks Load Reviews DisplayReviews.

Review Content Events

The following events are generated when interacting with review content. The category for these events is TestFreaks Reviews.

Event Name Description
ViewReviews Review content is displayed in view for at least 2 seconds, and/or was loaded with a click (non-interactive)
ClickBadge Click on the review star badge, scrolling to the review section
ClickCustomerReviewsTab Click on review tab for your native customer reviews
ClickUserReviewsTab Click on user reviews tab
ClickExpertReviewsTab Click on expert reviews tab
ClickWriteReview Click on the Write Review button, tab or link
ClickPaginateNext Click on the pagination to load more reviews
ClickUserSubmittedPhoto Click on an image
ClickYesHelpfulVote Click on text or icon indicating that review is helpful
ClickNoHelpfulVote Click on text or icon indicating that review is not helpful
ClickReportLink Click on report inappropriate content
ClickReviewLink Click on link to read full review
ClickVideo Click on the video badge, starting video playback
SubmitReview Successfully submitted a review

The action for these events is TestFreaks Reviews followed by the event name. For example TestFreaks Reviews ClickBadge.

Q&A Content Events

The following events are generated when interacting with Q&A content. The category for these events is TestFreaks QA.

Event Name Description
ViewQA Q&A content is displayed in view for at least 2 seconds, and/or was loaded with a click (non-interactive)
ClickAskQuestion Click on the Ask Question button, tab or link
ClickPaginateNext Click on the pagination to load more questions
ClickUserSubmittedPhoto Click on an image
ClickYesHelpfulVote Click on text or icon indicating that question is helpful
ClickNoHelpfulVote Click on text or icon indicating that question is not helpful
ClickReportLink Click on report inappropriate content
SubmitQuestion Successfully submitted a question

The action for these events is TestFreaks QA followed by the event name. For example TestFreaks QA ClickAskQuestion.

Non-interactive Events

Events marked as non-interactive will not impact bounce rates in Google Analytics.