# Wordpress HS Plugin Legacy issue with tracking codes

**URL:** <https://community.hubspot.com/t/wordpress-hs-plugin-legacy-issue-with-tracking-codes/9928>\
**Category:** CMS Development\
**Created:** [August 22, 2018, 9:47am UTC](https://community.hubspot.com/t/wordpress-hs-plugin-legacy-issue-with-tracking-codes/9928 "2018-08-22T09:47:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpsanchez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jpsanchez/32/106486_2.png) [@jpsanchez](https://community.hubspot.com/u/jpsanchez)\
**Post date:** [August 22, 2018, 9:47am UTC](https://community.hubspot.com/t/wordpress-hs-plugin-legacy-issue-with-tracking-codes/9928/1 "2018-08-22T09:47:38Z")

</div>

Hi folks 😉

I´m chekcing a WP client that was using HS plugin for last two years and more them one Plugin at the same time. They have just update the site and install the last version of the HS plugin. All looks fine and works.

Doing the check i just see more them once the HUS codes in the site and i´m not sure if this is normal or is a legacy code. ( paste here the codes in question)

Thanks in advace for any answer about this ;))

 ![Captura de pantalla 2018-08-22 a las 11.46.50.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/3/939c79f4fcb4ee93527606c125431e61386178c5.png)

---

<div class="post-metadata">

**Author:** ![roisinkirby](https://avatars.discourse-cdn.com/v4/letter/r/e95f7d/32.png) [@roisinkirby](https://community.hubspot.com/u/roisinkirby)\
**Post date:** [August 23, 2018, 10:55am UTC](https://community.hubspot.com/t/wordpress-hs-plugin-legacy-issue-with-tracking-codes/9928/2 "2018-08-23T10:55:59Z")

</div>

Hey @jpsanchez thanks for your question! @ndwilliams3, @trevordjones have you come accross this before?

---

<div class="post-metadata">

**Author:** ![trevordjones](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/trevordjones/32/35637_2.png) [@trevordjones](https://community.hubspot.com/u/trevordjones)\
**Post date:** [August 23, 2018, 12:41pm UTC](https://community.hubspot.com/t/wordpress-hs-plugin-legacy-issue-with-tracking-codes/9928/3 "2018-08-23T12:41:28Z")

</div>

@jpsanchez @roisinkirby This looks like you have both the "HubSpot Form Builder, Live Chat . . . " (fka “LeadIn”) Plugin and the “Hubspot Tracking Code for WordPress” plugin installed. Check your installed plugins for that.

You shouldn’t need the Tracking Code plugin if you have LeadIn already. I would suggest disabling/removing HS Tracking Code for WordPress if it is installed.

---

<div class="post-metadata">

**Author:** ![jpsanchez](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jpsanchez/32/106486_2.png) [@jpsanchez](https://community.hubspot.com/u/jpsanchez)\
**Post date:** [August 23, 2018, 12:50pm UTC](https://community.hubspot.com/t/wordpress-hs-plugin-legacy-issue-with-tracking-codes/9928/4 "2018-08-23T12:50:29Z")

</div>

Thanks for the quick answer @trevordjones the plugin is not installed ( HS tracking code for WP) so its quick a bit extrange that the code still on the pages. with your information all point to a legacy in the WP from client site.

Do you know wich of the two lines codes are fropm HS tracking Code for WP?

Thanks again 😉

JP

---

<div class="post-metadata">

**Author:** ![trevordjones](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/trevordjones/32/35637_2.png) [@trevordjones](https://community.hubspot.com/u/trevordjones)\
**Post date:** [August 23, 2018, 12:55pm UTC](https://community.hubspot.com/t/wordpress-hs-plugin-legacy-issue-with-tracking-codes/9928/5 "2018-08-23T12:55:51Z")

</div>

The second code snippet is the analytics code for wordpress snippet.
