---
title: How do I set up custom analytics scripts? | Paperform Help Center | Paperform
description: We support Facebook Pixel & Google analytics for all plans, as well as third-party analytic scripts for Pro & Agency plans.
url: "https://paperform.co/help/articles/how-to-set-up-custom-analytics-scripts"
type: static
generatedAt: "2026-04-04T00:42:02.468Z"
---

How do I set up custom analytics scripts?
### Analytics

In addition to connecting [Google Analytics](https://paperform.co/help/articles/how-to-setup-google-analytics/) and [Facebook Pixel](https://paperform.co/help/articles/how-to-setup-facebook-pixel/). Exclusively available with selected [pricing plans](https://paperform.co/pricing/), users can add custom third-party analytic scripts.

Custom scripts can be added under Configure → Analytics in the form editor. Scripts entered under "Page load scripts" will be fired as soon as the form is opened, and "successful submission scripts" will fire after the form is completed. Make sure that all JavaScript is wrapped inside of HTML `<script>` tags.

![Screenshot of the page at Configure  → Analytics. The input boxes under "Page load scripts" and "Successful submission scripts" are highlighted towards the bottom of the page.](https://img.paperform.co/fetch/f_auto,w_1400/https://d3gw2uv1ch7vdq.cloudfront.net/img/page-load-and-successful-submission-scripts.png)

If you're using selected pricing plans, you can also add a script to a specific [Dynamic Success Page](https://paperform.co/help/articles/success-pages-and-redirects/). Go to After Submission → Success Pages & Redirects → Dynamic Success Pages & Redirects, then create or edit the page. Add a custom HTML block, then paste your script inside of `<script>` tags.

## Gotchas

 - Answer Piping (answers from questions on your form) can't be used within any analytics scripts or HTML/ JavaScript elements. This restriction includes Page Load Scripts and Successful Submission Scripts.

### Related Articles
  [How do I set up Google Analytics?  It’s easy to add Google Analytics to any of your Paperform forms! Follow these instructions to get started.](/help/articles/how-to-setup-google-analytics/)
[How do I set up Meta Pixel (formerly Facebook Pixel)?  Add the Pixel ID to your form under Configure → Analytics → Facebook Pixel.](/help/articles/meta-pixel/)
[How do I access Paperform Analytics?  Paperform analytics comes with select pricing plans and can be accessed from the submissions page of a form.](/help/articles/form-analytics/)
[How do I get analytics working on my embedded form?  Having trouble with analytics on your embedded form? This troubleshooting article has some easy steps you can take to resolve common issues.](/help/articles/analytics-arent-working-on-my-embedded-form/)