Title: Lead Forensics
Author: Lead Forensics Wordpress Plugin Support
Published: <strong>7. октобар 2015.</strong>
Last modified: 26. мај 2026.

---

Претражи додатке

Овај додатак **није испробан са последња 3 главна издања Вордпреса**.Можда се више
не одржава или подржава и можда има грешке са усклађеношћу са новијим издањима Вордреса.

![](https://ps.w.org/lead-forensics-roi/assets/icon-256x256.jpg?rev=1283228)

# Lead Forensics

 [Lead Forensics Wordpress Plugin Support](https://profiles.wordpress.org/leadforensicspluginsupport/)

[Преузимање](https://downloads.wordpress.org/plugin/lead-forensics-roi.3.5.3.zip)

 * [Детаљи](https://sr.wordpress.org/plugins/lead-forensics-roi/#description)
 * [Прегледи](https://sr.wordpress.org/plugins/lead-forensics-roi/#reviews)
 *  [Постављање](https://sr.wordpress.org/plugins/lead-forensics-roi/#installation)
 * [Изградња](https://sr.wordpress.org/plugins/lead-forensics-roi/#developers)

 [Подршка](https://wordpress.org/support/plugin/lead-forensics-roi/)

## Опис

The official Lead Forensics plugin for WordPress. It places your tracking code exactly
where it needs to be:

 * **Script tag** injected into `<head>` — synchronously, without `async` or `defer`,
   ensuring Lead Forensics and dependent tools like LF Chat load correctly.
 * **Noscript tag** injected immediately after the opening `<body>` tag — the correct
   position per the HTML specification.

**Why does placement matter?**

Many WordPress performance plugins add `async` or `defer` to any script they find.
This breaks Lead Forensics tracking and any tools that depend on the visitor data
it provides. This plugin bypasses the WordPress enqueue system entirely, giving 
you reliable, consistent injection every time.

**Features**

 * Separate fields for Script Tag and Noscript Tag
 * Automatic stripping of `async` and `defer` attributes on save
 * Live preview of exactly what will be injected
 * Tracking status indicator — see at a glance whether your code is configured
 * Direct link to your tracking code in the Lead Forensics portal

## Постављање

 1. Upload the `lead-forensics-roi` folder to `/wp-content/plugins/`
 2. Activate the plugin via **Plugins** in WordPress admin
 3. Go to **Settings  Lead Forensics**
 4. Paste your Script Tag and Noscript Tag from the [Lead Forensics portal](https://portal.leadforensics.com/TrackingCode)
 5. Click **Save Changes**

## ЧПП

### Where do I find my tracking code?

Log in to your [Lead Forensics portal](https://portal.leadforensics.com/TrackingCode)
and navigate to Settings  Tracking Code.

### Why are there two separate fields?

The script tag must go in `<head>` and the noscript tag must go immediately after`
<body>`. Putting both in the head (as some plugins do) is invalid HTML and causes
inconsistent behaviour across browsers.

### Will this work with caching or performance plugins?

Yes. Because we bypass `wp_enqueue_script()` and echo directly into the relevant
hooks, caching and optimisation plugins cannot modify or defer our output.

### My theme doesn’t support wp_body_open — will the noscript tag still work?

The noscript tag requires your theme to call `wp_body_open()`. All themes from WordPress
5.2 onwards support this. If your theme does not call it, the noscript tag will 
not render — however this will not break your tracking, as the noscript tag is only
a fallback for visitors without JavaScript.

### Does the plugin collect any data?

No. The plugin stores only the two tracking code snippets you paste in (in your 
own WordPress database). It does not collect, transmit, or store any user data itself.

## Прегледи

![](https://secure.gravatar.com/avatar/313c638c239590bf43666f0befd50855401b9083cf1b246b6a3596e1df2e7d8b?
s=60&d=retro&r=g)

### 󠀁[The plugin worked fine for me.](https://wordpress.org/support/topic/the-plugin-worked-fine-for-me/)󠁿

 [Website Dude](https://profiles.wordpress.org/modernscarface/) 7. новембар 2018.

The plugin worked for me and did as it was expected to do.

![](https://secure.gravatar.com/avatar/56b728732c63cbd2bc50844a3ced43c1469588d08e315516b352b28565f0fd5c?
s=60&d=retro&r=g)

### 󠀁[Works](https://wordpress.org/support/topic/works-1459/)󠁿

 [maxoncos](https://profiles.wordpress.org/maxoncos/) 20. август 2018.

Worked without issue on my site.

![](https://secure.gravatar.com/avatar/695ef6c44099c364f067135437cd8ee599d0e20dc8bb159db1b5fe00d04603ca?
s=60&d=retro&r=g)

### 󠀁[Broke my site](https://wordpress.org/support/topic/broke-my-site-151/)󠁿

 [johadretri](https://profiles.wordpress.org/johadretri/) 11. мај 2018.

after installing this plugin, it gave me the classic wordpress white screen of death.
the tool itself seems useful but not worth the damage once disabled site works ok
again. if a later release fixes this issue ill be happy to give it another try

![](https://secure.gravatar.com/avatar/afc3436a88725d2e82396cdf2b26751f57744567e72fdbc742d38f47618deb3c?
s=60&d=retro&r=g)

### 󠀁[Just Works](https://wordpress.org/support/topic/just-works-231/)󠁿

 [RupertGB](https://profiles.wordpress.org/rupertgb/) 3. септембар 2016.

Paste the code in the box.

 [ Види сва 4 прегледа ](https://wordpress.org/support/plugin/lead-forensics-roi/reviews/)

## Сарадници и градитељи

„Lead Forensics“ је софтвер отвореног кода. Следећи људи су допринели овом додатку.

Сарадници

 *   [ Lead Forensics Wordpress Plugin Support ](https://profiles.wordpress.org/leadforensicspluginsupport/)

[Преведите „Lead Forensics“ на свој језик.](https://translate.wordpress.org/projects/wp-plugins/lead-forensics-roi)

### Заинтересовани сте за градњу?

[Прегледајте код](https://plugins.trac.wordpress.org/browser/lead-forensics-roi/),
проверите [SVN складиште](https://plugins.svn.wordpress.org/lead-forensics-roi/)
или се пријавите на [белешку градње](https://plugins.trac.wordpress.org/log/lead-forensics-roi/)
преко [RSS-а](https://plugins.trac.wordpress.org/log/lead-forensics-roi/?limit=100&mode=stop_on_copy&format=rss).

## Белешка о изменама

#### 3.5.3

 * Fixed migration split to correctly separate script and noscript tags
 * Added validation to prevent noscript tag being saved in script field and vice
   versa
 * Improved hint text and placeholders to make field requirements clearer

#### 3.5.1

 * Catch users who updated to 3.4.0 before migration logic was added — migration
   now runs on any version below 3.5.1

#### 3.5.0

 * Automatic migration of tracking code from previous plugin version on activation
 * Old tracking code option removed on activation to prevent duplicate injection
 * Migration notice shown in admin after successful upgrade

#### 3.4.0

 * Separate script/noscript fields, correct head/body injection, async/defer stripping,
   redesigned settings page

#### 2.0.3

 * Added wp_kses sanitisation on frontend output
 * Moved plugin_basename filter inside plugins_loaded hook
 * Added rel=“noopener noreferrer“ to all external links
 * Added direct link to Lead Forensics portal tracking code page
 * Full i18n support

#### 2.0.0

 * Complete rewrite with separate Script Tag and Noscript Tag fields
 * Correct injection positions (head / body open)
 * Automatic async/defer stripping
 * Redesigned settings page

## Мета

 *  Version **3.5.3**
 *  Last updated **1 дан раније**
 *  Active installations **6.000+**
 *  WordPress version ** 5.2 или новије **
 *  Tested up to **6.5.8**
 *  PHP version ** 5.6 или новије **
 *  Language
 * [English (US)](https://wordpress.org/plugins/lead-forensics-roi/)
 * Tags
 * [analytics](https://sr.wordpress.org/plugins/tags/analytics/)[b2b](https://sr.wordpress.org/plugins/tags/b2b/)
   [lead-forensics](https://sr.wordpress.org/plugins/tags/lead-forensics/)[tracking](https://sr.wordpress.org/plugins/tags/tracking/)
   [visitor tracking](https://sr.wordpress.org/plugins/tags/visitor-tracking/)
 *  [Напредни преглед](https://sr.wordpress.org/plugins/lead-forensics-roi/advanced/)

## Оцене

 4 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/lead-forensics-roi/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/lead-forensics-roi/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/lead-forensics-roi/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/lead-forensics-roi/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/lead-forensics-roi/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/lead-forensics-roi/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/lead-forensics-roi/reviews/)

## Сарадници

 *   [ Lead Forensics Wordpress Plugin Support ](https://profiles.wordpress.org/leadforensicspluginsupport/)

## Подршка

Имате нешто да кажете? Потребна вам је помоћ?

 [Види форум подршке](https://wordpress.org/support/plugin/lead-forensics-roi/)