[bug] Cart not shown when user blocks Google Analytics

bledfeetbledfeet Member
in Bugs & Feature Requests edited June 2014
Hey! We recently enabled google analytics in our foxy cart checkout flow and we noticed a bug using this solution from your wiki: https://wiki.foxycart.com/integration/googleanalytics_universal. The code in your wiki works beautifully, however if a user has google analytics disabled, the button that is supposed to lead to checkout no longer works. This is really not acceptable because many people block google analytics using no script in order to preserve their privacy. Can you confirm this bug on your end? Is there a solution to this problem?
Tagged:
Comments
  • fc_adamfc_adam FoxyCart Team
    @bledfeet,

    Ah yeah - great catch. I hadn't considered that. We were relying on Google Analytics working to trigger the add to cart as well as proceeding to PayPal from the cart. I've just made a couple changes to the "setting up your site" script as well as the cart template - give those a try and your customers with GA blocked should be able to proceed now.
Sign In or Register to comment.