If you are using Wordpress themes, this method will not work. Please click here for a guide on Wordpress themes.
Similarly, you can also add the script onto wordpress via a plugin. More on that here.
Elementor users can easily integrate the Relevic personalization script to deliver customized experiences on their WordPress website. Follow these steps to add the script via the Elementor editor.
Step 1: Copy 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: Add an HTML Widget in Elementor
Edit the Header/Footer with Elementor: Navigate to your WordPress dashboard, locate the header or footer template, and click Edit with Elementor.
Drag and Drop an HTML Widget: From Elementor’s widget panel, drag the HTML widget into the desired section of your header or footer.
Step 3: Insert the Relevic Script
Edit the HTML Widget: Click on the HTML widget to edit it.
Paste the Script: Paste the Relevic personalization script inside the provided HTML code block, ensuring it includes the
<script>
tags.
Step 4: Save and Publish
Save Changes: Click Save to apply the changes to your site.
Clear Cache: If you have caching plugins active, ensure you clear them to make sure the changes take effect.