Bitly: Verify a Tracking Domain

Bitly offers the ability to set up a “Tracking Domain” which, according to

If you have a website, you can gather metrics on all bitmarks that point to your site.

Bitly Verify A Tracking Domain

There is a problem with verifying the domain using an HTML file (read on, see below).

Doing this also lets you set up so that if someone shortens a URL to your domain it will use your custom shortener instead of the default shortener.

You can change these settings at

Step 1

Enter the root domain of your main site, to be used for tracking when end users are shortening links for your site.

The tracking domain is different than the custom short domain. Example: The New York Times tracking domain is, Their short domain is

Step 2

You have set your tracking domain as:

To enable tracking for this domain, we need to verify that you own the domain. You can demonstrate ownership of your domain by choosing any one of the following (whichever is easiest for you):

Add an HTML tag to your web site’s home page:

add the following tag to

<meta name="bitly-verification" content="01234567890"/>

Upload an HTML file to your web site:

download a zip file containing an HTML page here. Upload this HTML page so that it is available at:

Make a DNS change:

create a CNAME record for pointing to

Problem Verifying Domain using HTML file

I ran into a problem of verifying the domain name using the HTML zip file. I downloaded the zip file and extracted it, and got something like 01234567890.html but it was blank / empty inside. So I was trying to verify and was telling me:

Verification started. Check back in a few minutes. It’s now 49 minute(s) past the hour. You have set your tracking domain as:

This would never complete though, and the tracking domain would never be verified. The problem is that you need content inside of the HTML file that you put on your server. The content you need to add is in this format:

bitly-verification: 01234567890.html

That is bitly-verification followed by the file name that it wants you to use.

Related Posts:

  • No Related Posts
This entry was posted in Marketing, Tech Tips, Web Development and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *