Title: Variables in a widget
Last modified: July 12, 2017

---

# Variables in a widget

 *  Resolved [markemark](https://wordpress.org/support/users/markemark/)
 * (@markemark)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/variables-in-a-widget/)
 * Hi there, just came across your fantastic WP plugin, I wanted to ask if it would
   be possible to use on Widgets.
 * i.e. I have a Widget I re-use across the website, with
    a) A call now button,
   b) A form for people to request a call back
 * Would it be possible to pass a variable to the GA Event, so I could tell where
   this was used ?
    If I just add a class all the goals would look the same, I want
   to know which page it was called on.
 * thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [yuvalo](https://wordpress.org/support/users/yuvalo/)
 * (@yuvalo)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/variables-in-a-widget/#post-9314616)
 * Hi [@markemark](https://wordpress.org/support/users/markemark/)
 * The Placeholder feature in the Pro Version of the plugin allows you to do just
   that:
    [https://wpflow.com/knowledgebase/dynamic-event-data-placeholders/](https://wpflow.com/knowledgebase/dynamic-event-data-placeholders/)
 * Yuval

Viewing 1 replies (of 1 total)

The topic ‘Variables in a widget’ is closed to new replies.

 * ![](https://ps.w.org/wp-google-analytics-events/assets/icon-256x256.jpeg?rev=
   2189709)
 * [WP Google Analytics Events - No-Code Custom Event Tracking for Google Analytics](https://wordpress.org/plugins/wp-google-analytics-events/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-google-analytics-events/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-google-analytics-events/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-google-analytics-events/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-google-analytics-events/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-google-analytics-events/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [yuvalo](https://wordpress.org/support/users/yuvalo/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/variables-in-a-widget/#post-9314616)
 * Status: resolved