Title: use Javascript code for tracking
Last modified: January 15, 2018

---

# use Javascript code for tracking

 *  Resolved [ramajo](https://wordpress.org/support/users/ramajo/)
 * (@ramajo)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/use-javascript-code-for-tracking/)
 * Hi,
 * I need use this javascript code when click in Submit button gravityforms
 * javascript:window.adf&&adf.ClickTrack(this,1192738,’IEB/admission/cursos/Conversion
   page’,{orderid: ‘<insert order id value here>’,sv3: ‘<insert Actividad empresa
   value here>’,sv4: ‘<insert Cargo Empresa value here>’,sv5: ‘<insert Empresa value
   here>’,sv6: ‘<insert interesado en value here>’,’itms’:[{categoryname: ‘<insert
   category name value here>’,productname: ‘<insert product name value here>’,productid:‘
   <insert product id value here>’,step: 3}]});
 * How can i do?
 * Thanks for your support
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fuse-javascript-code-for-tracking%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Ronald Huereca](https://wordpress.org/support/users/ronalfy/)
 * (@ronalfy)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/use-javascript-code-for-tracking/#post-9865580)
 * You can only do this using Google Tag manager, which is fairly advanced.
 * More details here: [https://bigwing.com/nest/gravity-forms-event-tracking-google-analytics/google-tag-manager/](https://bigwing.com/nest/gravity-forms-event-tracking-google-analytics/google-tag-manager/)

Viewing 1 replies (of 1 total)

The topic ‘use Javascript code for tracking’ is closed to new replies.

 * ![](https://ps.w.org/gravity-forms-google-analytics-event-tracking/assets/icon-
   256x256.png?rev=2524751)
 * [Event Tracking for Gravity Forms](https://wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Ronald Huereca](https://wordpress.org/support/users/ronalfy/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/use-javascript-code-for-tracking/#post-9865580)
 * Status: resolved