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
-
In Google Analytics > Acquisition > Queries. The top query just says (other), can someone fill me in on to what this means?
I have linked the account to the Google Search Console. In top spot is says (other) followed by other keywords the (other) data is the majority.
Reporting & Analytics | | GSAstonMoz0 -
Multiple Pages get rank for one query
Hi to all experts, In google search console , I've found that multiple pages get rank for my main query. How can I solve that? aoi59
Reporting & Analytics | | tarahshiiid0 -
How can I remove parameters from the GSC URL blocking tool?
Hello Mozzers My client's previous SEO company went ahead and blindly blocked a number of parameters using the GSC URL blocking tool. This has now caused Google to stop crawling many pages on my client's website and I am not sure how to remove these blocked parameters so that they can be crawled and reindexed by Google. The crawl setting is set to "Let Google bot decide" but still there has been a drop in the number of pages being crawled. Can someone please share their experience and help me delete these blocked parameters from GSC's URL blocking tool. Thank you Mozzers!
Reporting & Analytics | | Vsood0 -
URLS are top keywords in GA?
Hey Moz, For some reason on my father's website, michaelpadway.com, the top 2 keywords from organic are complete urls from his site. This doesn't makeugh sense to me. Any ideas?
Reporting & Analytics | | MarloSchneider1 -
How to detect where Google gets indexed URL's
Google index some kind of way some links that create duplicate content. We doesn't understand how these are created so we would like detect where Google robots find these links. We tried: Moz Crawl Diagnostics but it shows 0 as Internal Link Count for these kind of links. Find some information from Google Analytics, that maybe there is trace (site content - all content) from visitors side. There wan't. We tried to find some information in Webmaster Tools under Internal link and HTML Improvements but didn't find any trace. Tried some search commands. Is there maybe some good one to search. TO search URL's form code with https://search.nerdydata.com.
Reporting & Analytics | | raido0 -
Panda 3.8 and Google query report
Today I was plugging the SEOMoz Google change log into my analytics and noticed that our site took an impression jump (30%) on the day Panda 3.8 was released but also, if I'm reading the chart right, a drop in keyword avg. ranking. Does this make any sense or am I misunderstanding the chart? googleseomozq.jpg
Reporting & Analytics | | IanTheScot0 -
What is the SEO Impact of Adding a Directory to URL
I would like to add a new directory named “products” for all of the product detail pages on my site. Instead of having the URL for a product be “mysite.com/product-details-page.aspx” we would like to change it to “mysite.com.com/products/product-detail-page.aspx.” I want to do this to enable us to add product pages to our traffic funnel analysis by filtering visits to the "product" directory - right now we can't track visits to product pages in the funnel because they are just one-off the main site. I know this change will require redirects for every single product. Is there anything else that needs to be done? My main question is, will this change negatively impact the SEO value of the product pages? We have several product pages ranking in the SERPs, and I don't know if pushing them one directory further will change that. Thanks for your input!
Reporting & Analytics | | pbhatt0 -
Google News traffic spike mystery; referring URLs all blank, Omniture tags didn't fire.
Our content is occasionally featured in Google News. We recently have had two episodes where this happened, but (a) nearly all the referring URLs were blank, and (b) our backend logs show 3-4x more requests for the article in question than Omniture does. In other words, hundreds of thousands of visitors requested a URL from our site (as proven by the traffic logs), but don't seem to have come from Google News (because HTTP_REFERER was blank), and didn't execute the onpage javascript tag to notify Omniture of the pageview. Perhaps this has nothing to do with Google News, but it is too strong a coincidence that the two times we were on there recently, the same thing happened: big backend traffic spike that is not seen by Omniture. It is as if Google News causes browsers to pre-fetch our article without executing the javascript on the page. And without sending a referring URL. Has anyone else seen anything like this before? Stats from the recent episode:
Reporting & Analytics | | mcglynn
- 835,000 HTTP requests for the article URL (logged by our servers) - these requests came from 280,000 distinct IP addresses (70% US) - the #1 referring URL is blank. This accounts for 99.4% of requests. Which, in itself, is hard to believe. These people had to come from somewhere. I believe browsers don't pass HTTP_REFERER when you click from an SSL page to a non-SSL page, but I think Google News doesn't bounce users to SSL by default.That said, we do see other content pages with 70-90% blank referring URLs. Rarely 99+% though.0