So I am trying to be able to add code to 1 link that I have on my navigation so that I can track the number of hits. I tried looking for the information that I needed within Google Analytics but I couldn't see it. So in short I am looking to see if I can add my own code in the editor, but it looks like .liquid groups everything. Any help with this would be awesome.
Maybe Enhanced Link Atribution an the In Page Analytics report will give you what you want: