Pro WhatsApp Designer | Custom Links, vCards & Graphics

PromoGen Pro

v3.0 Local Rendering Engine

1. Routing Engine

2. Message & Tracking

3. Matrix & Card Design

Generated Output

Device Preview

Frame: Mobile

Technical Documentation & API Reference

This tool operates as a 100% client-side rendering engine. It requires no backend APIs, ensuring your data and tracking parameters remain secure. Below is the documentation for the 20 advanced features implemented in this build.

1. Payload Mode (vCard vs Link)

Switches the QR engine logic. "Link" generates a standard URL for chatting. "vCard" compiles a raw VCF string so scanning the QR code instantly prompts the user to save your contact info.

2. Routing Protocol

Allows selection between Modern (wa.me), Legacy Web (api.whatsapp), and Native App Intent (whatsapp://) depending on where the link is being deployed.

3. Pre-filled Templates

Injects high-converting, psychologically tested copy into the message box instantly based on industry (E-com, Real Estate, Support).

4. UTM Injector

Silently formats Source, Medium, and Campaign variables and appends them to the end of the message string. Example: [Ref: ig|story|summer]. Essential for CRM attribution.

5 & 6. Custom CTA & Subheadline

Overrides the default Canvas text rendering logic, allowing internationalization or specific call-to-action testing (e.g., "GET 50% OFF").

7. Trust Badges

Renders a vector-styled badge (Verified, Sale, 24/7) on the canvas above the headline to increase scan trust and conversion rates.

8. Typography Engine

Dynamically swaps the ctx.font family across the entire canvas between sans-serif, grotesque, and monospace formats to match brand guidelines.

9. Text Alignment

Recalculates the X-axis drawing coordinates (Left, Center, Right) for all text elements to support varied design layouts.

10. Mathematical Backgrounds

Procedurally generates backgrounds using Canvas API primitives. "Mesh" uses radial gradients, "Dots" runs a loop matrix, and "Wave" draws a bezier curve.

11. Aspect Ratio Emulation

Resizes the internal canvas memory (1:1, 9:16, 16:9) and recalculates all Y-axis element positioning to ensure perfect proportions for different social networks.

12. Dark / Light Theming

Inverts the Canvas fillStyle for background and typography layers, allowing rapid generation of day/night ad variants.

13, 14, 15. QR Matrix Controls

Interacts with the QRious library to manipulate Error Correction Levels (L/M/Q/H) and inject custom Hex colors for the foreground and background matrices.

16. QR Center Logo

Fetches an external image URL and draws it precisely in the center of the generated QR code, utilizing High ECL to ensure the code remains scannable.

17 & 19. Shadows & Padding

Applies ctx.shadowBlur properties dynamically and adjusts the global boundary margins inside the canvas rendering loop based on slider inputs.

18. Device Emulator

Switches the CSS wrapper of the preview canvas between a CSS-drawn Smartphone (notch) and a Monitor (stand) based on the Aspect Ratio selected.

20. Export & History Engine

Utilizes HTML5 toDataURL() with user-selected MIME types and scale multipliers for HD printing. Saves recent links to localStorage.