adding anchor event tracking