HTML Script <script>


The script tag is used to execute javascript on your webpage.

Common uses are to execute the Google Analytics tracking script or the Facebook Pixel tracking script.

The script tag sits in the section and the example below shows what it would look like if you added the Google Analytics script in.

By placing it in the the script will get called every time a new webpage on your site is loaded, thus being able to capture analytics data from all pages on your website.


<!DOCTYPE html>



<link rel="stylesheet" href="/file/stylesheet.css">

<!-- Google Analytics -->
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),

ga('create', 'UA-XXXXX-Y', 'auto');
ga('send', 'pageview');
<!-- End Google Analytics -->



Content of the page goes here.