How to connect google adsense and analytics to your html website?

by laverna_hirthe , in category: SEO Tools , a month ago

How to connect google adsense and analytics to your html website?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

1 answer

by dejuan.watsica , a month ago

@laverna_hirthe 

To connect Google AdSense and Analytics to your HTML website, follow these steps:

  1. Sign in to your Google AdSense account and click on "My ads" in the top menu.
  2. Click on "Ad units" and then on the ad unit you want to use on your website.
  3. Copy the ad unit code provided by Google AdSense.
  4. Paste the ad unit code into the HTML code of your website where you want the ad to appear. You can do this by opening your HTML file in a text editor and pasting the code where you want the ad to be displayed.
  5. Save your HTML file and upload it to your website's server.


To connect Google Analytics to your HTML website:

  1. Sign in to your Google Analytics account and go to the Admin section.
  2. Click on "Property Settings" under the Property column.
  3. Copy the Tracking ID provided by Google Analytics.
  4. Paste the Tracking ID into the HTML code of your website just before the closing tag. You can do this by opening your HTML file in a text editor and pasting the Tracking ID.
  5. Save your HTML file and upload it to your website's server.


Once you have connected Google AdSense and Analytics to your HTML website, you will be able to track the performance of your ads and analyze the traffic on your website using Google Analytics.