How imikerussell/mailchimp-power-tools works
Project type and purpose
• This is a small PHP-based web application (“MailChimp Power Tools”) that sits on your web server, exposes simple endpoints, and provides a UI for generating embed codes for MailChimp lead-magnet automations and interest tracking.
• It is neither a monolithic CMS nor a heavy SPA—rather it’s a thin frontend (static HTML + PHP) that calls backend PHP scripts which in turn call the MailChimp API v3.0.
File structure
• Top-level:
• LICENSE, README.md, images/
• mc-end-point/ – PHP scripts that act as lightweight API endpoints (keyword.php, interest.php, lead-magnet.php, checkout-success.php).
• mc-power-tools/ – Frontend UI pages (index.html + PHP pages for generating code: mc-automation.php, mc-interest.php, mc-test.php).
• Config requirement: a config.php in mc-end-point/ to hold API key, list ID, URLs.
• No internal database; relies entirely on the external MailChimp API.
• Static assets (images) used in README and possibly in the UI.
README for additional insights
• Describes the problem (MailChimp’s 60-group limit), the solution (unlimited lead-magnet automations via API), and the installation steps.
• Lists the flow: user visits UI → picks an automation or interest → UI calls endpoint → endpoint calls MailChimp API → returns embed code.
• Clear labels: “Browser”, “UI Module (/mc-power-tools/)”, “API Endpoints (/mc-end-point/)”, “MailChimp API”, “Config (config.php)”
• Orange cloud for external MailChimp service
• Annotations: note HTTP methods (GET/POST), data formats (JSON, HTML snippets), and authentication via API key