Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: Google Analytics Asynchronous Syntax for eCommerce Tracking

  1. #11
    Join Date
    Jan 2010
    Posts
    62

    Default

    Hi Don,

    I am trying to modify your code a bit for the google trusted stores Xml package.
    Can you take a look at it here?

    http://forums.aspdotnetstorefront.co...e-Can-you-help

    thanks for any help on this!
    A
    Last edited by usascholar; 06-13-2012 at 07:19 AM.

  2. #12
    Join Date
    Apr 2012
    Posts
    165

    Default

    I have implemented the code and its working but like the other poster we are getting duplicate transactions showing.

    When I try to add the code below I get an error on orderconfirmation.aspx even though the order goes thorugh. It says it is missing the expected ;

    can you please post exactly as you have it in your orderconfirmation.aspx file so I can compare as I'm not sure where best to put this code and have the page work.

    protected override string OverrideTemplate()
    {
    return "carttemplate.master";
    }

  3. #13
    Join Date
    Apr 2012
    Posts
    165

    Default

    Its ok I got it in the end.

  4. #14
    Join Date
    Apr 2012
    Posts
    165

    Default

    How would we pass the Product Category as part of the order confirmation

    It currently works fine but it would be perfect to include Category as well as this is part of the E-Commerce tracking in Google.

    Anybody know what the xsl:value-of select is for the Product category?

  5. #15
    Join Date
    Apr 2012
    Posts
    165

    Default

    Hi

    The code is working great but under transactions revenue each product is being doubled. Product revenue is fine but transaction revenue its being counted twice. I have followed all the steps above but wondered if you knew what could be causing this.

    Thanks

  6. #16
    Join Date
    Nov 2009
    Location
    Los Angeles, CA
    Posts
    81

    Default

    Don,

    Thank you very much for this code. It's just what I need. Can you answer a dumb question? Where does the following line go?

    Code:
    <aspdnsf:XmlPackage ID="analyticspackage" runat="server" PackageName="rev.analytics.xml.config" />
    I understand the rest but I'm not sure what you mean by the "template" file.

    Thanks,
    Tom

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •