Most stores seem to use basic cookies and/or persistent cookies (a.k.a. Flash cookies). Many also use combinations of server-side scripting along with client-side scripting to track visitors' actions.
Client-side tracking can involve cookies, persistent cookies, etc., is easier and less-costly for site-managers to use, and often can be avoided/prevented by adjusting script and cookie settings on the client's computer or browser. Add-ons (like NoScript, BetterPrivacy, etc. for FireFox) help prevent client-side scripting and tracking.
Server-side tracking does not need cookies, is more difficult for concerned clients to avoid or prevent (unless using proxy servers, etc.), and is more expensive as it requires more resources on the server-side.
An example of server-side tracking is when a person uses a search-engine like Google.com (example: searches for news site "CNN") and clicks on a search-result link. At first, when mousing-over the link, it looks like
www.cnn.com. But, at the moment the link is clicked, the real-link is revealed, which is a Google "redirecting link"
example: http://www.google.com/url?q=http://www.cnn.com/&sa=...
that allows Google to collect statistical information before directing the visitor to the intended target site. Along with this "redirecting link", server administrators can collect browser-info, IP-info, and other information based upon the server-side information from the visitor's connection to their site.
Also, if a website-visitor is using his or her employer's computer (instead of their home computer) to visit Google or
www.cnn.com, the employer that owns the computer can also collect information from its own network routers about the web-traffic to and from its computers. This is the same way the ISPs are able to respond to law-enforcement warrants for web-traffic data and/or reports. They report on traffic or give copies off data that passed through their routers and servers, regardless of their subscribers' browser-settings.
So, disabling scripts in a browser can reduce tracking, but does not eliminate all of it.
Hope this helps,