public class GoogleAnalyticsTag
extends javax.servlet.jsp.tagext.SimpleTagSupport
| Constructor and Description |
|---|
GoogleAnalyticsTag() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
analytics(java.lang.String webPropertyId,
Order order)
Documentation for the recommended asynchronous GA tag is at:
http://code.google.com/apis/analytics/docs/tracking/gaTrackingEcommerce.html
|
void |
doTag() |
void |
setOrder(Order order) |
void |
setWebPropertyId(java.lang.String webPropertyId) |
public void setOrder(Order order)
public void setWebPropertyId(java.lang.String webPropertyId)
public void doTag()
throws javax.servlet.jsp.JspException,
java.io.IOException
doTag in interface javax.servlet.jsp.tagext.SimpleTagdoTag in class javax.servlet.jsp.tagext.SimpleTagSupportjavax.servlet.jsp.JspExceptionjava.io.IOExceptionprotected java.lang.String analytics(java.lang.String webPropertyId,
Order order)
webPropertyId - - Google Analytics IDorder - - optionally track the order submission. This should be included on the
page after the order has been sucessfully submitted. If null, this will just track the current pageCopyright © 2018. All Rights Reserved.