https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
e

elegant-king-24193

10/24/2023, 2:02 PM
Hey everybody. I have a question regarding using Growthbook in a single page application. I have two different providers for Growthbook in my application. One for server side and one for client side. The server side always fires a tracking callback when I visit a page that has an experiment running on it. But the client side one only fires the tracking callback when I reload on the page with an experiment running on it. If I navigate to the page from another page then the tracking callback doesn't fire. I'm wondering why this is. I see in the documentation about setting the URL when I navigate to a new page, and I have tried doing this but it doesn't work. Can anybody explain what is going on here?
b

billions-xylophone-11752

10/24/2023, 2:24 PM
Hey Christian - Which SPA framework are you using?
e

elegant-king-24193

10/25/2023, 7:11 AM
I'm using React/NextJs
c

colossal-beard-78764

10/30/2023, 1:01 AM
I have the same issure using vue2.0 ,tracking callback only fires after reloading the page, how to fix?
2 Views