Step1 : the open the google analytical to login and choose add property click(https://analytics.google.com )
Step2: choose website.
Step3: create an account and choose industry,sitename ,site url,name.
Step4: add click and it will show in the page.
Step5: in this page also come in another form in google anlaytic then I accept option click.
Step6: it show the dashboard and choose admin options.
Step7: choose js tracking info options in the admin options
Step8: choose tracking code get tracking id and tracking javascipt
Step9 : tracking javascript copy into your site foote.php replace it.