The Foxy forums are on the move!

We're in the process of moving our forums over to a new system, and so these forums are now read-only.
If you have a question about your store in the meantime, please don't hesitate to reach out to us via email.

google conversion code

GiDesignGiDesign Member
in Bugs & Feature Requests edited March 2012
is it possible to implement Google's Conversion Script on our site?
  • 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

    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 type="text/javascript"
    <div style="display:inline;">
    <img height="1" width="1" style="border-style:none;" alt=""

  • fc_adamfc_adam FoxyCart Team

    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

    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.