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
-
Question on structuring URLs in a Drupal CMS - Adverse SEO or Analytics impacts?
Hello Moz Community, We're building out a health system (think a bunch of hospitals and clinics etc.) website on Drupal for the first time. Nebraskamed.com is our domain. Because we're using nodes instead of pages, our URL structure can pretty much be whatever we think makes sense. Our proposal is to drop /blog/ and related terms from the URL structure, because it doesn't really mean anything to the user. Instead, we'd use the service line "cancer" for example, followed by the name of the blog post or document. Example: nebraskamed.com/cancer/10-bone-cancer-myths Do you see any red flags (perhaps with SEO or Analytics for example) to what I'm proposing? domain name/service line/blog-post-name If so, do you have a URL structure you advise?
Reporting & Analytics | | Patrick_at_Nebraska_Medicine1 -
Campaign Tracking URLs and the Impact on SEO
Hi Guys, I am setting up tracking for a couple of offline campaigns in Analytics and would just like to know if this will cause issues. The situation is below: Two URLs Ranking Well Organically: www.domain.co.uk/area-covered/area-a www.domain.co.uk/area-covered/area-b URLs Setup for the Purpose of Offline Campaigns www.domain.co.uk/campaign1 www.domain.co.uk/campaign2 Plan to Track this in Analytics www.domain.co.uk/campaign1 redirecting to www.domain.co.uk/area-covered/area-a_&utm_medium=qr&utm_source=test1&utm_campaign=test1_ www.domain.co.uk/campaign2 redirecting to www.domain.co.uk/area-covered/area-a&utm_medium=qr&utm_source=test2&utm_campaign=test1__ So the idea is that the user gets a nice simple URL to input from the off-line media (www.domain.co.uk/campaign1). This then redirects to one of the pages thats performing well organically (www.domain.co.uk/area-covered/area-a) but with the relevant tracking (www.domain.co.uk/campaign1 redirecting to www.domain.co.uk/area-covered/area-a&utm_medium=qr&utm_source=test1&utm_campaign=test1). The only way that the tracking URL can be accessed by the user is if the off-line media URL is entered. My main concern here is how Google will treat this. Obviously I don't want to cause issues with the two URLs that are ranking well organically. Would having a version of exactly the same URL, just with tracking do so? Any help is appreciated! Thanks in advance.
Reporting & Analytics | | CarlWint0 -
Universal Analytics & Google Tag Manager - Track URLs that include hashes
Does anyone have any experience tracking URLs that include hashes (#) using Universal Analytics and Google Tag Manager? Can it be done using GTM's container for UA, using the "more settings" options? Or building another tag to work with the GTM UA container? The fallback I'm considering is implementing the UA code in GTM for every page as Custom HTML with the "ga('send', 'pageview', location.pathname + location.search + location.hash);" solution, rather than GTM's specialized UA tag. I'm not yet sure what problems may arise from that, if any. Thanks in advance.
Reporting & Analytics | | 352inc0 -
Page Views for a List of URL's (Excel & Analytics)
I've been playing around with a few excel plugins trying to get the visit count for over 350 different URL's on the same website. I cant seem to find a function that can do this. Can anyone advise a work around or a way i can achieve this? Greg
Reporting & Analytics | | AndreVanKets0 -
WMT tools - setting parameter for redirected URLs
Hi everybody. One of our clients has recently moved from one ecommerce platform to another. During the move, a huge number of URLs have been tidied up to remove dynamic parameters. The old URLs have been redirected to the new, tidy ones. My question is whether it's worth telling Google in the WMT URL parameters section not to index the parameters of the old URLs. Will this affect the redirects in any way? Thanks!
Reporting & Analytics | | neooptic0 -
URL-structure change - former long-tail traffic gone
Hey people, I'm sure many of you applied changes to the URL structure of a client's or your own website before. So did I for obvious reason: The structure before was like www.domain.com/brand_page/_22-key-word-translatedkeyword.php (ranked 20). This was changed to www.domain.com/key-word.html.
Reporting & Analytics | | dumperama
Edit: Also on-page it was optimized, but only taking out worthless links like "keyword-link to other page" and adding a relevant SEO text (also valuable for the user) Now, for the targeted short-tail keyword, the outcome was great - ranking increased by 17 landing the page on the first SERP. But: Before this page garnered a wide range of long-tail keyword traffic.To be exact: 2600 different keywords generated traffic for that page in a period of 1 month. Now the newly structured site (also on-page optimized) only receives traffic from around 100 keywords. You can imagine that the absolute amount of visits also dropped. So I'd like to know if you observed similar results. Another question that's coming up in this context: How regularly does Google refresh the keywords associated with a page? Like: Is this page really relevant for this one keyword we associated it with 5 years ago? Because it is clear, when I'm looking at the aforementioned 2600 KW in detail, most don't have anything to do with the site, i.e. are not mentioned at all. Still they generated valuable traffic though. All of this is really crucial to this project, because soon the whole website's supposed to be relaunched with optimized URL structure and of course everything else that's need SEO wise... I'd love to hear your experiences. Thanks!!0 -
Search within search? Weird google URLs
Good morning afternoon, how are you guys doing today? I'm experiencing a few Panda issues I'm trying to fix, and I was hoping I could get some help here about one of my problems. I used Google analytics to extract pages people land on after a Google search. I'm trying to identify thin pages that potentially harm my website as a whole. It turns out I have a bunch of pages in the likes of the following: /search?cd=15&hl=en&ct=clnk&gl=uk&source=www.google .co.uk, and so on for a bunch of countries (.fi, .com, .sg, .pk, and so on, maybe 50 of them) My question is: what are those pages? their stats are awful, usually 1 visitor, 100% bounce rate, and 0 links. Do you think they can explain my dramatic drop in traffic following Panda? If so, what should I do with them? NOINDEX? Deletion? What would you suggest? I also have a lot of links in the likes of the following: /google-search?cx=partner-pub-6553421918056260:armz8yts3ql&cof=FORID:10&ie=ISO-8859-1&sa=Search&siteurl=www.mysite.com/content/article They lead to custom search pages. What should I do with them? Almost two weeks ago, Dr. Pete posted an article untitled Fat Panda and Thin Content in which he deals with "search within search" and how they might be targeted by Panda. Do you think this is the issue I'm facing? Any suggestion/help would be much appreciated! Thanks a lot and have a great day 🙂
Reporting & Analytics | | Ericc220