You can create your custom HTML code for any activity using our code generator. Click on the activity and select "</> Affiliate Code".
Enter your Affiliate ID so we can assign you the code (only enter your ID, without ?ref=). If you have forgotten your ID, you can find it in your Affiliate account under "My Profile" → "Personal Details".
Set the parameters as you want. Choose whether you want to create the CTA, button, or widget. You can also select the language in which your code should be generated. The "Booking" checkbox decides whether your reader stays on your website for the booking process or is redirected to us.
You can also choose the color of the button and text to match the design of your website.
If "Booking" is enabled, they can complete the entire booking process directly on your website. If "Booking" is not enabled, they will be redirected to the activity linked by you on our website and leave yours.
By clicking the eye icon next to the code, you can generate a preview of how the widget, CTA, or button will look. You can also test the tools and see how, when "Booking" is enabled, only a pop-up appears and you remain on the same page. Or how a new window opens for the booking when "Booking" is not disabled.
Add the code to your Wordpress site. If you need help with this step, follow the instructions in this guide.
If you'd like to find out how to implement our full shop with all activities available on Swiss Activities, read on here.