Integrating with Vercel Log Drains
This doc will guide you how to Integrate the AI Traffic Analytics using Vercel. It uses Vercel's log drain feature and can only be availed by users on Vercel Pro/Enterprise plan
1. Click on Vercel Integration Tab

2. Enter your url in the input box

3. Click on Continue

Head over to Project Settings in Vercel
4. Click on Log Drains in Project Settings

5. Click on Add Log-Drain

6. Select "Custom Log Drain

7. Click on Continue

8. Select Specific Projects

9. Select the project for which you want to turn on the AI Analytics

10. Select "Static" and "Function" as Sources

11. Select Production as environment

12. Copy the Endpoint URL from Writesonic

13. Paste the copied endpoint url in input box

14. Turn on the Custom Headers

15. Copy the Header Key from Writesonic

16. Paste the copied Header Key in Vercel

17. Copy the Header Value from Writesonic

18. Paste the copied Header Value in Vercel

19. Click on Add

20. Copy the Vercel x-vercel-verify header

21. Click on Continue

22. Paste the copied Vercel x-vercel-verify header in the input box

23. Click on Submit

24. After submitting you will get a green tick, indicating the header has been saved

25. Click on Verify

26. Once verified on Vercel, click on Add Log Drain

27. Click on Confirm and Add Log Drain

28. Click on Done

29. Click on Finish Integration

30. Your website will start capturing AI traffic using Vercel Integration

Updated 3 days ago