There are two primary ways to link directly over to the booking engine from your website: generic and deep link. This document will cover how to do both of these methods.


Generic Link

A generic link sends the user to the product grid and allows them more flexibility when selecting a product as they are not taken directly to a product by default. This strategy is most common for "generic book now buttons" and not intended for pages that include details about a specific product you are selling on your website. 


<a href="https://trytn.com/AwesomeShopUrl">Book Now</a>


In the above code let's assume that your shop is called "Awesome Test Shop" with a Shop Url of "AwesomeTestShop". We can see that the TRYTN URL points directly to the main shop URL. 


Deep Link

The ability to deep link into the booking engine is a great way to drive customers directly to a product without them having to find it themselves. This strategy is very useful when the user was on the product details page of your site and they are ready to buy. 


<a href="https://trytn.com/AwesomeShopUrl/details/a1s2-e1t5d1-fd1s5fd-6t2f1-sd45d1">Book Now</a>


In the above code we still have a shop called "Awesome Test Shop" with a Shop Url of "AwesomeTestShop". However we see that there are some additional items on this URL. In the above example we are sending traffic directly to the product details page for a specific product. 


How can I find my product details link?

In the admin navigate to the product you wish to deep link into. In the Actions menu is a View Booking Page link that you can copy. If you navigate to the admin product details page there will also be a button called View Booking Page that allows you to navigate to the product directly. Lastly you can go to your generic shop URL, find the product you wish to deep link to, and copy the URL in the address bar.


For scheduled activities can I send the user to a specific date?

Yes! Using the example above simply add startDate=YYYY-MM-DD to the query string. Note that this is an advanced feature and not recommended for most deep linking cases. The date you pass has to be of the YYYY-MM-DD format. As an example, if I wanted to deep link a product to July 20th, 2020, I would pass 2020-07-20 as my date.