Installing Bento.js

Shopify users do not need to install anything. Just connect your store to Bento after you sign-up and we'll automatically add our code to your store's theme and in Shopify Checkout. If you use CartHook or another platform, then you can manually add the code below. Of course, when you uninstall the app we'll remove the code.

Installing Bento is really similar to how you have previously installed many of your other marketing tools in your stack. We have a small script, under 30kb in size, that you add to the footer of your page. This little script powers all the amazing features in Bento.
Because you are adding Bento to the footer of the page, it also won't slow down your perceived load times at all. Visitors will see and be able to browse a snappy website like they've always done before. This is fairly unique in the marketing world, as most scripts that perform similar features to us require you to put us in the header synchronously — but we've always believed that speed trade-off isn’t worth it. We’ve seen instances where services have become overwhelmed for one reason or another and have slowed down all sites on their network. Not with Bento. 
A lot of web apps have a special spot for you to place the script, often this will be the same place where you would put your Analytics code like Google Analytics, Tag Manager or Clicky, but if you're unsure it's best to ask your site's developer or send us a message in chat. We've got experience working on all sorts of platforms.
Bento does require jQuery (2.X.X or above) to work, so make sure to check "Compatibility Mode" if you do not have it currently installed so we can load it for you. 
This year we're hoping to deprecate this eventually.
The script looks something like this (remember to add your UUID):
<script src="https://app.bentonow.com/{{ Unique Site UUID }}.js"></script>
<script>
if (typeof(bento$) != 'undefined') {
bento$(function() {

// // if you have their email address, identify the user.
// // do this before anything else.
// bento.identify('[email protected]');

// // you can log a custom event.
// bento.track("Some Action", {some_key: "Some Value"});

// // you can tag a visitor.
// bento.tag('Some Tag');

// // you can add custom fields to your visitors which you can leverage in your emails and personalization.
// bento.updateFields({"first_name": "ash", "last_name": "ketchum", "favourite_food": "bento box"});

// at the very least, you need to log the page view like this.
bento.view();
});
}
</script>
To see if Bento works, check your console logs in your browser. Bento will let you know if it's activated or not! 

👋 Giving Feedback

We strive to improve our products and we rely on feedback from our customers.

Please feel free to share any feedback about Bento via twitter @Bento or jesse(at)BentoNow.com.