Module: RedisTracking



# In controller include module # Track event for index action

include RedisTracking

track_redis_hll_event :index, :show, name: 'i_analytics_dev_ops_score'

You can also pass custom conditions using `if:`, using the same format as with Rails callbacks. You can also pass an optional block that calculates and returns a custom id to track.

Method Summary

Methods included from Gitlab::Tracking::Helpers

#dnt_enabled?, #trackable_html_request?