What is Fibr Script
the fibr script is what connects your website to fibr it's a small code snippet that you add once, and it enables everything fibr does experiments, personalization, tracking, and real time optimization without it, fibr can't see your visitors or deliver dynamic experiences with it, your site can adapt to every campaign, audience, and condition automatically how it workswhen someone visits your site, the fibr script runs instantly and does three things identifies the visitor it checks who they are based on your configured rules which ad they clicked, what audience segment they belong to, whether they're new or returning, their location, and more finds the right experience if the visitor matches any of your active experiments or personalization campaigns, fibr selects the appropriate variant delivers it immediately the experience loads client side during page render your visitor sees the personalized version without any flicker, delay, or visible swap this all happens in milliseconds your site adapts dynamically without requiring any additional deployments or engineering work best practices for installation place it in the \<head> tag the script needs to load early in the page lifecycle to work correctly add it inside the \<head> section of your html put it above other scripts position the fibr script at the top of your \<head>, before analytics tags, tracking pixels, or other third party scripts this ensures fibr initializes first and can deliver the right experience before anything else runs avoid script conflicts if you have multiple scripts that modify page content or load asynchronously, they can interfere with fibr's timing keep your \<head> clean and test after adding new scripts validate before launching campaigns before you create experiments or personalization campaigns, confirm the script is working go to settings → setup → validate in your fibr dashboard enter your url and click check you'll see a confirmation if the script is firing correctly