Skip to main content
How to Add Relevic's Script to WordPress
Updated over a month ago

If you are using Elementor as a site builder, this method will not work. Please click here for a guide on Wordpress Elementor.

Similarly, you can also add the script onto wordpress using a plugin as well. More on that here.

Integrating the Relevic personalization script into your WordPress site allows for dynamic content personalization based on visitor data, improving user engagement and conversion rates. Follow these steps to seamlessly add the script and begin personalizing your site.

Step1: Accessing and Copying the Relevic Personalization Script

  1. Log in or Sign Up: Access the Relevic dashboard by logging in or signing up.

  2. Navigate to the Configuration Tab: Find the personalization settings under the Configuration Tab.

Copy the Personalization Script: Copy the provided script to use it in your WordPress integration.

Step 2: Log in to WordPress and Access the Theme Editor

  1. Log in to WordPress: Access your WordPress admin area by logging in with your credentials.

  2. Go to Appearance > Theme Editor: From the WordPress dashboard, navigate to Appearance and select Theme Editor.

Step 3: Locate the Header File (header.php)

  1. Find Theme Header: On the right-hand side of the Theme Editor, locate and select the header.php file. This is where your site's HTML <head> section is stored.

Step 4: Paste the Relevic Script in the Header

  1. Insert the Script: Scroll through the header.php file to find the closing </head> tag.

  2. Paste the Script: Add the Relevic personalization script just before the closing </head> tag.

Example:

<head>
<!-- Other head content -->
<script>
// Relevic personalization script here
</script>
</head>

Step 5: Save Your Changes

  1. Click Update File: Once you've pasted the script, click Update File to save the changes.

  2. Verify: Ensure that the script is applied to your website by visiting your site.

Did this answer your question?