I was thinking of adding the analytics code in /skin/common_files/modules/xcart_mobile/customer/home.tpl - But not exactly sure where to add it.
The content of home.tpl is as follows:
Code:
{*
$Id: home.tpl 63 2012-10-30 11:56:13Z skot $
vim: set ts=2 sw=2 sts=2 et:
*}
{if !$is_ajax_request}
<!DOCTYPE html>
{config_load file="$skin_config"}
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
{func_mobile_clear_modules}
{include file="customer/service_head_mobile.tpl"}
</head>
<body>
{/if}
{include file="customer/page.tpl"}
{if !$is_ajax_request}
{load_defer_code type="js"}
{load_defer_code type="css"}
</body>
</html>
{/if}
Noticed the {if !$is_ajax_request} coding which is probably causing the analytics code not to load on all pages.
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4
Chamber Internet - Lancashire, United Kingdom
http://www.chamberelancs.co.uk