
Welect Integration - API for publisher
This guide is for those who want to integrate Welect.
Welect Token
Welect has two different kinds of token:
- Transaction token: Can be used to check whether a ticket was successfully finished
- Temporary token: Is valid for a certain duration
Best practices for integrating Welect

To avoid common pitfalls here are some useful tricks and hints:
- Avoid the Google Tag Manager - favour a script HTML tag and address Welect directly by the provided URL.
- The script tag that contains your personal bundle URL should look like this:
<script src="https://static.wlct-one.de/p/bundles/<some-uuid>.js#wbss"></script> - Place the script tag at the end of the HTML body
- Assure that the Welect script is loaded after the CMP script or execute Welect Script with a safety delay
- Welect scripts do not depend on user consent - the loading and execution of Welect scripts should not depend on the result of consent manager providers.