Troubleshooting
Solving common issues with your Refgrow implementation.
Overview
This guide addresses common issues you might encounter when using Refgrow and provides step-by-step solutions. If you don't find an answer to your specific problem, please contact our support team.
Dashboard Issues
Dashboard Not Loading
Symptoms: Blank screen, loading spinner that never completes, or JavaScript errors.
Possible Causes & Solutions:
- JavaScript Errors:
- Check your browser's console for error messages
- Ensure you've properly included the Refgrow script in your HTML
- Verify that you haven't added custom JavaScript that conflicts with the dashboard
- Content Security Policy (CSP) Blocking:
- If you have a strict CSP, add the following domains to your
script-srcdirective:https://scripts.refgrowcdn.com- Required for the tracking script (latest.js)https://*.refgrow.comorhttps://refgrow.com- Required for the affiliate dashboard widget (embed.js)
- Also add
https://*.refgrow.comorhttps://refgrow.comto yourconnect-srcdirective for API calls - Example CSP header:HTTP
Content-Security-Policy: script-src 'self' 'unsafe-eval' 'unsafe-inline' https://scripts.refgrowcdn.com https://*.refgrow.com https://refgrow.com; connect-src 'self' https://*.refgrow.com https://refgrow.com;
- If you have a strict CSP, add the following domains to your
- Network Issues:
- Verify your internet connection
- Check if your firewall or proxy is blocking connections to Refgrow domains
- Incorrect Installation:
- Review the installation guide to ensure you've correctly implemented the dashboard
- Verify your program ID is correct in the dashboard element attributes
Dashboard Styling Issues
Symptoms: Dashboard appears unstyled, misaligned elements, or conflicting styles.
Possible Causes & Solutions:
- CSS Conflicts:
- Check if your website's CSS is overriding Refgrow's styles
- Try adding the dashboard in an isolated container with minimal styling
- Missing CSS Resources:
- Verify that your CSP doesn't block stylesheets from Refgrow domains
- Responsive Layout Issues:
- Ensure the container for the dashboard is wide enough
- Check that you haven't applied CSS that affects the dashboard's responsive behavior
Authentication Problems
Symptoms: Unable to log in, constant redirects, or "unauthorized" errors.
Possible Causes & Solutions:
- JWT Token Issues:
- Verify your JWT is properly signed with the correct secret
- Check that the token hasn't expired
- Ensure all required claims are included in the token
- Cookie Issues:
- Ensure cookies are enabled in the user's browser
- Check for any third-party cookie blocking that might affect authentication
- Cross-Origin Problems:
- If you're using a custom authentication endpoint, verify your CORS headers are properly set
Tracking Issues
Referrals Not Being Tracked
- Verify the tracking script is on all pages with links
- Check your browser console for any error messages
- Ensure third-party cookies are not blocked
- Test with a known referral link format (e.g., yoursite.com?ref=CODE)
- Verify the referral parameter name matches your project settings
Conversions Not Attributing to Affiliates
For Stripe/LemonSqueezy:
- Ensure webhooks are properly configured
- Verify you're passing the referral code to the checkout metadata
- Check webhook logs in your payment provider dashboard
For Manual Tracking:
- Ensure you're providing a valid email address in the tracking call
- Verify the cookie exists when making the conversion call
- Check your browser console for any API errors
Affiliate Dashboard Issues
- Verify the embed script is correctly installed
- Check if there are any JavaScript errors in the browser console
- Ensure your container element has sufficient width and height
- Verify your project's customization settings
Inaccurate Reporting
Symptoms: Discrepancies between your internal data and Refgrow's reports.
Possible Causes & Solutions:
- Attribution Window Settings:
- Check your attribution window settings in program configuration
- Understand how the attribution model works (first-click, last-click, etc.)
- Duplicate Transactions:
- Ensure your conversion tracking isn't firing multiple times for the same transaction
- Implement deduplication logic if necessary
- Data Processing Delay:
- Allow 24 hours for all data to be processed and aggregated in reports
- Timezone Differences:
- Verify your program's timezone setting matches your expected reporting timezone
Integration Issues
Stripe Integration Failures
Symptoms: Stripe payments not triggering commissions, webhook errors.
Possible Causes & Solutions:
- Webhook Configuration:
- Verify your Stripe webhook is set up correctly with the right events
- Check that the webhook secret is properly configured in Refgrow
- API Key Issues:
- Ensure you're using a live API key in production (not test mode)
- Verify the API key has sufficient permissions for webhook operations
- Product Mapping:
- Check that your Stripe products are properly mapped to commission structures in Refgrow
- Webhook Deliverability:
- Check Stripe dashboard for failed webhook attempts
- Ensure your firewall isn't blocking incoming webhook requests
For more details, see the Stripe Integration documentation.
LemonSqueezy Integration Issues
Symptoms: LemonSqueezy purchases not registering as conversions.
Possible Causes & Solutions:
- API Connection:
- Verify your LemonSqueezy API key is correct and active
- Check that you've enabled the necessary webhook events
- Webhook URL:
- Ensure the webhook URL in LemonSqueezy points to the correct Refgrow endpoint
- Event Filtering:
- Check that you've selected the correct events to trigger (order_created, etc.)
API Integration Problems
Symptoms: API requests failing, returning errors, or timing out.
Possible Causes & Solutions:
- Authentication Issues:
- Verify your API key is valid and included in the request headers
- Check for proper formatting of the Authorization header
- Rate Limiting:
- Check if you're exceeding the rate limits for your plan
- Implement retry logic with exponential backoff for 429 responses
- Invalid Parameters:
- Review the API documentation to ensure you're sending all required parameters
- Check parameter formats (dates, IDs, etc.)
- IP Restrictions:
- If you've enabled IP restrictions, verify your requests are coming from approved IPs
For more information, see the API Endpoints documentation.
Account & Billing Issues
Account Access Problems
Symptoms: Unable to log in, forgotten password, 2FA issues.
Possible Causes & Solutions:
- Forgotten Password:
- Use the "Forgot Password" link on the login page
- Check your spam folder for reset emails
- 2FA Problems:
- Use recovery codes if you've lost access to your authenticator app
- Ensure your device's time is properly synchronized
- Account Suspension:
- Check if your account has been suspended due to billing issues or terms violations
- Contact support if you believe this is in error
Billing and Subscription Issues
Symptoms: Payment failures, unexpected charges, plan limitations.
Possible Causes & Solutions:
- Payment Method Issues:
- Verify your credit card information is current and valid
- Check if your card has expired or been replaced
- Subscription Status:
- Confirm your subscription is active in the billing section
- Check for any failed payment notices
- Plan Limitations:
- Verify you haven't exceeded your plan's limits for affiliates, programs, or API calls
- Consider upgrading if you're consistently hitting limits
Performance Optimization
Slow Dashboard Loading
Symptoms: Dashboard takes a long time to load or interact with.
Possible Causes & Solutions:
- Large Data Volume:
- If you have thousands of affiliates or transactions, consider narrowing date ranges
- Use filters to focus on specific segments
- Script Loading Order:
- Ensure the Refgrow script is loaded efficiently (consider async or defer attributes)
- Place the script near the bottom of your page if possible
- Browser Performance:
- Clear browser cache and cookies
- Try a different browser to isolate performance issues
Optimizing Tracking Script Performance
Symptoms: Tracking script slowing down page load or affecting user experience.
Possible Causes & Solutions:
- Script Loading:
- Use the async attribute to load the tracking script without blocking page rendering
- Consider implementing the script with a tag manager for better control
- Conditional Loading:
- Only load the full tracking capabilities when a referral parameter is present
- Use a lightweight script for non-referred visitors
- Caching:
- Ensure your CDN or hosting provider properly caches the tracking script
Common Error Messages
API Error: "Invalid Authentication"
Cause: The API key provided is invalid or expired.
Solution:
- Generate a new API key in your program settings
- Ensure you're prefixing the key with "Bearer" in the Authorization header
- Check for any whitespace or formatting issues in the key
Dashboard Error: "Program ID Not Found"
Cause: The program ID provided in the dashboard configuration doesn't exist or is inaccessible.
Solution:
- Verify the program ID in your dashboard HTML matches what's in your Refgrow account
- Check that the program is active and not archived
- Ensure your account has access to this program
Webhook Error: "Invalid Signature"
Cause: The webhook signature verification failed, often due to mismatched secrets.
Solution:
- Verify the webhook secret in your integration settings matches what's configured in the service (Stripe, etc.)
- Check that you haven't regenerated the webhook secret without updating the external service
- Ensure the webhook payload isn't being modified in transit (by proxies, etc.)
Getting Help
If you've tried the troubleshooting steps above and still can't resolve your issue, there are several ways to get additional help:
Support Ticket
Submit a support ticket through your Refgrow dashboard:
- Log in to your account
- Click on the Help icon in the bottom right
- Choose "Submit a Ticket"
- Provide detailed information about your issue
Our support team typically responds within 24 hours on business days.
Email Support
Send an email directly to our support team:
Include the following information:
- Your account email address
- Program ID (if applicable)
- Detailed description of the issue
- Screenshots of any error messages
- Steps you've already taken to troubleshoot
For urgent issues affecting your production environment, Pro and Business customers can access priority support with faster response times.
Next Steps
- Review your tracking implementation
- Check the integration guides for platform-specific issues (Stripe, LemonSqueezy, Paddle)
- Learn about security best practices to avoid common problems