Adding a Query String to a Static URL is that good or bad?
-
I just went through this huge process to shorten my URL structure and remove all dynamic strings. Now my analytics team wants to add query strings to track clicks from the homepage. Is this going to destroy my clean url structure by appending a query string to the end of the URL structure.
-
Call me Tom.
I'm happy to be of help!
-
Thanks Thomas from Blueprint Marketing,
That answer was excellent, I was just using the capitalization as an example. I am only using lower case on our URL's. I hope with my cannon issue any page that has a CID in the URL gets pointed back to the version without.
-
Hi,
your example of a canonical tag is an example of what you do not want to do.
_ This is the example I'm referencing_
www.pageA.com/?CID=1324 with a canonical tag pointing to: www.pageA.com/?CID=1324)
There are two issues I want to point out.
you do not want to create a canonical tag for a CID URL meaning the URL www.pageA.com can have a canonical ( this example is if you want to keep a capital letter in your URL)
www.pageA.com/?CID=1324 would have a canonical of nevermind ?CID=1234 that is why the canonical matters to keep Google from mistaking www.pageA.com/?CID=1324 with if you intended to have a capital letter www.pageA.com
Using a capital letter unless you have very good reason do not put cap's in your URLs Linux based servers servers e.g. Google bot consider a URL with a capital letter different from the same URL all lowercase.
So www.pageA.com UNLESS you intended to keep a capital letter in the URL would look like this
If you had you intended to keep the capital letter
To simplify this is much as I can. The ideal canonical tag for www.pagea.com/?CID=132 would be
as long as the ?CID=1234 is not in the canonical URL check out
http://moz.com/blog/canonical-url-tag-the-most-important-advancement-in-seo-practices-since-sitemaps
Sincerely,
Thomas
-
I have a Canonical tagging situation on my website. With every page created a caon tag is automatically placed on the page pointing to itself (example: Page A pointing to Page A)
So my concern is that placing an analytic query string to my page is going to have a canon tag pointing to itself (example: www.pageA.com/?CID=1324 with a canonical tag pointing to: www.pageA.com/?CID=1324)
-
Yup as Thomas says above adding any tags to the end of a full static URL will have no effect on the clean URL structure as long as you set your canonicals correctly.
If the URL is http://website.com/page/?CID=1234, the canonical should be http://website.com/page/
-
UTM query is ok
make sure you have the correct non UTM URL tagged with a canonical
Tom
-
CID= is a campaign code for Omniture I believe, but you use it for tagging external campaigns that link back to your site. You should find out more as to why your team wants to do this.
If you have canonical tags on each page to themselves the query string should not effect your SEO (they shouldn't anyways, but it is safest to do it).
-
I currently do have all my pages canon tagged to themselves my developers set it up in a way that is complicated to make "Page A" Canonical to "Page B" and i'm working on that change.
The analytic team is wanting to play a CID= into the URL structure and i'm scared that it will cause duplicate urls
-
You may want to speak with your team as to why they want to add query strings, your analytics program should not need internal links to have query strings added, and if you are using Google Analytics adding their UTM query strings to internal links will cause major errors with your data.
If they do have legitimate reasons to query tag internal links, just make sure that you have all of your pages canonical tagged to themselves and then you won't have to worry about it messing up your URL structure.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Page Tracking using Custom URLs - is this viable?
Hi Moz community! I’ll try to make this question as easy to understand as possible, but please excuse me if it isn’t clear. Just joined a new team a few months ago and found out that on some of our most popular pages we use “custom URLs” to track page metrics within Google Analytics. NOTE: I say “custom URLs” because that is the best way for me to describe them. As an example: This page exists to our users: http://usnews.rankingsandreviews.com/cars-trucks/Ram_HD/2012/photos-interior/ But this is the URL we have coded on the page: cars-trucks/used-cars/reviews/2012-Ram-HD/photos-interior/ (within the custom variance script labeled as “var l_tracker=” ) It is this custom URL that we use within GA to look up metrics about this page. This is just one example of many across our site setup to do the same thing Here is a second example: Available page to user: http://usnews.rankingsandreviews.com/cars-trucks/Cadillac_ATS/2015/ Custom “var l_tracker=” /cars-trucks/2015-Cadillac-ATS/overview/ NOTE: There is a small amount of fear that the above method was implemented years ago as a work-around to a poorly structured URL architecture. Not validated, but that is a question that arose. Main Questions: Is the above implementation a normal and often used method to track pages in GA? (coming from an Omniture company before – this would not be how we handled page level tracking) Team members at my current company are divided on this method. Some believe this is not a proper implementation and are concerned that trying to hide these from Google will raise red flags (i.e. fake URLs in general = bad) I cannot find any reference to this method anywhere on the InterWebs - If method is not normal: Any recommendations on a solution to address this? Potential Problems? GA is currently cataloguing these tracking URLs in the Crawl Error report. Any concerns about this? The team wants to hide the URLs in the Robots.txt file, but some team members are concerned this may raise a red flag with Google and hurt us more than help us. Thank you in advance for any insight and/or advice. Chris
Reporting & Analytics | | usnseomoz0 -
Direct traffic coming to URLs with /rss_feedIP#
I'm doing a site audit for an organization that has a bunch of really messy old Drupal sites. In looking at their traffic, I see that a majority of it is coming to landing pages that look like this: http://clientsdomain.com/rss_feed173.8.208.97 plus other IP addresses. The bounce rate is 100% and time on site is less than a second. It looks like something that an RSS feed tool might use, but I've never seen something like it before. It creates its own landing page, hits the site, then appears to bounce. This is making their Analytics data look a whole lot worse than the site is actually doing, since the bounce rate is 100% on all that fake traffic. I have some experience with Drupal, but I've never seen anything like this in Drupal or any other CMS. Has anyone out there ever experienced something like this, where direct traffic comes to an rss feed landing page and bounces immediately?
Reporting & Analytics | | newwhy0 -
What are some good SERP visibility tools?
With keyword data from Google on its way out, we're losing our ability to discover what keywords a website is ranking for (you can do ranking checks, but only if you already know what keywords the site is ranking for). What are some good SERP visibility tools? (i.e. you enter the domain name, and the tool lists which keywords the site ranks for organically, etc.) I know SpyFu offers this, but they seem to be PPC focused and perhaps not very accurate. I know other companies offer it, but I'm blanking on which ones.
Reporting & Analytics | | AdamThompson0 -
Megamenu: Too many links really bad?
Hi there! Our site hosts paid training videos, and has a javascript menu that lists EVERY video on the site, and it is our most-used method of navigation. The menu is structured to look like the business software our training videos cover, so it's very intuitive for users. That said, since we currently have so many videos EVERY page has more than 250 links. The only way to get this down to under 100 as SEOMOZ recommends is to delete/hide the link from being seen by search engines. What should I do? Is the menu worth being visible to search engines? businessonetraining.com
Reporting & Analytics | | TigerSheep0 -
Get search query information for wildcard subdomains
For various reasons, I have a couple of domains with a couple of hundred subdomains on each. I would love to track how many search impressions they get each day as an overall site in webmaster tools. I have this information for my normal domains and it's a great way to track progress up the rankings (in addition to hits). Anyone know if it's possible to add wildcard subdomains to webmaster tools or any work around? I have tried *.domain.com but it's not accepting it. Thanks
Reporting & Analytics | | Grumpy_Carl0 -
Why Does This Page Rank Badly?
Hi, The page in question is: http://www.toymart.com/details.php?id=1764 The problem is that this and most of the other 10,000 pages used to rank well but now are really struggling.
Reporting & Analytics | | ToyMart3
I am begining to suspect that I have some sort of Google penalty but I cannot know for sure.
I believe I comply with all Google guidelines and I think the SEO is good.
Possibly the eBay affiliate links are the problem but they form a large part of the content and user experience.
The page gives a price guide for items in different conditions and has various other tools for the user. Any thought would be appreciated. Thanks for your time in advance. Alan0 -
If I change the URL of a page, but the old page canonicalizes to the new, do I need to change my Analytics goals to get data?
I changed the URLs of some pages recently (because the same thing that affects the internal anchor text also affects the URL - grr...) but considered it not a big deal because even if I looked at the source code of the old URL, the canonical tag was now pointing to the new one. The question is - if I had URL destination goals set up for those URLs in Google Anlaytics, do I now have to change them? Or does Google somehow know that anyone getting to the new URL is the equivalent of someone getting to the old URL because of the canonical tag that exists on the old URL source code? I still do see goal conversions for some of the old URLs even since I changed them - but it could be that people are still somehow finding the old URL somewhere - or that Google only reindexed it a week or so after I made the change. Any light to shed? Thanks in advance, Aviva B
Reporting & Analytics | | debi_zyx0 -
URL Structure and Analytics Reporting
Since there are no dumb questions, here's mine: Our url structure currently displays the date followed by the post title. However, our news website has many categories like world, sports, entertainment etc. Now, when tracking in GA we get to see how many hits a specific page is getting (like entertainment) but since the category is not defined in the URL GA does not add the detail story views to the category page views. To illustrate further, a story from the entertainment section maybe displayed on the Home page and a reader may click on that story and read it without going to the entertainment page. This however, does not reflect in the analytics for that specific page(in this example, the entertainment page). My question is, should we ammend the url structure to include the categories, if so, would the editor have to do that while composing the post or is there some other way. We are using WP. Or should I create some filters or something on GA. Thanks!
Reporting & Analytics | | RishadShaikh590