QuickPipe Lead ScoringPaste one line of code on your site to identify potential buyers.
<script async src="https://cdn.jsdelivr.net/npm/@quickpipeaiab/[email protected]/dist/lg.js"
integrity="sha384-…" crossorigin="anonymous"
data-key="Get Your Key"></script>Build with AI?
Add QuickPipe Lead Scoring to this project. QuickPipe uses it to see which visitors and companies are ready to buy.
First, look at the project yourself: the framework, the pages, the forms, the sign-in and any cookie banner. Then ask me only the questions that you cannot answer from the code. Ask one question at a time and wait for my answer. Do not change any file before I answer.
Questions:
1. Ask me for my publishable key. It starts with lg-pub-. I find it in QuickPipe, under Settings, then Tracking.
2. Do you use a cookie banner or a consent tool (Cookiebot, CookieYes, OneTrust, Google Consent Mode or other)? If no, is it acceptable to track visitors before consent in your country?
3. Can users sign in to this app? If yes, where is the email or the user ID of the signed-in user?
4. Do you know the company of a user (company website, domain or company number)? If yes, where?
5. Which 3 to 5 actions show that a visitor is interested? For example: sign up, book a demo, open the pricing page, start a trial.
Then install it:
- For a plain website or a static site, put this tag in the <head> of every page. Do not change the version or the integrity value:
<script async src="https://cdn.jsdelivr.net/npm/@quickpipeaiab/[email protected]/dist/lg.js"
integrity="sha384-…" crossorigin="anonymous"
data-key="lg-pub-live-…"></script>
- For a React, Next.js, Vue or Svelte app, you can also install the npm package @quickpipeaiab/lead-scoring and call createClient({ key }) once. In React, wrap the app in <Provider client={lg}> from @quickpipeaiab/lead-scoring/react.
- After sign-in, call lg.identify({ email }) or lg.identify({ userId }) with the answer to question 3. On sign-out, call lg.reset().
- If you know the company, call lg.account({ domain }), or use the identifier of the country, for example lg.account({ seOrgnr }).
- For each action from question 5 that the SDK does not see automatically, call lg.track('namespace.action', { ... }). Use lowercase names such as 'demo.booked' or 'trial.started'.
- With a consent tool, keep the default consent mode. The SDK reads Google Consent Mode, Cookiebot, CookieYes and OneTrust. With another tool, call lg.consent('granted') or lg.consent('denied') when the visitor decides.
Rules:
- Never put a key that starts with lg-sec- in browser code.
- Never send passwords, card numbers, personal ID numbers or free text fields.
- Page views, form submits, outbound links and file downloads are automatic. Do not track them again.
When you finish, list the files that you changed. Then tell me to open my website and check that QuickPipe, under Settings, then Tracking, shows Connected.
Reference: https://docs-dev.quickpipe.ai/reference/client