Manual Installation
> How to add the @journey/loyalty client-side script to your website
Introduction
With @journey/loyalty, you can enable your visitors/guests to join the Journey loyalty program directly from your website and access their Journey account for the purposes of making "members only" reservations on your website. Data shows that the Journey Loyalty SDK increase conversion rate on your direct booking engine, while the "Members Only" Closed User Group rates empower your team to increase your public BAR rate (and those of OTA partner's that require narrow rate partity).
Add the following script to your website the same way you would add Google Analytics script or any other JavaScript code – by adding the @journey/loyalty script in the <head> section of your HTML file on your website.
<script
src="https://start.journey.com/client-sdk/latest/loyalty.js"
data-brand-id="a3xydb3loggvmcvmvpe5i09d">
</script>Verify the Installation
Read the loyalty-analytics installation guide for more information.
You can verify the installation with the following tests:
- Open the browser and navigate to your website.
- You should see the Journey Widget loaded in the right corner of the website.
- Open it to ensure your branding matches the setup.
- Sign-in or Sign-up with your Journey Member information (not your Alliance Partner details)
- Verify the OTP code
- Check that the "Members Only" Rate code is present and applied
- Click the book now button and ensure the booking widget loads.