fixing adding anchor event tracking