Skip to main content

Prerequisites

  • An active Writesonic account
  • Admin access to your Vercel account

Start in Writesonic

1. Head over to the AI Traffic Analytics page on Writesonic and click on Vercel

Step 1 screenshot

2. Enter your url in the input box

Step 2 screenshot

3. Click on Continue

Step 3 screenshot

Head over to Project Settings in Vercel

Head over to Project Settings in Vercel

4. Click on Log Drains in Project Settings

Step 4 screenshot

5. Click on Add Log-Drain

Step 5 screenshot

6. Select “Custom Log Drain

Step 6 screenshot

7. Click on Continue

Step 7 screenshot

8. Select Specific Projects

Step 8 screenshot

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

Step 9 screenshot

10. Select “Static” and “Function” as Sources

Step 10 screenshot

11. Select Production as environment

Step 11 screenshot

Writesonic

12. Copy the Endpoint URL from Writesonic

Step 12 screenshot

Vercel

13. Paste the copied endpoint url in input box

Step 13 screenshot

14. Turn on the Custom Headers

Step 14 screenshot

Writesonic

15. Copy the Header Key from Writesonic

Step 15 screenshot

Vercel

16. Paste the copied Header Key in Vercel

Step 16 screenshot

Writesonic

17. Copy the Header Value from Writesonic

Step 17 screenshot

Vercel

18. Paste the copied Header Value in Vercel

Step 18 screenshot

19. Click on Add

Step 19 screenshot

20. Copy the Vercel x-vercel-verify header

Step 20 screenshot

Writesonic

21. Click on Continue

Step 21 screenshot

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

Step 22 screenshot

23. Click on Submit

Step 23 screenshot

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

Step 24 screenshot

Vercel

25. Click on Verify

Step 25 screenshot

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

Step 26 screenshot

27. Click on Confirm and Add Log Drain

Step 27 screenshot

28. Click on Done

Step 28 screenshot

Writesonic

29. Click on Finish Integration

Step 29 screenshot

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

Step 30 screenshot
Integrating with Wordpress Integrating with Drupal