WordPress

Installation guide for WordPress sites.

Installation

Install the WPCode plugin (formerly Insert Headers and Footers). Once activated, go to WPCode → Header & Footer in your WordPress dashboard and paste the script tag into the Header section:

<script 
  src="https://cdn.palaceanalytics.com/palace-tracker.js" 
  data-website-id="your-website-id"
  data-auto-track="true"
  defer
></script>

Advanced: Add directly to header.php before </head>.