Foxy Forum Status

We're no longer responding to questions via our forum, but we will keep it up for historical reasons. If you can't find the answer you're looking for, please visit our knowledge base or contact us. If there's enough interest in the future, we may bring the forum back.

google conversion code

GiDesignGiDesign Member
in Bugs & Feature Requests edited March 2012
is it possible to implement Google's Conversion Script on our site?
Tagged:
Comments
  • sparkwebsparkweb Member, Integration Developer, FoxyShop, Order Desk
  • we have analytics on the site itself.
    the conversion script actually tracks buyers and i believe needs to be on the shopping cart page
  • fc_adamfc_adam FoxyCart Team
    @GiDesign,

    Just to make sure we're on the same page, could you link to what you need to integrate?
  • this is the code they sent us

    <!-- Google Code for Rutaesomn Conversion Page --> <script type="text/javascript">
    /* <![CDATA[ */
    var google_conversion_id = XXXXXXXXXXX;
    var google_conversion_language = "en";
    var google_conversion_format = "3";
    var google_conversion_color = "ffffff";
    var google_conversion_label = "dyHYCMW-2AIQi7265AM"; var google_conversion_value = 0; if (14.95) {
    google_conversion_value = 14.95;
    }
    /* ]]> */
    </script>
    <script type="text/javascript"
    src="http://www.googleadservices.com/pagead/conversion.js">;
    </script>
    <noscript>
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt=""
    src="http://www.googleadservices.com/pagead/conversion/XXXXXXXXXXX/?value=14.95&label=dyHYCMW-2AIQi7265AM&guid=ON&script=0"/>;
    </div>
    </noscript>

  • fc_adamfc_adam FoxyCart Team
    @GiDesign,

    I believe you also hit the helpdesk with this issue, is that right? I'll paste my reply here just in case anyone else has a similar question:
    It's definitely possible to paste that into one of the FoxyCart templates. Where it needs to go though is the real question. Should that conversion only be noted after a successful order? If so, it should go on the receipt page, and probably within the ^^receipt_only_begin^^ and ^^receipt_only_end^^ tags. For more information on those tags, see http://wiki.foxycart.com/static/redirect/receipt

    If it just needs to run on an add to cart, you can just chuck that in your cart template. Both templates can be accessed from the FoxyCart administration.
Sign In or Register to comment.