A client with a new instance of Swift reported that their Google Analytics Revenue Tracking had stopped working.
Gary kindly looked at the issue and has advised the following:
These are two separate issues, one is a bug within swift, which can be resolved by going to 'Design | Library | Layouts' and scrolling down to the 'Web Page Inner Layout' and opening the layout 'Receipt Page Bulk RWD'.
Scroll down to line: 60 where you should see: -
and placing single quotation marks around NETQUOTEVAR:ORDERTOTALBASEUNIT so that it looks like this: -
The other is the location of the Google analytics code. It needs to be moved from the footer to just before the </head> tag.
Thank you to Gary.
Gary kindly looked at the issue and has advised the following:
These are two separate issues, one is a bug within swift, which can be resolved by going to 'Design | Library | Layouts' and scrolling down to the 'Web Page Inner Layout' and opening the layout 'Receipt Page Bulk RWD'.
Scroll down to line: 60 where you should see: -
Code:
window.uetq.push({ 'gv' : NETQUOTEVAR:ORDERTOTALBASEUNIT, 'gc': 'GBP' });
Code:
window.uetq.push({ 'gv' : 'NETQUOTEVAR:ORDERTOTALBASEUNIT', 'gc': 'GBP' });
Thank you to Gary.
Comment