By elkin_taharon on
Hi guys,
I'm trying to include a javascript code for socialmedia tracking with de facebook share module, i'm kind of lost, all the howto's says that if you want to include the fb share button u need a div with "fb-root" as id, but i can't find it anywhere in the page's source code.
This is the howto i'm using:
http://www.ian-thomas.net/tracking-social-engagement-with-google-analytics/
I'm using something like this to include the js files:
if (module_exists('facebookshare')) {
drupal_add_js(path_to_js);
$variables['scripts'] = drupal_get_js();
}
Any ideas ??
Thx in advance,
Elkin.