Removing a script from a specific domain

  • 22 September 2019
  • 3 replies
  • 66 views

Badge +1

Hello,

I am having trouble finding a way to have script manager not feed a certain script to a page based off of the domain in script manager.

Is there any way to exempt certain scripts for certain pages?

Do I have to manually add remove by page? That will be a headache. We want to stop live chat from appearing on this one particular page, the live chat is on multiple pages for the domain but we do not want it on this one. Anybody know a good workaround?


3 replies

Userlevel 5

@JJJ there is already a setting in the Script Manager where you can select the domains you prefer.

“Script Usage” just select to edit the script in Script Manager and you should see your list of domains display.

Badge +1

Thanks Kyle, the issue is deeper though. Example.

www.scriptonthisdomain.com/page-a
we want the script running.

www.scriptonthisdomain.com/page-b
we do not want the script running.

Any way to adjust this at the page level outside of a full manual redo?

Userlevel 6
Badge +4

Hi @JJJ. You would need to move the script from the script manager to page level. Hope that helps.

Reply