The reason for hardcoding was that Toolbar text links will be different in different languages, so that I implemented that way that analytics always will come up in English. (based on the icon user the link text, eg. arrow left, arrow right). 
Is there other way how to track those buttons in a toolbar?