Skip to main content

Next.JS - Grow not being detected

Comments

4 comments

  • Official comment
    Support
    • Grow Support Team

    Hey Francesco,

    When I look at your site, I don't see Grow's scripts as they're intended to be installed. I see references to “grow-script.js” but not the actual Grow scripts provided by Grow Publisher Portal.

    This likely means your installation is non-standard and cannot successfully add Grow to your site. We'd recommend adding Grow's scripts as provided directly in your <head></head> tags and not running them through any third-party script injectors or similar.

    We aren't able to more thoroughly troubleshoot individual installations. Your tech help or host may be of assistance!

  • Francesco

    What do you mean as “non-standard”? 

    I am using NextJS and you can’t put scripts in the <head> tag as far as I’m aware.

    Perhaps you have any resources or someone from your dev team that could help out with this issue?


    Thanks a lot!!

    0
  • Support
    • Grow Support Team

    Standard Grow script installation methods add Grow's scripts to the <head> tag section. Non-standard implementations will add it elsewhere.

    NextJS does not seem to be compatible with Grow at this time. We are unaware of any publisher successfuly installing Grow on a NextJS site and, because of the way NextJS injects scripts, it does not allow Grow to load properly and function as intended.

    0
  • Francesco

    Hey there Ben,

    I was finally able to figure out how to properly integrate Grow with NextJS. 

    I wrote a quick guide that if you want you can point people who had the same issues as me to!

    Thanks again,
    Francesco

    0

Is your question about Journey by Mediavine?

Journey Support is exclusively available in the Journey Community.


Any questions pertaining to Journey by Mediavine applications, onboarding, payments, ad performance, and troubleshooting should be made there. Journey Support is not available in the Grow Community. Requests made in the Grow Community pertaining to Journey will not receive a response.

Please sign in to leave a comment.