ConvertIQ is a SaaS platform that empowers small businesses to improve their website marketing and sales conversions independently. We provide accessible, data-driven analysis and actionable recommendations that were traditionally only available through expensive agencies.
ConvertIQ analyzes existing ecommerce platforms or specific product/service pages to identify optimization opportunities. Our AI-powered analysis focuses on conversion psychology, UX/UI improvements, technical SEO, and performance optimization to help businesses increase their revenue.
- Local service businesses (plumbers, electricians, beauty salons, consultants)
- Creative businesses (photographers, graphic designers, content creators, artists)
- E-commerce stores (businesses selling physical or digital products online)
- Website Audit & Analysis - Comprehensive scanning of URLs for optimization opportunities
- AI-Powered Recommendations - Prioritized suggestions based on conversion psychology principles
- Performance Benchmarking - Compare against industry standards and track improvements
- Integration Support - Connect with Google Analytics, Shopify, WooCommerce, and more
- Actionable Reports - Step-by-step guidance for implementing improvements
- Integrated Support System - In-app support dialog with Linear ticket creation
- Framework: Next.js 16 with App Router
- Language: TypeScript with strict mode
- Styling: Tailwind CSS v4 (alpha)
- Package Manager: Bun
- AI Integration: Vercel AI SDK v6 with Anthropic Claude and OpenAI support
- Support System: Linear SDK for integrated support ticket management
- Planned: tRPC, PostgreSQL, Redis, BetterAuth, Vercel hosting
- Bun v1.2.14 or higher
- Node.js 18+
- Git
- Clone the repository:
git clone https://github.com/your-username/convertiq.git
cd convertiq- Install dependencies:
bun install- Run the development server:
bun run dev- Open http://localhost:3000 with your browser to see the result.
The development server uses Turbopack for faster builds and hot reloading. You can start editing pages by modifying files in src/app/ - changes will be reflected immediately.
# Start development server with Turbopack
bun run dev
# Build for production
bun run build
# Start production server
bun run start
# Run ESLint
bun run lintconvertiq/
├── src/
│ └── app/ # Next.js App Router pages and layouts
├── _product/ # Product documentation (git-ignored)
├── CLAUDE.md # AI development guidance
└── package.json
This project uses:
- Next.js App Router for routing and server components
- TypeScript with strict mode for type safety
- Tailwind CSS v4 for styling
- Bun as the package manager and runtime
- Vercel AI SDK v6 for AI integrations
ConvertIQ integrates with Polar for payment processing and subscription management. For development and testing, we use Polar's sandbox environment to safely test payment flows without affecting production systems.
- Environment: Sandbox mode (configured via
POLAR_ENVIRONMENT=sandbox) - Database: Pre-seeded with sandbox-specific price IDs
- Testing: Mock mode enabled for immediate testing without Polar account setup
The system automatically uses mock mode when sandbox price IDs don't exist in Polar:
- ✅ Immediate testing - Works out of the box for UI/UX development
- ✅ No Polar account needed - Perfect for frontend development
- ✅ Full functionality - Complete pricing page and subscription flow testing
Test the pricing page: Visit http://localhost:3000/pricing after running bun run dev
For complete payment integration testing:
-
Create Sandbox Account:
- Visit Polar Sandbox
- Create an account and organization
-
Create Products & Prices:
Basic Plan: - Monthly: $19.00 (price ID: price_sandbox_basic_monthly) - Annual: $190.00 (price ID: price_sandbox_basic_annual) Pro Plan: - Monthly: $49.00 (price ID: price_sandbox_pro_monthly) - Annual: $490.00 (price ID: price_sandbox_pro_annual) -
Configure Environment:
# Add to .env.local POLAR_ACCESS_TOKEN=your_sandbox_token POLAR_ENVIRONMENT=sandbox -
Re-seed Database:
bun run src/lib/reseed-plans.ts
# Generate new migration
bun run db:generate
# Apply migrations to database
bun run db:migrate
# Push schema changes directly (development)
bun run db:push --force
# Open database studio
bun run db:studioConvertIQ includes an integrated support system that creates Linear issues automatically when users submit support requests through the in-app dialog.
The Linear integration is already included in the project dependencies:
bun add @linear/sdk # Already installedAdd these variables to your .env.local file:
# Linear (for support tickets)
LINEAR_API_KEY="your-linear-api-key-here"
LINEAR_TEAM_ID="your-linear-team-id-here"- Go to Linear Settings → API
- Create a new API key with the following permissions:
read- to read team informationwrite- to create issues
Option 1: Using Linear MCP Tools (if available):
# List teams to find the full UUID
mcp__linear-server__list_teamsOption 2: Using Linear GraphQL API:
query {
teams {
nodes {
id
name
key
}
}
}Example team UUID format: 50742f72-d16f-4731-8138-bea9cf3e51fd
- Users click "Support" in the sidebar to open the support dialog
- Simple form with only Subject and Description fields
- User name and email are automatically included from their session
- Success confirmation shows the created Linear issue ID
import { LinearClient } from '@linear/sdk'
const linearClient = new LinearClient({
apiKey: process.env.LINEAR_API_KEY
})
const issuePayload = await linearClient.createIssue({
title: `Support: ${subject}`,
description: `**From:** ${userName} (${userEmail})\n\n${description}`,
teamId: process.env.LINEAR_TEAM_ID,
labelIds: ['99d221e1-6d69-46c9-8a71-fcf64153bd59'], // Bug label
priority: 2, // High priority
})Support tickets automatically:
- Create issues in the specified Linear team
- Apply "Bug" label with high priority (priority: 2)
- Include user contact information in the description
- Format with clear sections for easy triage
- Provide error handling and user feedback
- Type-safe operations - Full TypeScript support
- Automatic error handling - Built-in error management
- GraphQL optimizations - SDK handles query optimizations
- Consistent API - Standardized interface for Linear operations
- Better maintenance - Official SDK stays up-to-date with Linear API changes
Common Issues:
- "teamId must be a UUID" error: Ensure you're using the full UUID (36 characters with dashes), not the team key
- API permission errors: Verify your Linear API key has both
readandwritepermissions - Environment variables: Make sure
LINEAR_API_KEYandLINEAR_TEAM_IDare properly set in.env.local
Testing the Integration:
- Start the development server:
bun run dev - Navigate to the dashboard and click "Support" in the sidebar
- Fill out the support form and submit
- Check your Linear team for the created issue
The system supports comprehensive testing:
- Plan Selection: Both Basic and Pro plans with monthly/annual billing
- Authentication Flow: Redirects to login when not authenticated
- Error Handling: Clear error messages and loading states
- Responsive Design: Mobile and desktop compatibility
- Mock Subscriptions: 14-day trial simulation in mock mode
When ready for production:
- Set
POLAR_ENVIRONMENT=production - Use production Polar credentials
- Create real products/prices in production Polar
- Update price IDs in seed data
- Test thoroughly in staging environment first
- Check browser console for detailed environment logs
- Use
/api/test-subscriptionendpoint for debugging - All errors include specific details for easier debugging
- Environment indicators show whether you're in sandbox or production mode
We welcome contributions! Please see our contributing guidelines and development setup:
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes and test thoroughly
- Submit a pull request with a clear description
- User authentication and account management
- Single URL analysis and basic reporting
- Core AI-powered recommendations
- Basic task tracking for recommendations
- Google Analytics integration
- E-commerce platform integrations (Shopify, WooCommerce)
- Historical performance tracking
- Advanced competitor analysis
- Multi-site management
- White-label solutions
- Advanced integrations (CRM, email marketing)
- API access for third-party developers
This project is proprietary software. All rights reserved.
For questions or support, please contact the development team.