error code: 1015 r = window.location.search.substr(1).match(reg);
if (r != null) {
r[2] = r[2].replace("+", " ");
return decodeURIComponent(r[2]);
}
return "";
}
// Register share function
function callback_base_share_product(ec_data, platform) {
params = {
'hit_type_name': 'share_product',
'hit_type_category': '',
'hit_type_label': ec_data['ec_data_name'],
'hit_type_action': '',
'hit_type_value': platform,
'hit_type_id': ec_data['ec_data_id'],
'ec_data': ec_data
};
ytag('event', params);
};
if (typeof (ytag) == 'function') {
params = {
'hit_type': 'event',
'hit_type_name': 'exception',
'hit_type_category': 'not_found',
};
ytag('page_view', {
'hit_type_name': 'exception',
'hit_type_category': 'not_found',
});
ytag('event', params);
}