Jump to content

Tracking outbound link clicks in Google Analytics

Recommended Posts

Site URL: https://www.corepipe.com

Good morning!

We are using Squarespace as our primary website and then have a Magento site for our e-commerce needs. In menu of our Squarespace site we have a "Shop" button that links to the Magento site and opens a new window. 

In Google Analytics I'm seeing a lot of visits coming to our site and staying on the home page. My assumption is that these visitors are coming to the site and then promptly clicking "Shop" and going to the Magento site. I want to know for sure, so I'm hoping to track clicks on the "Shop" button, but Google Tag Manager needs me to add code after the beginning of the <body> tag, and it doesn't appear as though I can do this through the Code Injector feature. Both sites were setup by third parties before I got here and I'm hoping to avoid needing to spend money using them. 

Any methods or workarounds to accomplish what I'm trying to?

Any help is appreciated!

Link to comment
  • Replies 0
  • Views 662
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.