adsense

How to Add Tracking Code To Wordpress





1. Obtain the tracking code that you'll need to install in your WordPress site from the monitoring site you intend to use. For example, to obtain tracking code for Google Analytics, open a browser and navigate to Google.com/analytics. Create a Google account, if you don't already have one. Then, follow the on-screen prompts to generate custom tracking code for your WordPress site. Copy and paste this code into a text document for later use.
2. Browse to your WordPress site and log in to the dashboard. If you are the site administrator, just add 'wp-login.php' (without the quotes) after the URL for your domain to navigate directly to the dashboard.

3. Open the WordPress file editor. Click 'Appearance' on the toolbar and then click 'Editor.' As new versions of WordPress are released, the procedure for launching the file editor may vary slightly but should closely parallel the procedure described here. Refer to WordPress Help if you need assistance completing this step.
4. Open the footer file on your WordPress site for editing. Click on 'Footer (footer.php)' to edit this file.
5. Scroll to the bottom of the 'footer.php' file and look for the following HTML code:


6. Paste the tracking code that you generated in Step 1 into the document above the closing
tag. Click 'Update File' below the text box to save your changes. The tracking code is now installed on your WordPress site. Navigate to the website that issued your tracking code (for example, Google Analytics) and follow the procedures on that site for logging in and accessing tracking reports on your WordPress site.

Comments

0 Responses to "How to Add Tracking Code To Wordpress"

Post a Comment

Popular Posts

About