How to add a new website to google analytics
To add a new website to Google Analytics, follow these steps:
Step 1: Create a Google Analytics account
If you haven't already, create a Google Analytics account by going to the Google Analytics website and following the sign-up process.
Step 2: Create a new property
Once you have a Google Analytics account, you need to create a new property for your website. To do this:
- Sign in to your Google Analytics account.
- Click on the "Admin" button in the bottom left corner of the screen.
- Click on "Create Property" from the dropdown menu.
- Select "Website" as the property type.
- Enter the name of your website and the URL of your website.
- Click "Create" to create the property.
Step 3: Get the tracking ID
Once you have created the property, you will be given a tracking ID. This is a unique string of characters that you will need to add to your website in order to track its traffic and behavior.
Step 4: Add the tracking code to your website
To add the tracking code to your website, you will need to add a small piece of JavaScript code to the HTML of each page on your website. You can do this by:
- Going to the "Admin" section of your Google Analytics account.
- Clicking on "Tracking Info" and then "Tracking Code".
- Copying the tracking code that is displayed.
- Adding the tracking code to the HTML of each page on your website. You can do this by adding the code to the section of your website's HTML file, or by using a website builder or CMS that allows you to add custom code to your website.
Step 5: Verify the tracking code
Once you have added the tracking code to your website, you need to verify that it is working correctly. To do this:
- Go to the "Admin" section of your Google Analytics account.
- Click on "Tracking Info" and then "Verify".
- Follow the instructions to verify the tracking code.
Step 6: Set up goals and events
Once you have verified the tracking code, you can set up goals and events to track specific actions on your website. For example, you can set up a goal to track when someone completes a purchase, or an event to track when someone clicks on a specific button.
Step 7: Explore your analytics data
Once you have set up your Google Analytics account and tracking code, you can start exploring your analytics data to see how your website is performing. You can use the Google Analytics dashboard to view reports on your website's traffic, engagement, and conversion rates.
That's it! With these steps, you should be able to add a new website to Google Analytics and start tracking its traffic and behavior.