Cloudflare DNS Configuration
Cloudflare requires specific configuration to ensure DATA Reshape tracking works properly. This guide covers the complete setup process including the critical proxy settings.
Configuration Steps
1. Access Cloudflare DNS
- Log into Cloudflare Dashboard
- Select your domain from the list
- Navigate to "DNS" in the left sidebar
2. Create Primary CNAME Record
- Click "Add record"
- Configure the tracking record:
- Type: CNAME
- Name:
dre2.yourdomain.com
(replace yourdomain.com with your domain) - Target:
app.datareshape.net
- Proxy status: ☁️ DNS only (gray cloud)
- TTL: Auto
- Click "Save"
3. Create SSL Validation Record
- Click "Add record" again
- Configure the SSL validation:
- Type: CNAME
- Name:
_acme-challenge.dre2.yourdomain.com
(replace yourdomain.com with your domain) - Target:
dre2.yourdomain.com.5c7e7c9aba529dca.dcv.cloudflare.com
(replace yourdomain.com with your domain) - Proxy status: ☁️ DNS only (gray cloud)
- TTL: Auto
- Click "Save"
4. Verify Configuration
Your DNS records should appear as:
Type | Name | Content | Proxy status | TTL |
---|---|---|---|---|
CNAME | dre2.yourdomain.com | app.datareshape.net | ☁️ DNS only | Auto |
CNAME | _acme-challenge.dre2.yourdomain.com | dre2.yourdomain.com.5c7e7c9aba529dca.dcv.cloudflare.com | ☁️ DNS only | Auto |
Cloudflare's proxy feature (orange cloud) MUST be disabled for your tracking subdomain. The orange cloud interferes with tracking functionality and will prevent proper data collection.
Common Issues & Solutions
Orange Cloud Enabled
Symptoms: Tracking failures, timeout errors, failed requests Solution:
- Find CNAME record in Cloudflare DNS
- Click orange cloud to turn gray
- Wait 5-10 minutes for propagation
SSL Certificate Problems
Symptoms: HTTPS errors, certificate warnings Solution:
- Verify both CNAME records exist
- Ensure SSL validation record is correct
- Wait 24-48 hours for certificate generation
CNAME Not Resolving
Symptoms: DNS lookup failures, subdomain not found Solution:
- Check record names are exactly correct
- Verify targets match provided values
- Ensure no conflicting records exist
Intermittent Tracking Failures
Symptoms: Some events work, others fail randomly Solution:
- Verify proxy status is gray cloud
- Review Cloudflare security rules
- Check for rate limiting interference
Next Steps
- Contact DATA Reshape team to confirm setup completion
- Implement tracking code using your custom subdomain
Your Cloudflare configuration is complete when both CNAME records show gray clouds and resolve to correct targets. SSL certificates generate automatically within 24-48 hours.
Support Resources
Cloudflare Issues:
- Cloudflare Community
- Cloudflare Support (via dashboard)
DATA Reshape Support:
- Email: [email protected]
When requesting support, include:
- Your domain name
- Screenshot of DNS records with proxy status
- Any error messages from verification steps