rebranding
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Combined load test runner for all ShieldAI services
|
||||
# Combined load test runner for all Kordant services
|
||||
# Usage: ./run-all.sh [service]
|
||||
# service: all (default), api, darkwatch, spamshield, voiceprint
|
||||
|
||||
@@ -21,7 +21,7 @@ if [[ -z "$API_TOKEN" ]]; then
|
||||
echo "⚠️ API_TOKEN not set (load tests will run without auth)"
|
||||
fi
|
||||
|
||||
echo "=== ShieldAI Combined Load Test ==="
|
||||
echo "=== Kordant Combined Load Test ==="
|
||||
echo "Timestamp: $TIMESTAMP"
|
||||
echo "Base URL: $BASE_URL"
|
||||
echo "Target RPS: $TARGET_RPS"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# GA4 Setup Script for ShieldAI
|
||||
# GA4 Setup Script for Kordant
|
||||
# Two modes:
|
||||
# 1. MANUAL: Step-by-step guide for GA web console (no credentials needed)
|
||||
# 2. AUTOMATED: Creates property + stream via Admin API (requires GCP service account)
|
||||
@@ -17,26 +17,26 @@ PROJECT_DIR="$(dirname "$SCRIPT_DIR")"
|
||||
show_manual_guide() {
|
||||
cat <<'GUIDE'
|
||||
╔══════════════════════════════════════════════════════════════╗
|
||||
║ ShieldAI — Manual GA4 Setup Guide ║
|
||||
║ Kordant — Manual GA4 Setup Guide ║
|
||||
║ ~5 minutes in Google Analytics web console ║
|
||||
╚══════════════════════════════════════════════════════════════╝
|
||||
|
||||
STEP 1 — Create GA4 Property
|
||||
1. Go to https://analytics.google.com/
|
||||
2. Admin → Create Property → "ShieldAI"
|
||||
2. Admin → Create Property → "Kordant"
|
||||
3. Set reporting time zone, currency
|
||||
4. Click "Create"
|
||||
|
||||
STEP 2 — Configure Data Stream
|
||||
1. In the new property: Admin → Data Streams → Add Stream → Web
|
||||
2. Website URL: https://shieldai.com
|
||||
3. Stream name: "ShieldAI Landing Page"
|
||||
2. Website URL: https://kordant.ai
|
||||
3. Stream name: "Kordant Landing Page"
|
||||
4. Click "Create stream"
|
||||
5. Copy the Measurement ID (format: G-XXXXXXXXXX)
|
||||
|
||||
STEP 3 — Create API Secret
|
||||
1. In the data stream details: Measurement Protocol API secrets → Create
|
||||
2. Nickname: "ShieldAI Backend"
|
||||
2. Nickname: "Kordant Backend"
|
||||
3. Copy the API Secret
|
||||
|
||||
STEP 4 — Set Up Conversion Events
|
||||
@@ -90,7 +90,7 @@ async function main() {
|
||||
console.log('Creating GA4 property...');
|
||||
const property = await analyticsAdmin.properties.create({
|
||||
requestBody: {
|
||||
displayName: 'ShieldAI',
|
||||
displayName: 'Kordant',
|
||||
industryCategory: 'TECHNOLOGY',
|
||||
timeZone: 'America/New_York',
|
||||
currencyCode: 'USD',
|
||||
@@ -105,9 +105,9 @@ async function main() {
|
||||
parent: property.data.name,
|
||||
requestBody: {
|
||||
type: 'WEB_DATA_STREAM',
|
||||
displayName: 'ShieldAI Landing Page',
|
||||
displayName: 'Kordant Landing Page',
|
||||
webStreamData: {
|
||||
defaultUri: 'https://shieldai.com',
|
||||
defaultUri: 'https://kordant.ai',
|
||||
},
|
||||
},
|
||||
});
|
||||
@@ -154,7 +154,7 @@ SCRIPT
|
||||
|
||||
show_env_only() {
|
||||
cat <<'ENV'
|
||||
Required .env additions for ShieldAI analytics:
|
||||
Required .env additions for Kordant analytics:
|
||||
|
||||
GA4_MEASUREMENT_ID=G-XXXXXXXXXX # From GA4 data stream
|
||||
GA4_API_SECRET= # From GA4 Measurement Protocol API secrets
|
||||
|
||||
Reference in New Issue
Block a user