79133663

Date: 2024-10-28 13:49:12
Score: 1.5
Natty:
Report link

You can create a component VWOScript.tsx with the content as shown in the attached screenshot. (Please note: account_id has dummy value and you will need to update that with your account_id).

Once added in layout.tsx file the VWO SmartCode doesn't need to be added in _app.tsx. So this part can be safely skipped.

This demo public repo can be referred for an example integration: https://github.com/Ragnarrlothbrok/tailnext-Test/blob/main/app/layout.tsx

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nidhi Tyagi