Add Alexa Verification Code in WordPress Websites – Howto
Alexa.com ranks different websites and provides various traffic related insights. You can add the Alexa tracking code and verify your WordPress website as well. This blog post will help you to add Alexa verification codes in WordPress websites and blog.
Add Alexa Verification Code in WordPress Websites
Follow the easy steps to add Alexa verification code in WordPress enabled websites and blogs:
- Go to http://www.alexa.com/siteowners
- Click on the “Claim your site” link
- Enter your blog URL and click the “Claim your site” button.
- You will be presented with two verification methods. Use the second one.
- Copy the meta tag shown in option 2 , which looks something like below tag
< meta name=alexaVerifyID content=abcdhtyuingthngyjhhgygyhgggihoy />
- Leave the verification page open.
- Now open your website main page and add Alexa tag in Head section.
- Now come back to Alexa and click on verify.
Add Alexa Verification Code in WordPress Head?
There are a number of ways to add Alexa verification code in WordPress websites.
- In Theme Options
- Using Plugins
- Using Editor
One of the easiest ways to add Alexa verification code in WordPress is by simply inserting the Alexa code in the header or footer section. Some WordPress themes have code snippet fields to insert additional codes without the need to edit it in the theme files.
WordPress users can also make use of plugins to insert Alexa verification codes. Some popular and recommended WordPress plugins for inserting Alexa codes are:
But some users may prefer to add Alexa verification code in WordPress theme editor only. There are 2 reasons to prefer this method:
- To use less plugins and make WordPress site faster
- WordPress theme doesn’t have code snippets field in theme options
How to Add Alexa Verification Code Manually?
So if you too wish to add Alexa verification codes in WordPress heads manually, then use the following method:
- Log in to your WordPress Admin Panel
- In the left side, go to Appearance > Editor
- Open the functions.php file of your WordPress theme
- Add the Alexa code anywhere before the ending of the head tag, </head>
- Click ‘Save File’ button to update the changes made
On successfully adding the Alexa verification code, you can verify it from the Alexa site itself as mentioned above, or you can open your website’s source code to view it.
Easiest way is to:
- Go to your home page, say infyways.com
- Click Ctrl + U or its equivalent in your web browser to view the source code
- Click Ctrl + F and type Alexa
- On searching you will find the required code you just added.
Still unable to add Alexa tracking codes? Request a Quote. Our WordPress support staff will provide detailed and expertised solutions for your site. We also provide WordPress SEO services and custom WordPress website development. Contact us forHTML to WordPress or PSD to WordPress conversions.