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
Log in or Sign Up: Access the Relevic dashboard by logging in or signing up.
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
Log in to WordPress: Access your WordPress admin area by logging in with your credentials.
Go to Appearance > Theme Editor: From the WordPress dashboard, navigate to Appearance and select Theme Editor.
Step 3: Locate the Header File (header.php)
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
Insert the Script: Scroll through the header.php file to find the closing
</head>
tag.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
Click Update File: Once you've pasted the script, click Update File to save the changes.
Verify: Ensure that the script is applied to your website by visiting your site.