Digital Marketing Agency

Common URL Problems and How To fix them

Have a Glance

In Google Analytics, there is an order to everything. I learned this the hard way. In the past, the PPC Hero team has shared with our readers some unfortunate side-effects that can happen when you combine destination URLs, tracking parameters and 301 redirects.
Ajit: +91 9820621021


In Google Analytics, there is an order to everything. I learned this the hard way. In the past, the PPC Hero team has shared with our readers some unfortunate side-effects that can happen when you combine destination URLs, tracking parameters and 301 redirects. Today I am going to shed more light on this subject and hopefully prevent someone from making the same mistake in the future. If you would like some more information on tagging, check out the Guide to URL Tagging in Google Analytics.

I recently began working with a client that uses fairly complex tracking systems to monitor the profitability of their pay-per-click business. Part of this tracking system required me to setup tracking URLs at the keyword level to monitor both online and pay-per-click call performance. Thanks to autotagging in Google using the gclid parameter, I only had to append the call tracking URL (i.e. ?param=a&param2=b) in AdWords. Bing has introduced autotagging, which should allow for the same process to be followed for that platform. In Yahoo Gemini, I was required to combine the call tracking URL with the &utm=source parameter. Thus, the source of my pay-per-click tracking issue.

As the month continued, our cost-per-sale continued to rise, and we were not seeing sales attributed to our ads. Sales from the PPC campaign were attributed to organic and/or direct, which was really hurting our bottom line. So, I needed to resolve this issue, fast!

Resolving URL tagging is relatively simple if you know what to look for. If you have problems with tracking search engine performance with 3rd party campaigns, it is most likely one of three things (from my experience):

SEO can be broken down into a couple of main categories: Content, Architecture, and Links. I think most people understand the importance of building content and getting links, but there are a lot of larger and poorly built sites that struggle with some fundamental problems their URL structure. This can lead to a lot of problems, including many duplicate content issues.

Here are three of the most common URL problems that I have seen on different websites. If your site has one or more of these problems, take a look at these solutions and get them fixed as soon as possible.

Problem 1: 301 Redirects

301 redirects can often strip your URL tracking, and categorize PPC traffic into organic or direct. This includes the gclid tracking code for AdWords and the &utm=source tracking parameter for other search engines. It is easy to find if this is your issue. To test the gclid, enter the destination URL into your browser with the following appended at the end: The gclid should remain at the end of the URL when the page loads. If it disappears, then you are losing your tracking info.

Solution: Update the destination URLs in your pay-per-click accounts so they point directly to the final destination. If you are pointing your pay-per-click ads to a redirected URL, then your tracking may be stripped in the redirect.

Solution: Ask your website developer to configure your server to pass the gclid and all other tracking parameters.

Problem 2: Tracking Parameter Order

Check the order of your tracking parameters. Your &utm URL tagging needs to come before any additional tracking parameters. If they are in the wrong order, then you are not going to properly track performance. In the case of my client, I initially setup the URLs with the call tracking parameter first, and the URL tagging second. Here is an example:

Under this structure, the call tracking parameters were effectively stripping the &utm=source in Google Analytics. So similar to the case of 301 redirects, my PPC traffic was counted as organic and direct.

Solution: Reorder your tracking URLs so the &utm=source tracking code comes before any additional tracking parameters. Your URL should follow this structure:

Problem 3: URL Structure

If you are still having problems tracking 3rd party campaigns in Google Analytics, then your issue may lie with the &utm=source tracking parameter setup using the Google URL Builder. If you do not properly format this tag, then Google Analytics will not record traffic properly.

Solution: Take a closer look at your &utm=source parameters to confirm everything is correct. Check out How to Troubleshoot When Tracking 3rd Party PPC through Google Analytics for a more detailed review of the problem.

Problem 4: Non-www and www Versions of Site URLs

If your site has a non-www and www version of all your URLs, you're going to be splitting link value for the same content between two URLs. Rather than capturing 100% of the link value on the page you want to rank in the search results, you could be doing a 50/50, 60/40, or some other kind of split between the two URLs.

The Fix

There are a couple of things you need to do to fix this:

  1. Decide which URL style you want to use, www or non-www.

  2. Set up a 301 redirect so that any links to your non-preferred URL style will go to the right style. This way you don't waste link value by splitting it between two URLs.

  3. Set your preferred domain in Google Webmaster Tools so your search result listings are consistent with your style preference.

  4. Make sure whenever you build links to your site that you use the preferred URL style.

Problem 5: Duplicate Home Page URLs

This is a close cousin to Problem #1, but is especially bad because it's your home page.

It is possible to have a lot of different URLs that all go to your home page content, especially if you haven't fixed your www and non-www duplication, which can result in a lot of unnecessary duplication. For example:





These URLs will all lead to the same content. If you have links going to all four of them you will see a four-way split in link value. There are a lot of sites out there that have fixed their non-www and www problems, but I can still find multiple versions of their home page.

I've even come across sites with different extensions (.php, .html, .htm, etc.) that bring up the same page as well. This leads to even more duplication and potentially wasted link value.

The Fix

The fix here is very similar to the first one. Here are a few tips:

  1. Set your main home page URL to be 301 redirect everything else to this URL since it is the most basic (If your preferred URL style is non-www, then do

  2. If you have to set up different versions for tracking purposes or some other reason, set a canonical tag to show the search engines which version you want showing up in the search results.

  3. Make sure when you build links to your home page that you link to the correct version.

Problem 6: Dynamic URLs

This is a fun one that a lot of not-so-SEO-friendly shopping cart programs run into. Once you start including all sorts of variables and parameters in your URLs, the opportunities for duplicate content and wasted link value are endless.

Allow me to illustrate. All of the following URLs could lead to the same content:





Now what if I start rearranging the parameters? Well, they'll still show the same content. So, as you might imagine, this can create a lot of wasted link value.

There are other causes for the dynamic URL problem. A lot of companies use these parameter-based URLs for statistical purposes. We just want to make sure that you don't shoot yourself in the foot from an SEO perspective.

This problem also happens with sites that give their affiliates a unique ID to use in their links. You could have 100 affiliates linking to the same page, but all of the URLs will be different because each affiliate has their own unique ID.

The Fix

  1. If possible, make sure that your site is using SEO-friendly base URLs. It's better to have a base URL that will lead to the content rather than a URL that relies on a parameter. For example: is much better than where some generic category page is really the base URL.

  2. Set a canonical tag that tells the search engines to use the base version of the URL. That way you can still use parameter URLs like to get your data, but the search engines will consider the basic version as the official one.

  3. An even better way to handle this is to capture the data on the server side and then redirect the visitor to the correct URL after you have captured your data. A lot of affiliate networks like ShareASale and CJ do it this way, and you can to. The visit basically goes like this: Visitor clicks on links with parameters -> Visitor goes to site, server records parameter data and 301 redirects them to the right landing page - >Visitor barely notices the switch because it happens fast.This way you can get all the data you need, make sure all of the link value goes to the right page, and your visitor still sees what they were after.

What Problems Does Your Site Have?

URL problems can come in combinations. For example, you could have a non-www and www problem along with dynamic URLs, compounding the problem.

Look over your site and see if you have any of these problems. If you do, decide what fixes you can make. Once you have these structural problems fixed you'll find that your link building efforts will be much more valuable.

Final Thoughts

3rd party URL tagging is a great resource for tracking pay-per-click campaign performance, but you have to do it right to reap the benefits. These are all very common problems with URL tagging and thankfully the solutions are simple to implement. If you are experiencing tracking problems, use this as a resource to quickly find and resolve the problem. If this doesn't solve the problem, be sure to troubleshoot some other common Google Analytics tracking issues.

Learn Digital Marketing Courses

By now, I believe, that you have a fair idea why Digital Marketing is important for pharma sector. Some pharma companies have not yet fully embraced the digital revolution and changing times, while others have. Well, you should understand that it doesn’t matter to the patients out there, the patients are increasingly expecting, and rightly so, and demanding the pharma and healthcare industry to engage themselves and provide end-to-end services.

The pharma companies that are aligned to changing times, and are using digital mediums, are also the ones reaping the benefits. Big prizes are waiting for those who can cut through all the digital noise and come-up with sustained competitive advantage using digital mediums. The others will also align soon or go out of business.

There are different ways to learn digital marketing. You can teach yourself using online material and tutorials, or you can Learn Digital Marketing from a Reputed Training Institute. These training institutes have highly experienced professionals and provide you focused and personalized training with lot of live assignments, and also provide you guidance for your placements. There are digital marketing courses specialized specifically for pharma sector.

So, go ahead, learn Digital Marketing and shine on!


-Pharma must be in the conversation so to know how to develop better drugs.

-Digital marketing offers many ways to communicate with customers (HCPs and patients).

-Pharma must offer great content that interests customers and helps them do their jobs better. This type of content is easier to approve, less risky and leads to better long-term customer loyalty.

Pharma Digital Marketing

Digital Marketing Corporate Training

Corporate training has evolved rapidly in recent years. It is one of the most significant parts of its growth and long-term investment strategies. It helps to improve employees performance, moral and skills by concentrating on professional development. Corporate Training is the key to ensure development in all the spheres; so that the employees can aspire in this competetive world and bring success on their behalf. Through Corporate Training highest productivity can be achieved when the individual goals are integrated with the organisational goals.

The scope of digital marketing is growing day-by-day. Companies are also focusing on digital marketing. Providing a Corporate Training on digital marketing will help the emlpoyees to boost up their productivity in the organization. It does not restrict you to one specific job profile. Getting a digital marketing training in an organization will help you to get better salary as this is the most fascinating advantage of digital marketing. It will help in making suitable modification whenever necessary. Training in digital marketing helps in creating better understanding of the companies and the employees are able to achieve their professional goals.

Digital Marketing Corporate Training by moPharma

Digital Marketing: Corporate Training
Ajit: +91 9820621021

Leading Digital Marketing Agency for Pharma
SEO, SEM, SMO, SMM, eMail Marketing, etc.

Esteem Happy Clients:
Hindusatan Unilever, Abbott, MSD, AZ, Lupin, GSK, Lodha, Mumbai Police, Siemens and many more...

Discuss about post

KYC Document Collection (Sample App)

Common URL Problems and How To fix them


Educational Material by moPharma

Digital Marketing Agency

receive a free guide [.pdf] to:- Project Management Certification... along with the subscription

Read Also

How to make your company website based on bootstrap framework...