This guide provides a step-by-step process on embedding your Upviral campaign with your Google Sites as a widget.
(Note: If you haven't created your Upviral campaign, you may follow the steps on How to create a campaign?)
Installation & Embedding Your Campaign
On the SETUP page, click Embed from the left-hand panel. Then click on + Create embed
STEP 1
In the Where will you embed the campaign field, type the URL of the website where you want the campaign to appear.
STEP 2
Select Your Opt-In Form
Choose UpViral opt-in form to use the built-in UpViral widget.
Alternatively, choose Connect your own form if you prefer to use your site’s existing form.
(For this guide, we’ll select the UpViral opt-in form.)
STEP 3
Under Choose how to show your opt-in form. This step is where you select the opt-in settings:
Standard - if you want to embed UpViral as a widget directly displayed on your website
Pop-up - if you want to use a text/button before the UpViral widget is displayed as a pop-up on your website
Slide In (Popover) - if you want to use a popover button before the UpViral widget is displayed on the corner of your website
Opt-in Form / HTML Form code- if you already have an existing form with name and email fields (usually for ClickFunnels setups or setups where you're using your own autoresponder form design on a page)
If you select "Connect your Own Form" in the previous step, you will be embedding the campaign via Universal Capture. This option is ideal if you already have an existing form with name and email fields.
STEP 4
Copy the Embed Code
Scroll to Embed this code to your site.
Click Copy code to copy the snippet provided.
Add the Code to Your Website
Paste the code into the <body> section of your page’s HTML.
⚠️ Important:Do NOT place this code inside <header> or <footer>.
Only embed one UpViral code per page.
Test Your Embedding
Click Test embedding to ensure your form displays correctly before going live.
STEP 5
Choose Where to Redirect Users
After a visitor signs up, decide where to display the share page:
Same page – The share widget appears on the same page as your opt-in form (page refreshes).
Another page – Redirects users to a separate URL where the share widget will be embedded.
A. If You Select Same Page
The share widget will be displayed on the same page as the opt-in widget (after a page refresh). Proceed to Step 6.
B. If You Select Another Page:
Enter the URL where the Share Page will be embedded.
Click Save.
Repeat the embedding steps for the Share Page:
Specify Where to Display the Share Page
Enter the URL (e.g., www.UVcampaigntest.com).Adjust Alignment & Size
Alignment: Left, Center, or Right
Widget Width: e.g., 80%
Embed the Code
Copy the snippet provided.
Paste it into the <body> of your page.
⚠️ Important Notes:
Do not embed in the <header> or <footer>.
Avoid embedding multiple UpViral codes on the same page.
Test the Embed: Click Test embedding to verify correct display.
Step 5:
Redirect Referral Users
Decide where referral leads (users who join via a shared link) will be sent:
Redirect referral users to this embed – Sends all referral traffic to this specific embedded version of your campaign.
Switch off – Referral traffic is sent to:
The UpViral-hosted campaign page, or
Any other website where this campaign was previously embedded.
A. You’ll see a confirmation message: “Your campaign has been embedded successfully!” ?
B. Click on Save and Exit to preview your live campaign.
See visual below:
For Pop-up Widget
Click "Copy code" below the "Link to open popup". Once copied, go to your Google Site > click on the "Embed" button > "Embed Code" > paste code > go back to UpViral and copy the widget code and do the same steps. Once both of the codes have been placed, click "Insert" > then you can finally publish the site.
Note: It's not possible currently to customize the popup widget from the default hyper-linked text appearance if in case you'll be using the popup widget option for your Google Site.
How to get your support tickets resolved faster
Statistics have shown us that the more you tell us when you report an issue, the faster we solve that ticket. So...
1 - If you have screengrabs, please include them. A picture is worth a thousand words.
2 - If you have recorded a video showing the issue you're having, please include that as well. A video is worth a million words.
We recommend a free service called Loom for creating these videos. (this is a link to https://www.useloom.com/)
3 - To speed up ticket resolution, follow these useful tips How to Write the Perfect Support Ticket (That Gets Results Fast)









