# Manual integration

## Link to our site

This is the most basic option. Just create a link to our servers:

```
<a href="https://tickets.voordemensen.nl/demo/">Tickets</a>
```

You can add `/event/event_id` to directly link to a specific main or sub event:

```
<a href="https://tickets.voordemensen.nl/demo/event/95">Tickets for our Demo event</a>
```

{% hint style="info" %}
Optionally you can add two arguments to the query string

* `murmur` a session\_id you assign to this user and order
* `redirect_url` the URL (https only) the user is redirected to after payment
* `lang` ISO 639-1 code for UI locale (en/de/nl)

so the request would look something like:

```
https://tickets.voordemensen.nl/demo/event/95?murmur=dsfksduf93&redirect_url=https://yoursite.nl/thanks/
```

{% endhint %}

### Calendar

Or add `/cal` to display a calendar-view of your events:

```
<a href="https://tickets.voordemensen.nl/demo/cal">Calendar</a>
```

{% hint style="info" %}
Optionally add a main event\_id to the UR to only get specific events in the calendar:

`https://tickets.voordemensen.nl/demo/cal/220`
{% endhint %}

![](https://1413156064-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Ld8rUL_Nw-xlkKkoLIA%2F-MIdk2Q6HmHyX4oBGdpA%2F-MIdkpIFLkv-KAGOJrGt%2Fimage.png?alt=media\&token=56c90d42-4c77-4fe8-b596-12f36d05692b)

{% hint style="warning" %}
Obviously this all will take the user completely from your site.
{% endhint %}

## Javascript front or side loader

You can keep the user on your site with our popup or side loader. First you load some Javascript from our site, then call a Javascript-function to activate.&#x20;

For the side loader add this Javascript to your HTML:

```
<script src="https://tickets.voordemensen.nl/client_name/event/vdm_sideloader.js"></script>
```

For the popup loader add this Javascript to your HTML:

```
<script src="https://tickets.voordemensen.nl/client_name/event/vdm_loader.js"></script>
```

{% hint style="info" %}
Don't forget to replace "client\_name" in the above line to your client\_name, for example: brakkegrond.
{% endhint %}

Now you can invoke the functions in the script:

```
vdm_order(order_id)
vdm_calendar()
```

So if you have an event with event\_id 95 you can launch the order screen like this:

```
<a href="javascript:vdm_order(95)">Order now</a>
```

{% hint style="info" %}
Optionally you can add a session\_id, an ISO 639-1 language code and the redirect\_url to the vdm\_order function, this will smooth the user-experience in case of cross-domain-cookie/session difficulties. If your site runs PHP it could look like this:

`vdm_order(95,'<?=session_id()?>','en','https://yoursite.com/')`&#x20;
{% endhint %}
