Google Analytics for E-commerce
Add a “Google Analytics” tag and choose the “Track Type” of Transaction. All the transaction information should be passed via the data layer.
Variable Name
Description
Type
transactionId (Required)
Unique transaction identifier
string
transactionAffiliation (Optional)
Partner or store
string
transactionTotal (Required)...
Local storage vs. Cookies: What's the difference?
Sometimes web pages are more than just static sources of information; sometimes they want to interact with and know something about their useres. In order to do this websites need to store data locally on the client-side. The solution for this for a while has been cookies, which are small text-files that storename:value pairs and are stored in bowels of a user's machine. Since the inception of...