Add Script to your Contact 7 form in Wordpress

1. Identify your org and your inbound router name 

The script you have to add to this page will include two values you need to identify from your inbound router 


You can find this in the app in your inbound router


This is your inbound router name:

2. Replace values in script and add to your Contact 7 page

Replace your-org-name and your-inbound-router-name values you found above in the script below and copy to your contact 7 page, before the body end tag

<script src="" type="text/javascript"></script>
  // Contact Form 7 Custom DOM Events
  const wpcf7Elm = document.querySelector('.wpcf7');
  wpcf7Elm.addEventListener('wpcf7mailsent', (event) => {
    ChiliPiper.submit("your-org-name", "your-router-name", { handleSubmit: false, title: "Now pick a day and time for you demo.", titleStyle: "Roboto 22px #EA5938 " })
   // location = "https://your-landing-page";
  }, false);  

Still need help? Contact Us Contact Us