Google: Analytic's - Placement of Events tracking code
We are wanting to set up Events tracking for some of the pages on the MS-UK website with regards to Downloads of .pdf and Word documents.
I have read all the information on GA about setting up the script, however it does not tell me where to put the actual lines of script – I am guessing contained within the [script] [/script] of the tracking code?
Also, does this need to be added on the specific pages where we have downloads, or, do I just add one line for each download to the overall tracking script?
Also, what needs to go in the [fieldsObject] as this is not specified in the Events Overview https://developers.google.com/analytics/devguides/collection/analyticsjs/events?
ga('send', 'event', [eventCategory], [eventAction], [eventLabel], [eventValue], [fieldsObject]);