Title: adding script
Last modified: September 16, 2017

---

# adding script

 *  [eddierosenthal](https://wordpress.org/support/users/eddierosenthal/)
 * (@eddierosenthal)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/adding-script-2/)
 * Hi – what i really would like is if the html could embed the gaq_push script 
   for analytics. typically i would use this type of code in the widget area, but
   would like to be able to also use it in the title.
    so normally inside the text
   area i would put this type of thing
 *     ```
       onclick="_gaq.push(['_trackEvent','banners','Lenders One Cooperative','altisource.com/producs']);"
   
       or as seen in a real life example 
   
       <a href="https://www.altisource.com/Products/Lenders-One-Cooperative?cat=Origination+Solutions?utm_campaign=L1_Q4_Digital%7CL1_Q4_Digital&utm_source=RobChrisman&utm_medium=Display&utm_content=120x180%7Cna%7CStatic%7C" target="_blank"><img src="http://www.robchrisman.com/wp-content/uploads/2016/09/Altisource_LendersOne_Motion_120x180-1.jpg" /></a>
       ```
   
 * but so far i haven’t been able to see how to do it. any suggestions?
    i have 
   modified the opening and closing braces, ( with left and right brackets { and})
   and haven’t yet figured it out….
    -  This topic was modified 8 years, 8 months ago by [eddierosenthal](https://wordpress.org/support/users/eddierosenthal/).
    -  This topic was modified 8 years, 8 months ago by [eddierosenthal](https://wordpress.org/support/users/eddierosenthal/).

The topic ‘adding script’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/html-in-widget-titles.svg)
 * [HTML Widget Titles](https://wordpress.org/plugins/html-in-widget-titles/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/html-in-widget-titles/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/html-in-widget-titles/)
 * [Active Topics](https://wordpress.org/support/plugin/html-in-widget-titles/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/html-in-widget-titles/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/html-in-widget-titles/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [eddierosenthal](https://wordpress.org/support/users/eddierosenthal/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/adding-script-2/)
 * Status: not a support question