Skip to main content

How to add Relevic's script on your website (HTML)

Updated over 3 weeks ago

Integrating the Relevic personalization script into your website is a crucial step to enable tailored experiences for your visitors. This script allows Relevic to dynamically adjust your site’s content based on visitor behavior, improving engagement and conversion rates.

By correctly placing the script, you ensure your website is ready to deliver personalized campaigns that drive results.

Step 1: Accessing and Copying the Relevic Personalization Script

To begin, you need to copy the personalization script from Relevic:

  1. Log in or Sign Up: Access the Relevic dashboard by logging in or signing up if you’re a new user.

  2. Add Website Name: On sign up/sign in, you will be taken to the 'Get Started' tab. First up, let's add your website name (or chose an existing website if you've done this already).

  3. Copy the Personalization Script: Once the website is added, you can copy the script as the next step. Please install it into the <head> section of your website. This script is critical for enabling personalized experiences on your Shopify website.

Step 2: Integrating the Personalization Script into Your HTML Website

Follow these steps to integrate the script into your HTML-based website:

  1. Open Your HTML File: Using a code editor, open the HTML file where you want to add the script (typically the index.html file).

  2. Insert the Script: Paste the Relevic personalization script inside the <head> section of your website’s HTML file to ensure it loads at the correct time:

    <head>
    <script>
    // insert the personalization script you copied in step 1
    </script>
    </head>

  3. Save the Changes: After inserting the script, save your HTML file.

  4. Upload the File: Upload the updated HTML file to your web server via FTP or your hosting platform’s file manager.

  5. Verify the Integration: Open your website in a browser to check that the personalization script has been successfully integrated and is functioning as expected.

With these steps completed, your website is ready to start delivering personalized experiences using Relevic.

Did this answer your question?