prepare(" SELECT id, project_id, project_name, client_id FROM projects WHERE project_id = ? AND client_id = ? "); $stmt->execute([$project_id, $client_id]); $project = $stmt->fetch(); if (!$project) { $_SESSION['error'] = "Project not found or access denied"; header('Location: projects-list.php'); exit; } // Get batches for this project $stmt = $pdo->prepare(" SELECT batch_number, total_urls, sent_count, upload_type, uid_param, created_at FROM survey_url_batches WHERE project_id = ? ORDER BY batch_number DESC "); $stmt->execute([$project_id]); $batches = $stmt->fetchAll(); } catch (Exception $e) { error_log("Manage Survey URLs error: " . $e->getMessage()); $error = "Error loading project: " . $e->getMessage(); } $page_title = "Manage Survey URLs"; include 'client-portal-header.php'; ?>

— Manage Survey URLs

← Back to Project
Projects / / Survey URLs

Add Survey URLs

ⓘ How it works The Unique ID parameter is the query parameter in the survey URL that identifies each respondent. It can appear anywhere in the URL — not just at the end. You just need to tell us which parameter name to track.

Example: In https://survey.com/s?id=1&psh001=RR0001&rid=gr001, the UID parameter name is psh001 and the value RR0001 is the unique respondent ID.
The query parameter name that holds the unique respondent identifier in the survey URL. This is the parameter our system will track for redirections.

Single URL Template

Enter a sample survey URL. System will generate multiple URLs by replacing the UID parameter value with unique identifiers.

Example: https://survey.com/s?id=1&psh001=SAMPLE&rid=gr001
System replaces the value of your UID parameter

Multiple URLs (Bulk)

Paste pre-generated URLs (one per line). System extracts the UID parameter value from each URL.

Example: One URL per line
https://survey.com/s?id=1&psh001=ABC123&rid=gr001
https://survey.com/s?id=1&psh001=XYZ789&rid=gr001
Paste a sample URL from your survey platform. The value of the UID parameter you specified above will be replaced with auto-generated unique IDs.
✓ Preview of generated URL:
Generate between 1 and 5,000 URLs (typically matches your sample size)
Cancel

Existing URL Batches

📊

No URL batches created yet. Use the form above to upload your first batch.

Batch # UID:

URLs
Sent
Created: