Hi Andrew,
Great contribution here. :)
Just noticed that two of the admin settings don't have titles. You'll notice that these have been left out in the following install SQL code.
Is this correct? Are they meant to be blank?Code:(NULL, '', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND', 'true', '', @configuration_group_id, 2, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL, '', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND_LINKS_PREFIX', '/outgoing/', '', @configuration_group_id, 2, NOW(), NULL, NULL),
My Contributions: Zen Lightbox | Best Sellers Reloaded
Currently using the most recent version of Google Analytics Integration and Zen Cart 1.3.8a. I can't seem to get E-commerce tracking to work. I have enabled the option in Google Analytics and outside of the e-commerce tracking all other tracking seems fine. Any thing I should look for? I have the code for integration at the bottom of tpl_footer.php.
Cal
Nevermind....
Last edited by NFM; 18 Mar 2008 at 09:20 PM. Reason: Figured out the problem
Hi,
This is great MOD, thank you.
I do have a problem thought, I am getting the following validation errors:
Line 63, Column 43: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified .
document.write("<script id=8d6b7cf147cf9 defer " +✉
Line 63, Column 43: value of attribute "id" invalid: "8" cannot start a name .
document.write("<script id=8d6b7cf147cf9 defer " +✉
It is possible that you violated the naming convention for this attribute. For example, id and name attributes must begin with a letter, not a digit.
Line 63, Column 63: an attribute value literal can occur in an attribute specification list only after a VI delimiter .
… document.write("<script id=8d6b7cf147cf9 defer " +✉
Have you forgotten the "equal" sign marking the separation between the attribute and its declared value? Typical syntax is attribute="value".
Line 63, Column 63: document type does not allow element "script" here .
… document.write("<script id=8d6b7cf147cf9 defer " +✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 64, Column 36: character "<" is the first character of a delimiter but occurred as data .
"src=:\/\/0><\/script>");✉
This message may appear in several cases:
You tried to include the "<" character in your page: you should escape it as "<"
You used an unescaped ampersand "&": this may be valid in some contexts, but it is recommended to use "&", which is always safe.
Another possibility is that you forgot to close quotes in a previous tag.
####################__
Anybody knows the solution to this ? Thanks in advance.
Hi Alex,
No, of course it is my error. I have to fix it in the next release. And now you can simply replace these lines by:
Code:(NULL, 'Tracking Outbound', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND', 'true', '', @configuration_group_id, 2, NOW(), NULL, 'zen_cfg_select_option(array(\'true\', \'false\'),'), (NULL, 'Tracking Outbound Links Prefix', 'GOOGLE_ANALYTICS_TRACKING_OUTBOUND_LINKS_PREFIX', '/outgoing/', '', @configuration_group_id, 2, NOW(), NULL, NULL),
Hi I was not when I posted this but I a now, and getting a whole new set of errors:
############################################################___
Line 49, Column 31: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified .
document.write("<script id=__ie_onload defer><\/script>");✉
Line 49, Column 48: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified .
document.write("<script id=__ie_onload defer><\/script>");✉
"VI delimiter" is a technical term for the equal sign. This error message means that the name of an attribute and the equal sign cannot be omitted when specifying an attribute. A common cause for this error message is the use of "Attribute Minimization" in document types where it is not allowed, in XHTML for instance.
How to fix: For attributes such as compact, checked or selected, do not write e.g <option selected ... but rather <option selected="selected" ...
Line 49, Column 48: required attribute "type" not specified .
document.write("<script id=__ie_onload defer><\/script>");✉
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
Line 49, Column 48: document type does not allow element "script" here .
document.write("<script id=__ie_onload defer><\/script>");✉
The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
Line 49, Column 49: character "<" is the first character of a delimiter but occurred as data .
document.write("<script id=__ie_onload defer><\/script>");✉
This message may appear in several cases:
########################################__
Please help..
What is the proper funnel order for Google's Analytics Goal funnel?
I have Shopping Cart > Shipping > Payment > Confirmation > Success what else do I need if any?
/index.php?main_page=shopping_cart
/store/index.php?main_page=checkout_shipping
/store/index.php?main_page=checkout_payment
/store/index.php?main_page=checkout_review
/store/index.php?main_page=checkout_confirmation
/store/index.php?main_page=checkout_success
The reason why I ask is that an order went through and they didn't hit the last step checkout_success
Odd huh?
~ jasmel : My Store Using Contributions: Wallet Theme | Simple Google | Quantity Discounts | Godaddy | FAQ's | Confirm Email Address Entry | Admin login as customer | Newsletter Subscribe | CampaingMonitor
hi i've installed on zen cart 1.37 Google Analytics Integration
Version Date
==============
v 2.1.2 21.02.2008 11:04
After 24 hour i dont see any numbers (everything is on 0) on google analytics account. Receiving Data is checked and i think the code is seen by google.
What is the problem? any ideea?