when running this on 4.7rc1, i am getting the http:// stripped and so Google Analytics is complaining...
eg:
_uacct = "UA-xxxxxx-1";urchinTracker();any ideas? did drupal_add_js change?
when running this on 4.7rc1, i am getting the http:// stripped and so Google Analytics is complaining...
eg:
_uacct = "UA-xxxxxx-1";urchinTracker();any ideas? did drupal_add_js change?
Comments
Comment #1
buddaAppears to be a Drupal RC1 core bug. The bug stops external server javascript from being loaded.
Comment #2
Steven commenteddrupal_add_js() was not meant for external JS files. It can probably be fixed by using
url($file)in drupal_add_js() instead ofbase_path() . url($file).Comment #3
Steven commented..instead of
base_path() . $file.Comment #4
killes@www.drop.org commentedOk, let's can it, then.
Comment #5
seandunaway commenteddo you think thats desirable?
Comment #6
buddaHmm, so whats the solution for including javascript in from an absolute URL? :-/
Comment #7
buddaI've fixed the GoogleAnalytics module to use the basic drupal_set_html_head() function now.
Comment #8
budda