Title: Javascript Tag Before /textjavascript
Last modified: December 6, 2021

---

# Javascript Tag Before /textjavascript

 *  [jlegaspi2](https://wordpress.org/support/users/jlegaspi2/)
 * (@jlegaspi2)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/javascript-tag-before-textjavascript/)
 * Hello!
 * I have been using wordpress for about 8 years and this is the first time I open
   up a support request because I cannot find anything on the web.
 * The problem is that we are using a chat integration from our CRM that cannot 
   be replaced, we need to track the chat activity and it’s not working because 
   the script is automatically being replaced after we add it.
 * The original script should start like this: <script type=”text/javascript” and
   obviously remain that way, but wordpress is automatically adding some text behind
   it that reads like this: <script type=”8cb8347520309838759-text/javascript”
 * I have already tried adding data-cfasync=”false” before the type but still this
   messes up the tracking from analytics, we need the code to be without any modifications
   or alterations, just as is.
 * Thank you in advance!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjavascript-tag-before-textjavascript%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/javascript-tag-before-textjavascript/#post-15138139)
 * How are you adding that code to your site?
 *  Thread Starter [jlegaspi2](https://wordpress.org/support/users/jlegaspi2/)
 * (@jlegaspi2)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/javascript-tag-before-textjavascript/#post-15138219)
 * Hello, we have tried on tag manager as custom HTML, we also tried on theme and
   directly to the site and all of the options had the same result.
 *  [catacaustic](https://wordpress.org/support/users/catacaustic/)
 * (@catacaustic)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/javascript-tag-before-textjavascript/#post-15138222)
 * If that’s the case, then something else is adding that on your site. From the
   source code o fyour homepage it looks like you’re using Cloudflare, so that’s
   the most likely culprit for it.
 * Doing a quick search I did find this:
 * [https://community.cloudflare.com/t/cloudflare-changing-our-script-tags/177075](https://community.cloudflare.com/t/cloudflare-changing-our-script-tags/177075)
 *  Thread Starter [jlegaspi2](https://wordpress.org/support/users/jlegaspi2/)
 * (@jlegaspi2)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/javascript-tag-before-textjavascript/#post-15140683)
 * wooow thanks a lot!!! Never thought of it, you are right the issue is solved 
   now.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Javascript Tag Before /textjavascript’ is closed to new replies.

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)
 * [tag](https://wordpress.org/support/topic-tag/tag/)
 * [tags](https://wordpress.org/support/topic-tag/tags/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [jlegaspi2](https://wordpress.org/support/users/jlegaspi2/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/javascript-tag-before-textjavascript/#post-15140683)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
