🟢
INSTALL GUIDE

Vue / Nuxt

Add the Dupes tracker to your Vue / Nuxt site. Replace dps_your_site_idand the domain with your own — find them on your site's Install page.

Steps

  1. 1Nuxt: add the snippet to app.head in nuxt.config, or index.html for plain Vue.
  2. 2Paste it before </head>.
  3. 3Redeploy.
<script
  src="https://dupes-gilt.vercel.app//js/script.js"
  data-dupes-id="dps_your_site_id"
  data-dupes-domain="yourdomain.com"
  defer
></script>

Install with an AI agent✦ prompt

Copies a ready-made prompt — paste it into Cursor, Claude Code, GitHub Copilot or any AI coding tool and let it do the edit for you.

Track a goal

Record conversions like submit_form anywhere on the page:

<!-- Declarative: fire when clicked -->
<button data-dupes-goal="submit_form">Sign up</button>

<!-- Programmatic: fire from anywhere -->
<script>
  window.dupes("submit_form", { plan: "pro" });
</script>