URL Formatting for Internal Link Tagging
-
After doing some research on internal campaign link tagging, I have seen conflicting viewpoints from analytics and SEO professionals regarding the most effective and SEO-friendly way to tag internal links for a large ecommerce site.
It seems there are several common methods of tagging internal links, which can alter how Google interprets these links and indexes the URLs these links point to.
- Query Parameter - Using ? or & to separate a parameter like cid that will be appended to all internal-pointing links. Since Google will crawl and index these, I believe this method has the potential of causing duplicate content.
- Hash - Using # to separate a parameter like cid that will be appended to all internal-pointing links.
- Javascript - Using an onclick event to pass tracking data to your analytics platform
- Not Tagging Internal Links - While this method will provide the cleanest possible internal link paths for Google and users navigating the site and prevent duplicate content issues, analytics will be less effective.
For those of you that manage SEO or analytics for large (1 million+ visits per month) ecommerce sites, what method do you employ and why?
Edit* - For this discussion, I am only concerned with tagging links within the site that point to other pages within the same site - not links that come from outside the site or lead offsite.
Thank you
-
Thanks for the answer. I will be using Ensighten to manage the link tagging, so any of the options I presented can be utilized.
Have you found any negative consequences associated with using the query parameter to tag internal links, such as duplicate pages indexed? Or does the Webmaster Tools setup and canonical tags eliminate the chance for this happening?
The query parameter is also used in the URL outside of tagging (for sorting, brand, and other refiners). Is it possible to specify that you want certain query parameter-appended URLs crawled and not others?
-
I manage a large traffic ecommerce website and use Google Tag Manager to tag all internal links for review in GA.
If you want to use a query parameter, which I also actively use, you can apply settings in Google Webmaster Tools to ignore them and not cause duplicate content issues.
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
-
Losing referrer data on http link that redirects to an https site when on an https site. Is this typical or is something else going on here?
I am trying to resolve a referral data issue. Our client noticed that their referrals from one of their sites to another had dropped to almost nothing from being their top referrer. The referring site SiteA which is an HTTPs site, held a link to SiteB, which is also an HTTPs site, so there should be no loss, however the link to SiteB on SiteA had the HTTP protocol. When we changed the link to the HTTPs protocol, the referrals started flowing in. Is this typical? If the 301 redirect is properly in place for SiteB, why would we lose the referral data?
Reporting & Analytics | | Velir0 -
Google webmaster links vs Moz Reporte do follow links
A bit confused about my seo reports for a site I am tracking in Moz. Google webmaster reports i have 1836 links to my domain.
Reporting & Analytics | | KenW
Moz reports 273 external followed links.
Website Auditor reports 449 dofollow and 338 no follow.> total 787
What is important factor that I should be reporting to my client that really matters?0 -
Does Installing Google Tag Manager Compromise Server Security?
Greetings MOZ community!!! Both my hosting company and developer have told me that in order to install Google Tag Manager it is necessary to disable the rule securing against malicious i-frame attacks in Mod Security and that this would leave the site (we operate on a virtual private server and out hosting company is InMotion Hosting) extremely vulnerable to attack. I can't believe that Google would write code that could allow potential security issues? Is this true? Does anyone know of a way to install GTM while maintaining site security? What functionality will we lose if we choose to stick with the old version of Google Analytics rather than upgrade? Thanks everyone!!!
Reporting & Analytics | | Kingalan1
Alan0 -
Page Views for a List of URL's (Excel & Analytics)
I've been playing around with a few excel plugins trying to get the visit count for over 350 different URL's on the same website. I cant seem to find a function that can do this. Can anyone advise a work around or a way i can achieve this? Greg
Reporting & Analytics | | AndreVanKets0 -
WMT and 'Links To Your Site'
Anyone else find that there are, almost continually, links added to the 'Links To Your Site' list from years ago that weren't previously reflected? I'm seeing links that were added to directories in 2008 (by whoever was doing the SEO then) only showing in the last week or so when these links weren't in the list a few months ago. I don't suppose there's much I can do - it's just annoying in that it adds to more people to contact to have nonsense removed.
Reporting & Analytics | | Martin_S0 -
Megamenu: Too many links really bad?
Hi there! Our site hosts paid training videos, and has a javascript menu that lists EVERY video on the site, and it is our most-used method of navigation. The menu is structured to look like the business software our training videos cover, so it's very intuitive for users. That said, since we currently have so many videos EVERY page has more than 250 links. The only way to get this down to under 100 as SEOMOZ recommends is to delete/hide the link from being seen by search engines. What should I do? Is the menu worth being visible to search engines? businessonetraining.com
Reporting & Analytics | | TigerSheep0 -
Trackbacks vs Links: What's the Difference?
Our Google Analytics social pages report isn't showing several of our links. And several links are from high quality sources, such as about.com. Does anyone know why this may be?
Reporting & Analytics | | nicole.healthline0 -
Phantom urls causing 404
I have a very strange problem. When I run SEOmoz diagnostics on my site, it reveals urls that I never created. It seems to combine two slugs into a new url. For example, I have created the pages http://www.naplesrealestatestars.com/abaco-bay-condos-naples/ and http://www.naplesrealestatestars.com/beachwalk-naples-florida/ and now the url http://www.naplesrealestatestars.com/abaco-bay-condos-naples/beachwalk-naples-florida/ exists in addition to the two I created. There are over 100 of these phantom urls and they all show a 404 error when clicked on or crawled by SEOmoz. Any body know how to correct this?
Reporting & Analytics | | DanBoyle760