Download & Extend

Send node id to Google Analytics when using the automatic rewrite module

Project:Google Analytics
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (works as designed)

Issue Summary

To support our needs I created a patch that adds a option to send the node id in the page tracker URL.

We need this id in the pagepath in google analytics to map a page to data in an external program. This id is added as /example/url(node=1) and send in the _trackPageview function by editing the $custom_url variable. This option can be set in the admin page by the advanced settings. Can you please add this to the module so many of our users can use this plugin in Drupal.

AttachmentSizeStatusTest resultOperations
google_analytics-sendnode.patch2.51 KBIgnored: Check issue status.NoneNone

Comments

#1

Status:patch (to be ported)» closed (works as designed)

This uggly non-core trustworthy code will never go into this module. The use of REQUEST_URI is prone to XSS exploits and does not work on IIS. And finally I do not see the use case + you may use Event Tracking to archive this.

#2