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://moz.com/learn/seo/canonicalization
- https://moz.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://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
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
-
Tracking Pop Up Form Submission Events with GTM
Hello, I'm currently tracking contact form submissions any time a user clicks 'Submit' on a pop-up form. Once the form is submitted, the URL of the page remains the same (there is no /thank-you page or such like), hence needing to fire the Event based on a click. Problem is, even if the form is not actually submitted and a user just clicks the Submit button without filling in the fields, the Event will still fire. I know there is a way to ensure the Event ONLY fires when the form is actually submitted for real, but I don't know how to implement that in GTM. Any help most appreciated 🙂 Cheers, Gill.
Reporting & Analytics | | Cannetastic0 -
Does applying filters in Google Analytics affect Moz Data?
Hello, I'm dealing with spam in google analytics, applying filters (and using segments for historical data) Does applying a filter in GA affect Moz data, future or historical? Is there a way of doing this? Thank you!
Reporting & Analytics | | wearehappymedia0 -
Virtual Pageviews vs. Destination URL for Goal tracking
I am working on setting up goal tracking. Currently when we receive a new signup, the person gets sent to their dashboard homepage and this is not a valuable a goal tracking destination. My suggestion was to build a "Welcome" interstitial page to send a user to when they create an account. Our tech team suggested using a Virtual pageview instead as it is their thinking that a "Welcome" page adds little value. Is there any downside to using Virtual Pageviews with regards to goal tracking?
Reporting & Analytics | | Vacatia_SEO
Are interstitial page more reliable?
Can you still use funnel visualization with Virtual Pageviews?0 -
Link being indexed
So I found this link to my website on the huffington post http://www.huffingtonpost.com/2012/11/13/california-car-insurance-rates-vary-study_n_2122614.html it's at the bottom in the "around the web" section. My question is this article has been around for almost 4 months yet the link does not show up in WMT. I would like to know if the link to http://www.shiftins.com is indexed and passing authority. Thank you.
Reporting & Analytics | | jameswalkerson0 -
Yahoo wont Index my site...???
For some reason every time I get an SEO report card, or even check for my site on Yahoo, im never there. An the Report card always tells me that I am not being indexed by Yahoo. I don't understand bc my site is indexed by Google and Bing beautifully. I feel like I am missing out on good potential traffic...Any suggestions?
Reporting & Analytics | | Caseman0 -
What keywords are called conversion keywords? how do you track them ?
I have tried more than 200 keywords to optimize Akshaya Patra website, but i am finding it difficult to analyzie the lead /convesrion keywords to rank our website at the top of search results. How many keywords do you suggest for conversion , how do you utilize the keywords to ensure we are ahead of the competitors We are a nonprofit organisation, HQ is in India, our main focus is to feed underprivieled children in India website URL www.akshayapatra.org
Reporting & Analytics | | AkshayaPatra0 -
Help configuring GA Async code for an older CMS platform
Hey Guys, I don't know if anyone can help or not, but my CMS support seem to not be interested in helping me configure the GA Async code for whatever reason. I am pretty sure the code is firing twice on the site and is masking the true bounce rate. I want to maintain tracking of e commerce transactions and event tracking, but It is beyond me how to configure the A sync code to track these events accurately. I do not want to start hap haphazardly experimenting, so I am asking for help instead. At present our CMS has to have GA tracking enabled on some code in the site, I imagine this populates the GA with the transaction info. here is a link to the support forum I am using to try to find a solution. http://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=81704&whichpage=2 I have been over the GA forums too. Any and all help would be greatly appreciated.
Reporting & Analytics | | robertrRSwalters0 -
How do I track a PDF?
I have this eBook in PDF and I don't know how to track it: http://www.shipoverseas.com/PDFs/how-to-buy-a-car-in-usa-and-ship-it-overseas.pdf I ultimately want to do like SeoMoz in their Ranking Reports: Export to PDF Anybody have a quick idea on how to do this?
Reporting & Analytics | | Francisco_Meza0