Skip to main content

Documentation Index

Fetch the complete documentation index at: https://revlytics.co/docs/llms.txt

Use this file to discover all available pages before exploring further.

Installation

  1. Open your GTM container
  2. Click Tags → New
  3. Name it “Revlytics”
  4. Click Tag Configuration and select Custom HTML
  5. Paste the following:
<script defer data-site="YOUR_SITE_ID" src="https://revlytics.co/script.js"></script>
  1. Click Triggering and select All Pages
  2. Click Save
  3. Click Submit to publish the container

Track custom events via GTM

You can fire custom Revlytics events from GTM triggers:
  1. Create a new Custom HTML tag
  2. Add the event tracking code:
<script>
  if (window.revlytics) {
    revlytics.track("gtm_event", { trigger: "form_submission" });
  }
</script>
  1. Set the trigger to your desired GTM event (e.g., form submission, scroll depth)
Since Revlytics auto-tracks pageviews, button clicks, and form submissions, you may not need GTM triggers for common events.