How to add google analytics in wordpress - Forttech

How to add google analytics in wordpress

How to add google analytics in wordpress

Go to And Click Start Measuring

google analytics in wordpress

Enter your basic account details ad click next

Check all the options needed

Accept the agreements

Click Web

Enter your site url and name

Click Global Site Tag (gtag.js)

Copy the code

Go back to your wordpress dashboard and click Appearance>Theme editor

Click the Theme Header (Header.php)

Go to the

Paste the code in between the PASTE THE CODE HERE

Click Update File

You will see file edited  successfully

Go back to google analytics and Click connected site tags

Paste your measurement ID as seen above

After pasting the measurement ID, Click connect

After that you’ll see connected tags will be 1

You can now close the Web stream details tab


You will now see your stream details

Congratulations, Your Google analytics is now Live and ready


Digital marketing blog

Leave a Reply

error: Content is protected !!
%d bloggers like this: