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
-
URL structure for a product that belongs to several categories
Hi, We are setting up the URL structure for a big webshop and this raised the following questions regarding the URL's for products that belong to several categories (most of the products do, so the same approach would be used for products that just belong to one category). There are three options in my point of view: Use root-level product page URLs (limits trackability in Analytics software because you can not specify on product types)
Reporting & Analytics | | Mat_C
URL: example.com/product-1/ Use product type URL directories for all products (which at least offers minimum trackability of all separate product types in Analytics software)
URL: example.com/book/product-1/ Use product URLs built upon category URL structures, but ensure that each product page URL has a single, designated canonical URL.
URL: example.com/category-A/product-1/ with canonical= example.com/category-A/product-1/ URL: example.com/category-B/product-1/ with canonical= example.com/category-A/product-1/ Which option is the preferred one? Thanks!0 -
How Reliable is the Avg Query Position in GA?
Hi Moz Community, I wanted to know how reliable the average position data is for queries in Google Analytics search console report. I know this report is fairly new this year and the numbers are calculated a bit differently than they were in the old search engine optimization report. I want to know what the biggest differences are between this search console report vs. the old SEO report in GA. I'm also pretty confused about how GA reports on the average position. Obviously it's an average position of whatever date range your choose. But for instance, if your site shows multiples landing pages for one search query will it roll that into the average or just take the landing page that ranks higher? Does the position average take into account video or photo serp results and is this the average across mobile, desktop and tablet? This number has always been a guess since it's sampled data but I want to know how accurate it is. I read this article in 2014 (linked below) but I'm not sure if it all still applies now that that data might be presented differently. https://moz.com/ugc/testing-the-accuracy-of-avg-position-for-search-queries-in-google-webmaster-tools Any answers or discussions would be great here. Thanks
Reporting & Analytics | | znotes1 -
Why would on-site search queries show up as referral traffic?
The site analytics have been set up for over a year and suddenly last month there was a huge spike in referral traffic (1100+ sessions). Upon further investigation, the majority of it was coming directly from internally, either as mysite.com or search.mysite.com and the landing pages from the referrals are all /search.html?query=* This was never an issue before so I'm trying to understand what could have changed. I'm following up with the client to find out if their dev team may have changed anything related to their search engine but I'm wondering if there may be another explanation. A few notes: previously mysite.com / search.mysite.com were not in the Referral Exclusion list. I've added them now but this was never an issue before. Thanks in advance!
Reporting & Analytics | | SEMnMs0 -
Looking for a good GA plugin for Wordpress blog
We're looking to install a plugin for our Wordpress blog, to be able to receive analytical data right in our wordpress dashboard. Can anyone suggest a good one that is working well for them? We are looking for one that is either free, or fairly inexpensive. Google Analytics Dashboard for WordPress appears to be a front-runner for us, has anyone had any experience with this plugin? Thanks so much! Amiee
Reporting & Analytics | | Amiee0 -
Sudden Increase In Number of Pages Indexed By Google Webmaster When No New Pages Added
Greetings MOZ Community: On June 14th Google Webmaster tools indicated an increase in the number of indexed pages, going from 676 to 851 pages. New pages had been added to the domain in the previous month. The number of pages blocked by robots increased at that time from 332 (June 1st) to 551 June 22nd), yet the number of indexed pages still increased to 851. The following changes occurred between June 5th and June 15th: -A new redesigned version of the site was launched on June 4th, with some links to social media and blog removed on some pages, but with no new URLs added. The design platform was and is Wordpress. -Google GTM code was added to the site. -An exception was made by our hosting company to ModSecurity on our server (for i-frames) to allow GTM to function. In the last ten days my web traffic has decline about 15%, however the quality of traffic has declined enormously and the number of new inquiries we get is off by around 65%. Click through rates have declined from about 2.55 pages to about 2 pages. Obviously this is not a good situation. My SEO provider, a reputable firm endorsed by MOZ, believes the extra 175 pages indexed by Google, pages that do not offer much content, may be causing the ranking decline. My developer is examining the issue. They think there may be some tie in with the installation of GTM. They are noticing an additional issue, the sites Contact Us form will not work if the GTM script is enabled. They find it curious that both issues occurred around the same time. Our domain is www.nyc-officespace-leader. Does anyone have any idea why these extra pages are appearing and how they can be removed? Anyone have experience with GTM causing issues with this? Thanks everyone!!!
Reporting & Analytics | | Kingalan1
Alan1 -
URL ending with ?cpc=1
Hi, In the analytics data (SEO - Landing Sites) on a site I just started working with - 2 different url's show up (when I filter the results): /example**.asp** /example**.asp?cpc=1** The first recieves 2/3 of the visits (among these 2 pages) and the other recieves 1/3 of the visits (among these 2 pages). The second (/example.asp?cpc=1) is apparently getting the clicks from Adwords, since it isn't indexed by Google.. Can someone explain me: 1) why the cms is producing this kind of double landing page? is it possible to avoid it in any way? (it is not the only example on site - so it makes analyzing data more difficult). Thanks Christian
Reporting & Analytics | | sembseo0 -
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 -
Adding More Brand Rules
I'd really love if SEOMoz would let us add more than 10 brand rules. In GA, I've set up approximately 25 Advanced Segment Keyword Exclusions (using Regular Expressions) in order to filter out all the mispelled branded keywords sending us traffic. It's just a shame I can't do the same in SEOMoz, which essentially renders the branded/non-branded feature useless for me. Any suggestions?
Reporting & Analytics | | TeachersMutualBank0