Streaming live at 10am (PST)

Ecommerce Buy Now Button Jquery.deffered exception

Hi - I am hitting a bug when user’s click the “buy now” ecommerce buttons. I saw that this could be a custom code issue, but the only custom code being triggered by these buttons is below and is running fine from what I can tell:

$(document).ready(function() {      
    $(document).on('click', '[data-gatrack]', function(e) {

        var $link = $(this);
        var commaSeperatedEventData = $'gatrack');
        var eventParams = commaSeperatedEventData.split(',');

        if (!eventParams) { return; }

        eventCategory = eventParams[0]
        eventAction = eventParams[1]
        eventLabel = eventParams[2]

                'event_category': eventCategory,
                'event_label': eventLabel


$(document).on('click', '[data-reddittrack]', function(e) {
        var $link = $(this);
        var redEventParams = $'reddittrack');

        if (!redEventParams) { return; }


this the error:

not sure how to debug, any ideas would be appreciated! thank you :slight_smile: