//New function to get the yatch type variable now we've added pages.
$recordNum = 1;
foreach($_REQUEST as $key => $item){
if($key != 'page' && $key != 'sort' && strpos($key, 'utm') === false){
$recordNum = preg_replace("/[^0-9,.]/", "",$item);
break;
}
}
You have overridden the default handler... change this to;
//New function to get the yatch type variable now we've added pages.
$recordNum = 1;
foreach($_REQUEST as $key => $item){
if($key != 'page' && $key != 'sort' && $key != 'gclid' && strpos($key, 'utm') === false){
$recordNum = preg_replace("/[^0-9,.]/", "",$item);
break;
}
}
---
Peace and Long Life