How to copy and paste a code on my website?

How to Copy & Paste Google Code to a Website

  • Answer:

    When you operate your own website, it can be useful to know how many people are viewing your website and other statistical information. This information can help ensure that you are reaching the correct audience and help you tailor your content to your users. Google codes allow you to track the traffic on your website by offering a tracking code that is imbedded into your website. All you must do is copy and paste the code into your website and Google tracks your users. Difficulty: Moderately Easy Instructions Set up an account with Google Analytics to obtain your individual UA number. You must have a Gmail address to do so. Visit code.google.com to locate the tracking HTML code. Type "tracking code" into the search box at the top of the page. Click on the first link in the results titled "Google Analytics Tracking Code." Click "Getting Started" underneath the "How to Start" heading. This takes you to the HTML page. Highlight the code located in the box near the middle of the page. Right click on the page and click on "Copy." You can also hit CTRL-C on your keyboard. Open a second window that contains your webpage's editing page where the HTML code is stored. Place the cursor near the end of your webpage's HTML code, but before the </head> tag. Hit CTRL-V or right click at the cursor and click on "Paste." The code will paste into your webpage. Change the "UA-XXXX-X" in the code to reflect your individual UA number obtained in Step 1. If you fail to do this, your page will not link to your Google Analytics account and you will not see your tracking results. Tips & Warnings Tip: You must enter this code onto each individual page for stats to be tracked for each page. The code only tracks for the page into which it is pasted.

Kimberly Turtenwald at eHow old Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.