Skip to main content
How to Add RB2B's Script to Wix
Updated over a week ago

Installing the RB2B script on your Wix website is a straightforward process that enables you to leverage the full capabilities of the RB2B platform, enhancing your site's functionality and visitor tracking. Follow these simple steps to get started:


Copy the RB2B Script

Start by ensuring that you have the RB2B script ready. You can find it in the Script section of the dashboard. Copy the entire code snippet to your clipboard, preparing it for embedding into your Wix site.

Access Settings

Navigate to the Settings section within your site's dashboard. This is where you'll begin the process of adding custom code to your site.

Find Custom Code

Within the Settings menu, locate the Advanced section and click on the Custom Code tab. This area allows you to manage and add new pieces of code to your site.

Add the RB2B Script

Click on + Add Custom Code at the top right corner of the page. This will open a text box where you can paste the RB2B script. Paste the RB2B code snippet, as provided in our dashboard, into the provided text box.

Name Your Code

Assign a name to your custom code snippet. It's helpful to choose a name that clearly identifies the script's purpose, such as RB2B Tracking Script, for easy future reference.

Determine Code Placement

Decide where you want the code to be applied by selecting an option under Add Code to Pages:

  • All pages: This will apply the script across your entire site, including future pages you might add. You can further specify if the code should load only once per visitor session or on every page view.

We recommend that you set it to load on every page view. Doing otherwise will greatly affect RB2B's ability to function properly and identify your visitors.

  • Choose specific pages: If you prefer to limit the script to certain pages, use the drop-down menu to make your selections.

Choose Code Location

Under Place Code in, select where on the page you'd like the script to be inserted. The options are:

  • Head: Inserts the script in the head section of your HTML, ideal for scripts that need to load before the rest of your page.

  • Body - start: Places the script at the beginning of the body section, just after the opening body tag.

  • Body - end: Places the script right before the closing body tag, which is suitable for scripts that need to load after all other page content.

We recommend that you add our tracking script to the <head>.

Apply Changes

Once you've configured all settings, click Apply to save your changes and activate the RB2B script on your site.

Congratulations! You've successfully installed the RB2B script on your Wix website. This script will now start collecting valuable visitor insights, allowing you to optimize your site and strategies based on real user interactions.

Did this answer your question?