> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.poptin.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to pull conversion data with "poptinSubmitted"?

We are now storing the form submissions in visitor's browser for you to access the information and do absolutely anything with it. All the form submissions are submitted in javascript variable **poptinSubmitted** in the page where the form was submitted. After the form was submitted you can use **poptinSubmitted** for accessing the poptin input values either from your website or can write your script in the Conversion code textarea in Step2.

Try this to read all the values

```javascript
<script> console.log( poptinSubmitted ); </script>
```

This is how you will see the information

```xml
poptinSubmitted    | - poptin_id          | - poptin_id          | - client_id          | - page_title          | - page_url          | - consent          | - referrer          | - fields                | - field_1                      | - type                      | - name                      | - placeholder                      | - value                | - field_2                      | - type                      | - name                      | - placeholder                      | - value
```

If you want to create a webhook that pulls the data, you can use this code by Eyal Gershon:

https://github.com/eyalway2cu/eyal_scripts/blob/master/poptinSubmitWebhook.html

|| Just make sure you enable CORS first.