Do custom tracking codes affect indexing?
-
Hello,
My company uses a tracking system that allows our employees to apply a short code snippet to the end of our URLs for marketing attribution. An example of such a code would be: https://www.schoolofmotion.com/?ref_id=moz-test
However, in Google Analytics we are seeing duplicates of our content, where the pages with the individual tracking codes are counted separately from the pages without. From a reporting perspective, this is annoying and definitely worth a fix. However, I'm curious if this problem is affecting our search potential as well. Could this tracking system be splitting traffic in Google's eyes?
From an SEO perspective, how should we approach this? Would canonical tags fix this duplication issue in Google Analytics? Is there something else that we should use?
Thanks in advance. The Moz community is incredible.
-
Glad I could be of help Caleb! & Thank you Dr Peat!
like Dr Peat said it’s tricky when filtering google analytics
Do you know everything you don’t want to have google show you?
Because I’m on my cell phone I have posted some links with examples you will want to do the same thing in search console/webmaster tools
Remove Query String from URLs In Google Analytics like Dr. Pete said need to create a new view in analytics
https://support.google.com/analytics/answer/1009714?hl=en
- Click Admin, and navigate to the account and property to which you want to add the view.
- In the VIEW column, click the menu, then click Create a new view.
- Select Web Site
- Add website
- given a name like filtered
Google created a spreadsheet to automate the process.
Make a copy of this sheet and follow the instructions (clearly laid out on the first tab of the spreadsheet),
you'll be left with a list of all query parameters found in your data from the past N days. When leveraging the spreadsheet, it’s optimal to use a view without any filters on it.
CITE:
https://www.seerinteractive.com/blog/clean-up-query-parameters-google-analytics/
Open Google sheets and make a copy of the "Google Analytics Exclude URL Query Parameters Worksheet"
here:
https://www.bounteous.com/insights/2015/04/17/strip-query-parameters-google-analytics
https://support.google.com/analytics/answer/1010249?hl=en
you can also utilize Google's API for bigger sites https://ga-dev-tools.appspot.com/query-explorer/?csw=1
if you are a regex person this is helpful https://www.lunametrics.com/regex-book/
I hope this helps,
Tom
PbQ9ss7.png jcE3zVG.png n50GYbH.png RPLqssE.png n50GYbH.png RPLqssE.png
-
We'll definitely look into getting Canonical tags on the site. Thank you very much for the thoughtful response and examples.
Cheers!
-
I apologize for the brief reply I have rewritten this three times and somehow closed my page. Anyway, the important part is this is your issue you are not implementing canonical tags
see this image full-size you have no canonical's
To specify which URL that you want people to see in search results. You might prefer people reach your home page via https://www.schoolofmotion.com rather than. https://www.schoolofmotion.com/?ref_id=moz-test
Cite: https://support.google.com/webmasters/answer/139066?hl=en
You are missing a canonical on your homepage and other pages as well this will lead to duplicate content when you post things like
https://www.schoolofmotion.com/?ref_id=moz-test
in order to prevent this query string from becoming a duplicate, you need a self-referencing canonical or a canonical reference from the query string to the correct URL https://www.schoolofmotion.com/?ref_id=moz-test
I've given you 5 URLs to reference and become more familiar with the subject
- https://mza.bundledseo.com/learn/seo/canonicalization
- https://mza.bundledseo.com/blog/rel-canonical
- https://yoast.com/rel-canonical/
- https://yoast.com/duplicate-content/#url-parameter
- https://support.google.com/webmasters/answer/139066?hl=en
**Reverse proxies allow you to set your headers this can be a very efficient way of adding a lot of canonical's if you're using a CMS like Drupal, Magento or WordPress I recommend **
Yoast WordPress SEO, Yoast Drupal SEO & Yoast Magento SEO
The reverse proxies are below
-
https://mza.bundledseo.com/blog/htaccess-file-snippets-for-seos
-
https://www.cloudflare.com/features-page-rules/must-use-page-rules/
-
https://wordpresscheat.com/fixing-cloudflare-wordpress-duplicate-content/
( I somehow closed my page 3 times while writing this message so I apologize if it is brief)
please let me know if there's any way I can be of assistance
Tom
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
-
How can I distinguish new visitors from existing (customers) in Google Analytics to attain an avg # of new visitor traffic per day/week?
i do marketing for a business software site where we have hundreds of clients and each account has on avg 100 users. I am having a very challenging time to attempting to figure out the real number of unique traffic that our site receives. **(what's creating the issue is that we have thousands of user accounts where our users log-in via our site to access our app/platform). Would love help with this! Christian
Reporting & Analytics | | Sundance_Kidd0 -
Why only a few pages of my website are being indexed by google
Our website www.navisyachts.com has in its sitemap over 3000 pages of information, and this is all unique content written by our team. Now Google Webmaster central shows only 100 urls indexed from 3500 submitted. Can you help me understand why and how I can fix this issue? The website has 4 years old, is a Joomla 3.3 up to date. It has part of the content in the Joomla core content systems and part in K2. Thank you. Pablo
Reporting & Analytics | | FWC_SEO0 -
Does Google Analytics track conversions in real time?
Looking at the section: Conversions > Goals > Overview - does Google Analytics provide real time / same day metrics for this conversion data or does it take 24 hrs?
Reporting & Analytics | | Rich_Coffman0 -
Universal Analytics Ecommerce Tracking in Magento
We have a problem similar to this: http://stackoverflow.com/questions/22229312/universal-analytics-could-not-track-transaction-in-magento On a client's website. I need an absolute knock-out EXPERT at solving this to give us a quote on doing something like this. It's very urgent but it is paid. Basically the site used the old tracking code, worked, then client said they wanted new data so we upgraded to Universal. Now everything works but Ecommerce tracking. Desperately need help! Thanks all!
Reporting & Analytics | | MattAntonino0 -
Google Analytics - Tracking a Goal from 1 Domain to Another
Hi there, been combing this page for some answers - https://developers.google.com/analytics/devguides/collection/gajs/gaTrackingSite but can't seem to figure it out. Scenario - Site A Site B Currently have 2 different GA accounts set up on each. Is it possible to Track a Goal that happens on Site B, that comes from Site A - In Site A Reports? So say, Site A has a Newsletter, directing them to Site A but promoting Site B - i'd like to track the effectiveness of the newsletter. Site A is running a white label of Site B service. Thoughts? Cheers
Reporting & Analytics | | IsHot0 -
Automatic Checking indexation of websites
Hi Guys, do you know a tool that can check al list of websites (directorys) wich automatically checks if the website are indexed in Google. The list is very long and I would like to have a tool wich checks them all with only CnP them once. thankx a lot der.rabauke
Reporting & Analytics | | Lincus0 -
What is best practice for tracking RSS feed subscribers
What is the most accurate/achievable way of tracking data about subscribers to your RSS feed through Google Analytics? With standard WordPress sites, we place the RSS link to Feedburner so we could track statistics. However it wouldn't track the way that I use it. I use Pulse on an Android Tablet to read my feeds offline on the bus each morning. At home, Pulse automatically downloads the latest feeds wirelessly overnight. So then I can read them without a connection. The obvious downside for my reading experience is that I only get what is contained in the feeds. If the company only includes an excerpt, it's too annoying to read the teaser and be unable to connect and follow a link. So I only subscribe to feeds that contain the full post. Yeah to seomoz, aimclear, SEL, adwordsblog. I dont subscribe to bruceclays blog, much as i'd like to, because it doesn't contain the full feed. That's probably deliberate on their part, because I have to consciously visit their blog on my desktop at work, to see the whole post. The other problem with say Pulse, is how it locates the feed. I typed in the URL, and Pulse subscribed me. I assume that Pulse simply looked for the domain.com/feed URL and added that, rather than look for feeds2.feedburner.com/domain. I looked at Feedburner stats and they didn't go up for 2 days, so basically it didn't track me. Would it be as simple as using the Google URL builder to add parameters to each post in the RSS feed? Eg utm_source=feedreader, utm_medium=rss, utm_campaign=tracking. But that still wouldn't track offline users. I assume that most people are also not going to paste the Feedburner URL into their FeedReader, but would let the platform auto-detect the feed. Any suggestions?
Reporting & Analytics | | ozgeekmum1 -
Google Analytics Goal Tracking Head Match w/ Query Strings
Hello, I have what should be a simple question here but there is a small nuisance I am trying to make sure I have configured correctly. We have a product based website w/ no e-commerce because they sell through a dealer network. All these product pages have "Where to Buy" links and the URL after you click where to buy always uses the query string ?r=XXX. Example: www.mysite.com/product/category/subcategory/product-name?r=12345 I want to setup a goal in GA with a URL and configure head match on the "?r" but which of the following is exactly how it should be configured with the "Goal URL" ?r= ?r r= Does it matter, because I had it setup as "?r" and it was never registering any goals. Do I need to leave off the "?" and just have it be r= Thanks in advance for the respones.
Reporting & Analytics | | Bevelwise0