Skip to main content
Help

Current version by: Lucas Bishop

Title:

Insert javascript into site template?

Text:

-I’m interested in including different javascript in my site for tracking different things. However, it seems that:
+I’m interested in including javascript in my site for tracking different things. However, it seems that:
* script tags are stripped out of the css fields in Manage > Configuration > Appearance > “Custom header/footer html”
* script tags inserted into Manage > Configuration > Appearance > “Custom CSS” are placed in an external CSS file which prevents the script from running
-
Are there any tricks to running a javascript in the head, body or footer somehow? Or is this not possible?

Category:

Customization and Appearance

Discussion Topic:

No

Status:

open

Original post by: Lucas Bishop

Title:

Insert javascript into site template?

Text:

I’m interested in including different javascript in my site for tracking different things. However, it seems that:

* script tags are stripped out of the css fields in Manage > Configuration > Appearance > “Custom header/footer html”
* script tags inserted into Manage > Configuration > Appearance > “Custom CSS” are placed in an external CSS file which prevents the script from running

Are there any tricks to running a javascript in the head, body or footer somehow? Or is this not possible?

Category:

Customization and Appearance

Discussion Topic:

No

Status:

open
TRUSTe