Skip to main content

Loading Our Beacon

A Krestor beacon is a single snippet of JavaScript configured on your website. This beacon captures anonymous information about your users’ clickstream activity. This data is sent to our servers where it is used to train Krestor’s AI models to help your users find the products and content they are looking for on your site. Our beacon is fully compliant with all major privacy regulations including the GDPR and CCPA.

Where to load the beacon

We recommend installing the beacon on all pages except those containing sensitive data like account management and credit card information.

The most important pages for the beacon to be loaded on are:

  • Home Page (and any page that has a search bar on it)
  • Search Result Page (Search Product Listing Pages)
  • Browse Result Page (Browse PLP)
  • Product Detail Pages (PDP)

How to load the beacon

There are a variety of methods to add the beacon to your site.

Although you can use a tag manager, these are often blocked by ad blockers, meaning that up to 40% of your users won't load the beacon. This is obviously not ideal, so we recommend installing directly on your site:

  1. Direct Site Placement (recommended method)

Installing via a tag manager is an option for the proof schedule if you'd rather not install directly, but will mean that your results won't be quite as good:

  1. Google Tag Manager
  2. Tealium iQ
  3. Adobe Launch

Load the beacon script after a DOM Ready or Window Loaded event is fired, or at the end of the page so that it loads after other content.

Additional Considerations

  • UI A/B Tests

    • If you are splitting your users into multiple test cells with different UIs, please let us know.
    • Our engineers write custom code to listen for events based on the UI that they see when they visit your website. For best Proof Schedule results, we want to build our beacon to track events across all users, regardless of which version of your UI they are interacting with. If you can send us a way to opt into each test cell, we're happy to build our beacon to correctly track events across multiple versions of your UI. This will help us provide your team with stronger analytics, insights, and result rankings.
  • Multiple Languages and Regions

    • If your users can choose between different languages and/or regions, please let us know which region you are most interested in seeing Proof Schedule insights for.
    • For a full integration, we can support as many languages and regions as you need, but for a Proof Schedule, our engineers will configure the beacon to only send tracking events for users in the selected language/region combination.