Skip to main content
Magento
Giancarlo Massaro avatar
Written by Giancarlo Massaro
Updated over 6 months ago

ViralSweep provides a javascript code snippet that allows you to embed your promotion into any website. If your site cannot accept javascript, we provide an iframe code as well for our Widget that you can utilize.
โ€‹

Full Page

Navigate to your ViralSweep dashboard and go to:

Install > Manually Install > Full Page > Copy Code

Add the code to a blank HTML file and save the file with any name you would like, such as promotion.html

Connect to your host via FTP and upload the file to any directory that you want.

To preview your campaign, you will need to navigate to the URL of where the code was placed.

Widget

Navigate to your ViralSweep dashboard and go to:

Install > Manually Install > Widget > Copy Code

Note: If your site does not accept javascript code, toggle to the iframe code instead.

Paste the code into any page of your website that you want it to show up on.

To preview your campaign, you will need to navigate to the URL of where the file was uploaded.

Lightbox

Navigate to your ViralSweep dashboard and go to:

Install > Manually Install > Lightbox > Copy Code

Paste the code into any page of your website that you want it to show up on. If you want it to show up on every page, add it to your header or footer file.

To preview your campaign, you will need to navigate to the URL of where the code was placed.

For more information on how to trigger the lightbox, see our Lightbox documentation.


We're here to help

If you have any further questions, please start a Chat. Just "Click" on the chat icon in the lower right corner to talk with our support team.

Did this answer your question?