The UpViral team is kind enough to create an article on how to integrate Optimizepress with UpViral here.
In case you are still confused where to add the UpViral code in your Live Editor page, see the screenshots and instructions where to add the code in your page.
The step 3 code goes to your optin form element. Select custom form integration method.
The step 4 code is for tracking your opt in. This goes to the Page Settings >> Other Scripts >> Footer. Click Update when done.
Normally, step 5 code goes to your thank you page. To insert a share widget to your thank you page, add custom HTML/Shortcode element and then paste the step 5 code. Save your work.