MediaRon / gravity-forms-google-analytics-event-tracking

Use event tracking with Google Analytics
https://wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/
GNU General Public License v2.0
65 stars 14 forks source link

Path and Title parameters from the page the form was embedded on? #8

Closed intelliweb closed 9 years ago

intelliweb commented 9 years ago

Fantastic plugin. Would love to see the embed page URL and title of the form entry included with each event as the document path and document title parameters: https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#dp

That way if a form is used on multiple pages (in a sidebar, for example) in Google Analytics you could drill down to see which pages the events occurred on.

nathanmarks commented 9 years ago

Hey @intelliweb , the latest version now has merge tags and you can use any of the Gravity Forms variables using the drop-downs on the event tracking settings page.

I see the pages issue in the events tab, which is weird since in goals the "Goal completion location" is actually being shown. I'll look into it.

intelliweb commented 9 years ago

Awesome! Merge tags are working great. Thanks @nathanmarks.

nathanmarks commented 9 years ago

Hey @intelliweb , I looked into this last night and I will definitely make sure these are pushed in the next update.

intelliweb commented 9 years ago

@nathanmarks Awesome, thanks!

intelliweb commented 7 years ago

@ronalfy Any chance of implementing the embed page URL as the document path: https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#dp

The merge tags are kind of a workaround but not ideal. Would be nice to just have the Page and Page Title included in GA.