Many methods we can use to add tracking code to a wordpress website. By adding website tracking system helps you
to tracking and monitor your visitors to your website. Commonly all tracking system provides you a detail report
and statstical data for analyzing about the visitors count.
Option 1 : Using plugin
By Using Plugin we can insert seperate header and footer code.
Option 2 : Inserting by editing the header.php
WordPress Dashboard >> Appearance >> Editor >> header.php . find the head tag and paste the code before the tag closing.
Save and update the file.