Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Implement GA cross domain tracking & e-commerce tracking


Xinrui

Question

Hi,  

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 -->
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());
 
  gtag('config', 'UA-XXXXXXXXX-X', {
'linker': {
'accept_incoming': true
}
});
</script>
 
Edited by Xinrui
Link to post
  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...