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
-
Query on Google Experiment?
Hello All, I am doing A/B testing via google analytic experiment now my query is for my ecommerce site homepage i am trying to add newsletter in 3 different way so it will be variation A, Variation B and Variation C. So my query is what should be then original page? Currently there is no newsletter form on homepage. Do I consider original page as Variation A? i.e. abcd.com?variation-A as original page? Then google will decide winner between original page i.e. variation A and Variation B & C Thanks!
Reporting & Analytics | | dsouzac0 -
Google SERP showing a URL with UTM_source attached - why? Can I stop it?
I just found a Google search results page showing a URL with a UTM source tag attached. Any idea how or why this has happened? How can I stop it as I'm guessing this is overwriting my organic visits with referrals from this site. See attached photo for pic of SERP page. The link is going here: http://employment.govt.nz/er/holidaysandleave/parentalleave/?utm_source=newzealandnow.govt.nz 5vxTDTi.png
Reporting & Analytics | | DanielleNZ0 -
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 -
Get a list of robots.txt blocked URL and tell Google to crawl and index it.
Some of my key pages got blocked by robots.txt file and I have made required changes in robots.txt file but how can I get the blocked URL's list. My webmaster page Health>blocked URL's shows only number not the blocked URL's.My first question is from where can I fetch these blocked URL's and how can I get them back in searches, One other interesting point I see is that blocked pages are still showing up in searches.Title is appearing fine but Description shows blocked by robots.txt file. I need urgent recommendation as I do not want to see drop in my traffic any more.
Reporting & Analytics | | csfarnsworth0 -
Removing Bad Links, Bad?
Our situation is this.. We recently went through a major redesign that included a significant change in content and URL structure. This of course cause a significant increase in 404 from our search traffic. In an effort to minimize those 404s we requested that Google remove certain URL directories from their index. Doing this resulted in a 90% drop in the number of impressions we were getting from search. My question is this, is it better to allow the 404s with a good landing page that explains the changes or better to remove the bad urls? Much thanks...
Reporting & Analytics | | SQE-SEOMoz0 -
How can i see queries what my visitors are searching for, in my website?
Google analytics installed, but they are not showing. What additional things should i add there? I need to see most popular search queries and add more content to these pages for panda.
Reporting & Analytics | | bele0 -
What impact will Google's 10/18/2011 announcement of 'Making Search More Secure' have on the ability to track specific keyword queries via Analytics?
The full announcement is here: http://googleblog.blogspot.com/2011/10/making-search-more-secure.html My concern is that the ability for Google Analytics to parse information on specific keyword queries will be diminished. The article hints that Google Webmaster Tools will be exempt from the problem, and I've never relied on Webmaster tools as a go-to for tying specific keyword queries to Goal Tracking (form submissions and sales). The community's thoughts on this one are appreciated. 🙂
Reporting & Analytics | | MKR_Agency0 -
Analytics URL Tagging
For some reason I can't get Google Analytics to pick up my URL tags, am I doing something wrong? http://www.example.com/?utm_source=carscom&utm_campaign=3rdparty&utm_medium=referral
Reporting & Analytics | | kylesuss0