Dynamically assign Analytics event tracking values
-
I have many contact forms on my website.
I’m looking for a way to dynamically populate Google’s Analytics _trackEvent (category,action and value paramteres) with custom fields set for the page where the form was submitted on.I know there’s an option to use the on_sent_ok hook in the ‘Additional Settings’ field, but that will require to create a separate form for each page, and that’s quite a turn-off for me.
What will be the best way to implement this?
Thanks guys
- The topic ‘Dynamically assign Analytics event tracking values’ is closed to new replies.