Track clicks for galleries