Jump to content

Implement GA cross domain tracking & e-commerce tracking

Recommended Posts


Understand that there are 3 ways to implement GA on Squarespace, 1) GTM, 2) External KPI Keys or the 3) Code Injection way. I need to satisfy 2 criteria, E-commerce tracking & Cross-domain tracking. 

The GTM way will not allow for e-commerce tracking so I can only consider 2 & 3.

Method 2 does not allow for me to edit the codes to include linker for cross-domain tracking, so I can only use method 3.

Now I am hitting a road block because I don't know how to use method 3, while having my e-commerce data tracked on GA (based on what I have tried, e-comms tracking only works with mtd 2)

This is the current gtag.js installed through code injection as shown below, does anyone know what I should do to integrate e-comms on GA through the gtag.js?

<!-- Global site tag (gtag.js) - Google Analytics -->
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
  gtag('config', 'UA-XXXXXXXXX-X', {
'linker': {
'accept_incoming': true
Link to comment
  • Replies 0
  • Views 675
  • Created
  • Last Reply


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.