EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #01556


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: steps to add Google Anaytics script


On Fri, 2013-02-08 at 17:08 +0000, MacCorkle, Gwendolyn B. wrote:
> Can I and where would I add it as an inline script?  
> 
>  
> 
> Where would I add the js script and the instructions to treat it as an
> include?   

If you mean, where do you drop the .js link, you want to add that into
your template.

Copy lib/templates/default.xml into
archives/[repoid]/cfg/templates/default.xml and modify the <head>
section in accordance with Google's instructions.
(Restart the Web server to pick up the new template)

All the best,
Tim

Attachment: signature.asc
Description: This is a digitally signed message part