Skip to main content

Hi
I want to implement AB testing on Next.js App(next 14). 

"@amplitude/experiment-js-client"

Most of my pages are renderd by SSR
wanted to know if it is something currently supported and if so do you have a link to repo implementing that? thanks

Hi Yahel,

Apology I am not really following what the issue is as of now.

Would you mind clearly providing


- your current setup/detail of implementation
- your expected behavior
- current behavior
- How did you verify the issue, and please share the URL/screenshot of the part.

As much detail would be appreciated to reduce back and forth!

Best,
Jake


P.S. Checkout upcoming events and user meetups on our events page.
Hi Yahel,

We do not provide call for all issues, but first if you could share the context/details and if I feel needed, we can proceed for the call!

Looking forward for your reponse.

Best,
Jake


P.S. Checkout upcoming events and user meetups on our events page.
Hi Yahel,

Would you mind also providing the log/console of the shared code when you tested?
Also in that console if you can detail out expected log but not seeing that would be helpful.

Best,
Jake


P.S. Checkout upcoming events and user meetups on our events page.
Hi Yahel,

For effective communication, along with a screenshot, your design explanation/expectation would be appreciated.

From what it seems from the screenshot what I can see is that


- console.log 2 is not returning appropriate value?
- Is this the client instance or the SSR server-side instance?
- Exactly in which order is SSR -> client render and which part of the code is being called at which part of the rendering?

and for the ssr component and client side which function in nextjs are you utilizing and how are you managing the API and crediential on client/server side?

Providing as much detail as possible about your context/expectation / current behavior will allow me to resolve this issue faster.

Best,
Jake


P.S. Checkout upcoming events and user meetups on our events page.