function getRemarketingData() { $response = APIClient::getInstance()->performRequest('google_remarketing_code'); if ($response['status'] == 200) { xtc_db_query("UPDATE " . TABLE_CONFIGURATION . " SET configuration_value = '" . xtc_db_input($response['data']['user_id']) . "' WHERE configuration_key = 'MODULE_EM_REMARKETING_USER_ID'"); xtc_db_query("UPDATE " . TABLE_CONFIGURATION . " SET configuration_value = '" . xtc_db_input($response['data']['code']) . "' WHERE configuration_key = 'MODULE_EM_REMARKETING_CODE'"); } }