> ## Documentation Index
> Fetch the complete documentation index at: https://help.trfyx.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Podia

> Install Trfyx analytics on a Podia site.

# Add Trfyx to your Podia site

Podia provides settings for adding third-party tracking code. Add the Trfyx tracker using the site-wide code location available in your Podia account.

## Add the tracking script

1. Log in to Podia.
2. Open your site or settings area for third-party code.
3. Find the field intended for site-wide tracking or header code.
4. Paste the Trfyx tracking script.
5. Replace `YOUR_TRFYX_PROJECT_ID` and `yourdomain.com` with your Trfyx Website ID and domain. Keep the script URL as `https://app.trfyx.com/script.js`.
6. Save and publish the changes.

```html theme={null}
<script
  defer
  data-website-id="YOUR_TRFYX_PROJECT_ID"
  data-domain="your_domain.com"
  src="https://app.trfyx.com/script.js"
></script>
```

<Warning>
  Replace `YOUR_TRFYX_PROJECT_ID` with the Website ID from your Trfyx project and `your_domain.com` with the domain you want to track. Keep the script URL as `https://app.trfyx.com/script.js`. Do not copy another project's Website ID.
</Warning>

## Verify installation

Visit the published Podia site and then check your Trfyx dashboard for incoming pageviews. Test more than the homepage if your site contains multiple routes or pages.

## Troubleshooting

If traffic is missing, confirm the code was saved in the site-wide tracking location, the site was published after the change, and the Website ID and domain match the Trfyx project you are viewing.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.