Back to Dub

Wordpress

apps/web/guides/wordpress.md

latest475 B
Original Source

Follow these steps to add the Dub client-side script to your WordPress site:

  • On your WordPress dashboard, navigate to the Theme Editor section under the Appearance menu.
  • Open the Theme Header (header.php) file on the right column.
  • Paste the Dub analytics script in the header area.
  • Click on the Update File button to save the changes.
<!-- prettier-ignore -->
html
<script
  defer
  src="https://www.dubcdn.com/analytics/script.js"
></script>