About this project

The repository offers a ready‑to‑use Google Tag Manager (GTM) custom template designed to load the Centerflow tracking script on any website. By adding this template to a GTM container, users can enable Centerflow's analytics features without writing custom JavaScript. **Key capabilities** - Injects the official Centerflow script asynchronously to avoid blocking page rendering. - Captures standard page‑view data, custom events, and form submission details. - Sends visitor attribution information (e.g., campaign IDs, referral sources) to the Centerflow backend for reporting. **Typical workflow** 1. In GTM, create a new *Custom Template* and import the JSON/template file from this repository. 2. Add a tag based on the imported template, supplying the required Centerflow *Site ID* (or similar identifier) as a variable. 3. Configure trigger(s) – most commonly *All Pages* for global tracking, plus optional form‑submission triggers for more granular data. 4. Publish the container. The Centerflow script will load on the specified pages, automatically collecting analytics data. **Configuration options** - *Site ID*: Unique identifier provided by Centerflow to associate data with your account. - *Load mode*: Choose between synchronous or asynchronous loading (default is async for performance). - *Debug mode*: Enable console logging for troubleshooting during development. **Use cases** - Monitoring website traffic and user behavior. - Tracking form conversion rates and field interactions. - Attributing visitors to marketing campaigns for ROI analysis. The template is lightweight, requires no additional server‑side components, and works with any site that supports GTM. For detailed setup instructions, refer to the Centerflow documentation linked within the template description. **License** The project is released under an open‑source license (see the repository's LICENSE file for specifics).