Skip to main content

Grow not being detected

Comments

4 comments

  • Official comment
    Ben Rodriguez
    • 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
  • Ben Rodriguez
    • 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

Please sign in to leave a comment.