- Make an account on Vercel;
- Use this link to clone this GitHub repository;
- In the repository it creates, edit the
middleware.js
file and add a webhook URL between the quotation marks; - Your project should be deployed after around 40 seconds, and the
vercel.app
subdomain you get should work. Vercel itself might trigger the view-logger by using pages of the website.
- Send on Discord or Guilded the link to your subdomain (it can be any page, you can choose a page to recognize the view-logger);
- Your webhook should send something whenever someone sees the view-logger.
- In Discord, view-loggers seems to not trigger on every platform, it does for the Android mobile app but not the browser version for example. You may also need a bit of spacing between the invisible image of the view-logger and the bottom of the conversation, by adding a reaction on your message for example.
- In Guilded, view-loggers can only trigger once every 4 hours.
- You can hide the link by using Markdown (like
[.](https://viewlog.lublox.xyz)
), but the invisible image has to be loaded/visible.
This feature has been available since June 2023 on Lulu5239's bots.