# Tracking Pixel or JS Code?

**URL:** https://forum.mautic.org/t/tracking-pixel-or-js-code/4025
**Category:** Product Support
**Created:** [May 29, 2016, 9:24am UTC](https://forum.mautic.org/t/tracking-pixel-or-js-code/4025 "2016-05-29T09:24:10Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jantheofel](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@jantheofel](https://forum.mautic.org/u/jantheofel)
#### Post date: [May 29, 2016, 9:24am UTC](https://forum.mautic.org/t/tracking-pixel-or-js-code/4025/1 "2016-05-29T09:24:10Z")

</div>

Short question:  
  
  
  
In the documentation [https://www.mautic.org/getting-started/](https://www.mautic.org/getting-started/) a trackign pixel is mentioned.  
  
In my system at settings/landingpage settings a JS code is offered to include in the web page.  
  
  
  
Which one to use where? I guess the JS codes is better for tracking? But does is work everywhere or just on landing pages?

---

<div class="post-metadata">

### Author: ![jantheofel](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@jantheofel](https://forum.mautic.org/u/jantheofel)
#### Post date: [May 29, 2016, 9:24am UTC](https://forum.mautic.org/t/tracking-pixel-or-js-code/4025/2 "2016-05-29T09:24:10Z")

</div>

Short question:

In the documentation [https://www.mautic.org/getting-started/](https://www.mautic.org/getting-started/) a trackign pixel is mentioned.  
In my system at settings/landingpage settings a JS code is offered to include in the web page.

Which one to use where? I guess the JS codes is better for tracking? But does is work everywhere or just on landing pages?

---

<div class="post-metadata">

### Author: ![dirk\_s](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dirk_s/32/748_2.png) [@dirk\_s](https://forum.mautic.org/u/dirk_s)
#### Post date: [May 29, 2016, 12:23pm UTC](https://forum.mautic.org/t/tracking-pixel-or-js-code/4025/3 "2016-05-29T12:23:02Z")

</div>

The JS one is a bit more performant than the tracking pixel in my tests. It works everywhere, where you place the JS code. So also on your site.

---

<div class="post-metadata">

### Author: ![jantheofel](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@jantheofel](https://forum.mautic.org/u/jantheofel)
#### Post date: [May 30, 2016, 7:43am UTC](https://forum.mautic.org/t/tracking-pixel-or-js-code/4025/4 "2016-05-30T07:43:38Z")

</div>

Thank you! Someone from the team should change that here: [https://www.mautic.org/getting-started/](https://www.mautic.org/getting-started/)
