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
-
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 -
Mobile first indexing but can you force Google to index your desktop url instead?
Hi Guys So I just wanted to know if there is an option to force google to index your desktop version instead of the mobile version after the mobile first indexing by Google. Cheers Martin
Reporting & Analytics | | martin19700 -
Dynamic URL parameter generator
Hi Is any one privy to an online tool that will let me create a dynamic URL parameter string but will allow me to generate multiples of the URL and add a distinct key for each one. E.g Campaign Source, Medium, Name, a Keywords etc. are all the same in the string but then I want to generate a unique id code at the end. Then export them as a csv and integrate into my database lists. Looking to run this into a few thousand as well. I was going to just do this in Excel and combine two columns withe the string and the number count in the other column but if there is a tool that does it all that would be interesting to know.
Reporting & Analytics | | David-E-Carey0 -
Ecommerce site product link. How to handle a link that doesn't exist.
Suppose we have this product A, and we just have a single item for this. When the item is sold out we do not want to show it on the website saying "out of stock". Instead we would like to remove the product from out store which will now result in a url that doesn't exist. And google webmaster tool and Moz analytic will show them as page not found after they crawl over the site. Should i be generating a new sitemap.xml and update ? How do i handle those pages that don't exist anymore ? Thanks
Reporting & Analytics | | MindlessWizard0 -
Tag Manager V2
Hi all! Do you have any great resources on Google Tag Manager Version 2? I'm looking for some help and I keep seeing info on V1, which looks pretty different. I'm having quite a bit of trouble implementing it correctly. Thanks!
Reporting & Analytics | | newwhy0 -
URL String Tracking Question--Need help!
I am doing some research for a freelance project and found a URL receiving a decent amount of traffic from search with this url string after the normal page url (xxx.com/credit-card-counseling.aspx?match=e&query=debthelper.com&id=22097628847&id=1810807655) Is this some sort of GA tracking code? Why would it be used on that page to track organic search hits if that happens automatically? Would love some help figuring this out! Thanks,
Reporting & Analytics | | RickyShockley0 -
Open internal links in a new tab increase bonus rate?
Hello! This week I used a simple method to reduce my blog Google Analytics bounce rate. My blog all the posts are guides, in order to follow them, user need to download a zip file (same zip file). Otherwise they can't. Therefore I added a separate blog post to download all the necessary files. As a result of that I can reduce my bounce rate from 62-70% to 45-50% level. Now I'm thinking to open that zip file download page in a new tab. If I open my blog zip file download page, in a new tab. It will again increase my bounce rate? I reduced my bounce rate using that zip file download page. Thanks!
Reporting & Analytics | | Godad0 -
Too Many On-Page Links
I'm getting the warning of "Too many on-page links". I have a number of affiliate marketing sites, all Wordpress, all with sidebars. In the header navigation bar is a link that offers "reviews" and links to each product/brand. This is not a drop down link but leads to a page with product links. Also, in the sidebar I have links that also lead to the products/brands. Redundant yes, but in the beginning this seemed to be a good practice in site design. It would be easy to simply remove the widget that contains the link process in the sidebar. The problem may simply be that the sidebar is the same for every page in the site(s). Is this hurting total SEO as my sites are all over 95-percent indexed. One site in particular does very well in traffic and sales so is removing these links potentially going to improve my SEO and ultimately by success? Thanks, Don
Reporting & Analytics | | JavaManOne0