Google Analytics

ahansen1 - January 24, 2009 - 17:29
Project:Drupal for Facebook
Version:5.x-2.x-dev
Component:User interface
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs work
Description

I've modified the default fbml theme that comes with the module to add the google analytics fbml to the page when the google analytics modules is installed. Not sure if it's implemented appropriately for every situation, but it seems to work for mine: http://apps.facebook.com/howigotengaged/

Thought I'd share in case anyone else found it of value.

AttachmentSize
template.php_.google.patch919 bytes

#1

Dave Cohen - March 4, 2009 - 23:18
Status:needs review» needs work

This is a cool workaround to get analytics to work. But I don't want to add anything to the template that is so specific to one module.

Instead, I think we need a FBML-specific closure in the template. The google-analytics-aware code needs to be somewhere else, perhaps the google analytics module.

 
 

Drupal is a registered trademark of Dries Buytaert.