@trakg/react
v1.1.2
Published
Trakg script loader for Next.js, React, Vue, and any frontend app
Readme
@trakg/react
Trakg script loader for Next.js, React, Vue, and any frontend app.
Track form abandonment, recover leads, and boost conversions with a single component.
Why?
Trakg helps businesses recover lost leads by tracking and capturing abandoned forms. Over 70% of website visitors who start filling forms never submit them, causing businesses to lose valuable leads and opportunities.
Trakg solves this problem by automatically capturing partially filled forms, so you never miss a potential lead again.
🚀 Installation
npm install @trakg/react
# or
yarn add @trakg/react
# or
pnpm add @trakg/react📦 Usage
React / Next.js
import {Trakg} from "@trakg/react";
export default function App() {
return (
<div>
<h1>Hello World</h1>
<Trakg id='YOUR_TRACKING_ID' />
</div>
);
}This will inject the Trakg script automatically | Prop | Type | Required | Description | |------|--------|----------|-----------------------------------------------| | id | string | ✅ Yes | Your Trakg tracking ID (unique per website). |
📜 License
MIT © Trakg
👨💻 Author
Trakg Team
- 🌐 Website: https://trakg.com
- 📖 Docs: https://docs.trakg.com
- 📧 Support: [email protected]
