Google Analytic - Waiviogit/waivio GitHub Wiki

πŸ” Google Analytics Events

πŸ“„ Main Menu Navigation

Track clicks on main menu items:

  • click_myfeed
  • click_earn
  • click_mainshop
  • click_tools
  • click_about

Track page views when users open the pages:

  • view_myfeed
  • view_earn
  • view_mainshop
  • view_tools (Note: view_about not needed as it's an object page.)

πŸ”Ž Search & Voting

  • use_search β€” When the user uses the search functionality
  • add_vote β€” When the user votes
  • search_${props.searchType.toLowerCase()} β€” Dynamic search event
  • search_dish_in_quick_rewards_modal β€” Search for dishes inside Quick Rewards modal
  • search_restaurant_in_quick_rewards_modal β€” Search for restaurants inside Quick Rewards modal
  • vote_comment - Vote for comment

🧭 Header Interactions

Track clicks on header elements:

  • click_logo β€” When clicking the site logo
  • click_editor β€” When clicking the editor button
  • click_profile β€” When clicking the user profile

πŸ“ Post Publishing

  • publish_post β€” After clicking the β€œPublish” button in the preview
  • create_post_in_quick_rewards_modal β€” User creates a post inside Quick Rewards modal
  • publish_comment β€” User publishes a comment
  • posted_review β€” User posts a review

πŸ” Sign-In Flow

Click events for sign-in UI:

  • click_sign_in β€” When the sign-in button in the header is clicked
  • click_sign_in_hivesigner β€” Click on HiveSigner option
  • click_sign_in_hiveauth β€” Click on HiveAuth option
  • click_sign_in_google β€” Click on Google sign-in option

(Note: There is an existing sign_in event, but its usage is unclear β€” consider removing it.)

Events confirming successful sign-in (for funnel analysis):

  • signed_in_hivesigner
  • signed_in_hiveauth
  • signed_in_google

These help differentiate between attempts and actual sign-ins.


🧱 Object Page Interactions

Track clicks on interactive elements on object pages:

  • click_follow_object

  • click_edit_object

  • click_heart

  • click_write_a_new_review_for_object

  • view_${objectType} β€” Dynamic view event for object pages

  • view_post β€” User views a post

  • view_user_profile β€” User views another user’s profile

  • getObjectName(obj) β€” Retrieves or logs object name (consider usefulness)

  • click_submit_photos β€” From product page: β€œSubmit photos” button

  • on_click_submit_dish_photos β€” When submitting dish photos

  • buy_now β€” User initiates a β€œBuy now” action

  • reblog β€” User reblogs content

  • click_button_find_rewards β€” Click on "Find Rewards" button

  • reserve_proposition_in_quick_rewards_modal β€” Reserving a proposition in Quick Rewards modal


πŸšͺ Logout

  • logout β€” When the user logs out

Additional information

  • Add Google Analytics events #7601
  • [system / analytics] The Google Analytics code from Waivio production should not be used in staging. #7644