forked from TheCraigHewitt/seomachine
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
76 lines (67 loc) · 2.7 KB
/
Copy path.env.example
File metadata and controls
76 lines (67 loc) · 2.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# SEO Machine Environment Variables
# Copy this file to .env and fill in your actual values
# NEVER commit your .env file with real credentials!
# ============================================
# Google Analytics 4 Configuration
# ============================================
# Your GA4 Property ID (format: 123456789)
GA4_PROPERTY_ID=your_property_id_here
# Path to your GA4 service account JSON credentials file
# Get this from Google Cloud Console > APIs & Services > Credentials
GA4_CREDENTIALS_PATH=./credentials/ga4-credentials.json
# ============================================
# Google Search Console Configuration
# ============================================
# Your website URL as it appears in Search Console
# Include https:// and trailing slash
GSC_SITE_URL=https://yoursite.com/
# Path to your GSC service account JSON credentials file
# Can be the same file as GA4 if using the same service account
GSC_CREDENTIALS_PATH=./credentials/gsc-credentials.json
# ============================================
# DataForSEO API Configuration
# ============================================
# Your DataForSEO login email
DATAFORSEO_LOGIN=your_email@example.com
# Your DataForSEO API password
DATAFORSEO_PASSWORD=your_api_password_here
# ============================================
# Optional: Blog Path Filter
# ============================================
# If your blog is not at /blog/, change this to match your URL structure
# Examples: /articles/, /content/, /resources/
BLOG_PATH=/blog/
# ============================================
# Optional: Company Information
# ============================================
# These are optional and can help with context
COMPANY_NAME=Your Company Name
COMPANY_DOMAIN=yoursite.com
TARGET_INDUSTRY=your-industry
# ============================================
# Setup Instructions
# ============================================
#
# 1. Google Analytics 4:
# - Go to Google Cloud Console (console.cloud.google.com)
# - Create a new project or select existing
# - Enable Google Analytics Data API
# - Create service account and download JSON key
# - Add service account email to GA4 property (Viewer role)
# - Save JSON file to ./credentials/ga4-credentials.json
#
# 2. Google Search Console:
# - Use same service account as GA4 or create new one
# - Enable Google Search Console API in Cloud Console
# - Add service account email as user in Search Console
# - Save credentials to ./credentials/gsc-credentials.json
#
# 3. DataForSEO:
# - Sign up at dataforseo.com
# - Get API credentials from dashboard
# - Add login and password here
#
# 4. Copy this file:
# cp .env.example data_sources/config/.env
#
# For detailed setup instructions, see data-sources-setup.md