Setting Up
Using the API
4min
getting an api token to start using the weberlo api, you’ll need an api token follow these steps to generate one click on your profile icon in the top right corner of the weberlo dashboard select developer from the menu generate and copy your api token this token will be required for authentication when making api requests 📌 view api documentation home sending server side conversions if you want to send server side conversions , use the transaction endpoint this allows you to track sales and associate them with the correct marketing attribution 📌 view transaction endpoint documentation authentication and workspace identification to authenticate api requests, you must include the following authorization header send your api token in the request header as follows workspace identification include your workspace id as a url parameter in the request passing session data for better attribution for weberlo’s attribution to work optimally, you need to capture the w session id from the website’s datalayer and pass it to your backend then, send this value back to weberlo’s transaction endpoint as the session id field w session id helps stitch front end and back end data together it ensures accurate attribution , linking conversions back to the correct marketing source without it, conversions may not be properly attributed to the original traffic source