Custom Code To Track A Link

New Member
2 0 0

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.

0 Likes
Shopify Expert
246 0 38

Maybe Enhanced Link Atribution an the In Page Analytics report will give you what you want:

https://support.google.com/analytics/answer/2558867?hl=en

Technical SEO Consultant - Specialising in setting up Structured Data for Rich Snippets, Google Analytics for advanced reports and the Google Search Console for efficient crawling.
0 Likes
Highlighted
Shopify Staff
Shopify Staff
84 0 11

I'll move this thread to Shopify Design

0 Likes