Skip to main content

how to exclude the grow script in SG optimizer

Completed

Comments

6 comments

  • Official comment
    Support
    • Journey Support Team

    Hi Markos Koemtzopoulos ! I would give data-grow-initializer a try first - this article should help. Disabling the Combine Javascript setting in the plugin would also do the trick without having to exclude any scripts manually. 

    I'll also leave this thread open for the community in case others have successfully excluded the script with this method in the past. 

    Thanks!

  • Markos Koemtzopoulos

    I have found that the problem is that the plugin js is not properly enqueued. I have found out how to enqueue it but I am not sure of the path. Could you confirm that the path to the .js file is /plugins/grow-for-wp/assets/dist/admin.1.5.0.js

    0
  • Support
    • Journey Support Team

    Hi Markos Koemtzopoulos ! Yes, that looks like the correct path.

    0
  • Markos Koemtzopoulos

    Are you sure because nothing happens when I exclude that. Js from siteground combining it. Could It be the case that the grow js is being created by a php file like how the journey js is generated? 

    0
  • Markos Koemtzopoulos

    I have enqueued and excluded /plugins/grow-for-wp/assets/dist/admin.1.5.0.js from being combined. When I visit my profile I see this message "Grow is currently active on your site!". But when I click “Check grow connectivity” it says “There is a problem with your connectivity.”. However if I refresh the page it says ""Grow is currently active on your site!" again. Which message should I trust? 


     

    0
  • Support
    • Journey Support Team

    Markos Koemtzopoulos If you're intermittently getting the error, then that would mean there are still intermittent issues with the dashboard connecting. Disabling the Combine JS setting might be the best option in this case, unless someone in the community managed to find a way to exclude Grow successfully and can share the steps they took. This is only an issue with this specific plugin, since other optimization plugins list all assets or allow you to exclude a key word like “grow”, which would likely mean it's not possible to exclude many third party codes.

    0

Journey is Self Supported

Our support staff is monitoring this forum everyday for bugs related to ad delivery, the display and functionality of the Journey dashboard, and any bugs related to the onboarding process. We are typically unable to assist with non-bug related issues like RPM performance expectations, issues setting up the ads.txt file, and questions already answered by our existing help docs. Read here for a more detailed breakdown of how Journey is self-supported and our recommendations for how to find answers to common issues.

Please sign in to leave a comment.

Powered by Zendesk