Title: Script code on &#8220;Thank-you-message&#8221;
Last modified: November 19, 2018

---

# Script code on “Thank-you-message”

 *  [TroyMcClure](https://wordpress.org/support/users/troymcclure/)
 * (@troymcclure)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/script-code-on-thank-you-message/)
 * Hi,
 * I’m using this plugin to track my forms on Analytics, but when user Submits the
   form, the thank you message displays:
 * “Thank you for your request etc.. <script> var _wpcf7_intel_goal_cnt = _wpcf7_intel_goal_cnt
   || [MORE CODE ETC] 2rc”:”submission”,”2ri”:”:wpcf7:824:”}}]);}</script>”
 * Is there anything I’m doing wrong??
    Thank you in advance.
 * Regards,

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

 *  Plugin Author [tomdude](https://wordpress.org/support/users/tomdude/)
 * (@tomdude)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/script-code-on-thank-you-message/#post-11430944)
 * The <script> code is supposed to be there. It is javascript used to trigger the
   event in GA. However, it should be hidden and executed rather than displayed 
   on the page.
 * My guess is that there may be some setting in CF7 or another plugin that might
   be escaping the script or it is something in your theme.
 * Try switching your theme and disabling other plugins to see if it goes away.
 *  [karinseongsu](https://wordpress.org/support/users/karinseongsu/)
 * (@karinseongsu)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/script-code-on-thank-you-message/#post-11470679)
 * I have a similar issue. when someone fills the form and clicks send, the “thank
   you” message comes messy-letters one on top of the other.
    Don’t know how to 
   fix this
 *  Plugin Author [tomdude](https://wordpress.org/support/users/tomdude/)
 * (@tomdude)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/script-code-on-thank-you-message/#post-11478361)
 * I have tested using a form with the default settings and am not seeing the issue
   with the latest versions of the plugins. Are there any special settings you are
   using for forms? Can you provide a list of plugins you are using and I will see
   if I can find a conflict?

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

The topic ‘Script code on “Thank-you-message”’ is closed to new replies.

 * ![](https://ps.w.org/cf7-intelligence/assets/icon-256x256.png?rev=1655199)
 * [Contact Form 7 Google Analytics Intelligence](https://wordpress.org/plugins/cf7-intelligence/)
 * [Support Threads](https://wordpress.org/support/plugin/cf7-intelligence/)
 * [Active Topics](https://wordpress.org/support/plugin/cf7-intelligence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cf7-intelligence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cf7-intelligence/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [tomdude](https://wordpress.org/support/users/tomdude/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/script-code-on-thank-you-message/#post-11478361)
 * Status: not resolved