# Pageview Tracking

By default, CountUp automatically tracks a pageview when the page is loaded. This is true for every page the tracking code is integrated in.

For each pageview, CountUp will capture the full path of the page relative to your sites domain. For example, if the URL is https://www.my-site.com/page1, the name of the page will be tracked as /page1.

# Disable Automatic Pageviews

You can easily disable automatic tracking of pageviews, by setting the data-disable-pageview-tracking attribute on your snippet:

<script
  defer
  data-domain="your-domain.com"
  data-disable-pageview-tracking
  src="https://cdn.countup.io/script.min.js">
</script>

With this configuration, the snippet will not cause an automatic pageview event to be tracked when the page loads. If you include the tracking code once for all pages, this will be true for all pages of your site.