Analytics: Track Buy It Locally

If your website is already maintaining and tracking customer sessions, simply add the following parameter to your Product Locator embed code:

customer_id: 'abc123' // where this is your own internal ID or token for the customer

When a customer creates a Buy It Locally cart, your own ID will be saved and will become accessible via the carts endpoint in the Locally API.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.