test

Boomtrain provides a RESTful API with endpoints for interacting with people, resources, events, and recommendations.

The API can be accessed using the standard HTTP request methods GET, POST, and PUT. There are several endpoints that can be used to manage events, resources, and users.

Authorization for Boomtrain APIs are is granted via JSON Web Token (JWT) JSON Web Token. To access these routes, supply a bearer token to the route as part of an Authorization header. You can generate a JSON Web Token by requesting one using our Authorization API.

Rate limiting is implemented on our REST APIs to protect against abuse. These rates vary by route:

Add more info from: https://boomtrain.readme.io/docs/authorization-api

Route Path Rate Limit
customers.api.boomtrain.com 10 per second
metrics.api.boomtrain.com 10 per second
people.api.boomtrain.com 10 per second
events.api.boomtrain.com 10 per second
resources.api.boomtrain.com 10 per second

Integrating with the Boomtrain Javascript Library pushes information from your website directly into Boomtrain. This way, once you set up the Javascript library, the content you create on your website is consistently pushed our way and kept up to date.

The first step of integration is putting the Boomtrain JavaScript library in your code (we recommend thesection): it makes user identification, user tracking, and event tracking possible.

Our CDN supports the HTTPS protocol.

HTML
<?php
/*
Template Name: Snarfer
*/
?>


Here’s the full listing for a page that has user data:

HTML

Here’s the full listing for a page that doesn’t have user data:

HTML

Finally, here’s the full listing for a page after user data has been updated:

HTML

Get even more info from: https://boomtrain.readme.io/docs/javascript-example

Integrating with the Boomtrain Javascript Library pushes information from your website directly into Boomtrain. This way, once you set up the Javascript library, the content you create on your website is consistently pushed our way and kept up to date.

The first step of integration is putting the Boomtrain JavaScript library in your code (we recommend thesection): it makes user identification, user tracking, and event tracking possible.

Our CDN supports the HTTPS protocol.

HTML

Here’s the full listing for a page that has user data:

HTML

Here’s the full listing for a page that doesn’t have user data:

HTML

Finally, here’s the full listing for a page after user data has been updated:

HTML

Get even more info from: https://boomtrain.readme.io/docs/javascript-example

The product feed is the primary means of keeping or products catalog synchronized with Boomtrain Commerce. This information together with the data tracked by the JavaScript tracker allows Boomtrain to determine each visitor’s preferences in relation to product characteristics (such as brand, category, price, and other attributes) and make relevant product recommendations.

The feed is different from the Javascript integration in that with the feed, Boomtrain pulls the information from your website to create recommendations.

The feed can be provided in JSON or XML format.

For each product please include the following product attributes. The mandatory fields are necessary for minimal functioning of the recommendation engine. For best results, please include as much data for each product as you have.

Notes:

    • Please be sure to include all the products available on your site – even those currently out of stock
    • For the URL fields please provide the exact URLs used on-site and make sure these do not redirect.
    • All the URLs must use the same HTTP/HTTPS protocol.