Passing in Custom User Data for BigCommerce (Stencil Themes)

  1. Go to "Storefront" > "Footer Scripts" in your BigCommerce dashboard.
  2. Paste the script below into the text area labeled Footer and click Save.
    1. <script>
        var customData = {
          name: '{{customer.name}}',
          email: '{{customer.email}}'
        };
        window._loq = window._loq || [];
        window._loq.push(['custom', customData]);
      </script>
      		
  3. The default script will pass in a customer's name and email as custom data. If you wish to change this you can refer to the BigCommerce Stencil Object Model Reference for other values that can be sent to Lucky Orange.

Still need help? Contact Us Contact Us