๐Ÿ“
INSTALL GUIDE

WordPress

Add the Dupes tracker to your WordPress site. Replace dps_your_site_idand the domain with your own โ€” find them on your site's Install page.

Steps

  1. 1Install a header-scripts plugin (e.g. โ€œWPCodeโ€ or โ€œInsert Headers and Footersโ€).
  2. 2Paste the snippet into the Header section.
  3. 3Save. No theme edits required.
<script
  src="https://dupes-gilt.vercel.app//js/script.js"
  data-dupes-id="dps_your_site_id"
  data-dupes-domain="yourdomain.com"
  defer
></script>

๐Ÿ’ก Prefer not to use a plugin? Add it to header.php just before </head>.

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>