In this article, we will explain how you can integrate jumpers web SDK directly into the Google Tag Manager.

Create a "Custom HTML tag" in your GTM dashboard

Next

Paste the code
<script src="https://jumper.ai/widget/js/bho-sdk.js"></script>
<div id="jumperWidgetContainer" data-jmpr_type="normal" data-jmpr_shoplink="jmprdemo" data-jmpr_shopname="jumper.ai demo" data-jmpr_shoplogo="https://lh3.googleusercontent.com/BCyor6wW4QtDZ_aAzDba05z4aessj-RFaKCF-6mXbQ6hU4P8upox16PWbBQzfEYM6BvE8x9Zxs9TEYdZlYXEz-er-w"></div>


Remember to put your own copy found in growth tools->Web-bot widget

In the above example, you will notice a few a few variables that are key for this to work
data-jmpr_shoplink="YOUR_SHOP_ID"
data-jmpr_shopname="YOUR_SHOP_NAME"
jmpr_shoplogo="this URL is where your logo is hosted on jumper"

Last but not the least, you'd need a button to trigger the widget, parameters can range from onClick, onHover etc:

If your product hashtag for example is #bag, you should embed data-jmpr_hashtag="bag" in your button code

A simple text click to trigger the widget looks like <button data-jmpr_hashtag="bag">Buy now</button>

Moving on to the in-context sale plugin:

Create a "Custom HTML tag" in your GTM dashboard

Next

Paste the code
<script src="https://jumper.ai/widget/js/bho-sdk.js"></script>
<div id="jumperInContextContainer" data-jmpr_type="incontext" data-jmpr_shoplink="jmprdemo" data-jmpr_hashtag="bag" data-jmpr_shopname="jumper.ai demo" data-jmpr_shoplogo="https://lh3.googleusercontent.com/BCyor6wW4QtDZ_aAzDba05z4aessj-RFaKCF-6mXbQ6hU4P8upox16PWbBQzfEYM6BvE8x9Zxs9TEYdZlYXEz-er-w"></div>


Final step

Paste this to trigger the product purchase within your blog, static website, banners etc.
<div id="jumperInContextContainer" data-jmpr_type="incontext" data-jmpr_shoplink="jmprdemo" data-jmpr_hashtag="bag"></div>

In the above example,
data-jmpr_shoplink="YOUR_SHOP_ID"
data-jmpr_shopname="YOUR_SHOP_NAME"
data-jmpr_hashtag="YOUR_HASHTAG"
data-jmpr_shoplogo="this URL is where your logo is hosted on jumper"

Please feel free to reach out to our support team if you face any issues

Happy selling,