Hi! We are loading <Intercom> on our website in We...
# support
s
Hi! We are loading Intercom on our website in Web Device mode - but we are wanting to exclude Intercom from loading on certain pages to eliminate unwanted load on the web server. Would you have any ideas on how to accomplish URL-based exclusions for destinations using RudderStack?
h
In cloud mode a transformation - you could ask Rudder to get you on the device mode transformations beta - you could exclude events that way
s
@hundreds-lifeguard-65770 how would a transformation be able to control whether or not RudderStack loads the Intercom js on a particular page?
h
why does intercom being loaded on the client cause your web server issues btw?
I thought you meant events being sent - you cant control loading of the lib - youll have to load it yourself for that
s
Makes sense, thanks
No issue per se since everything is async - just cruft, like the unused stuff sitting in your garage that makes finding the actual problem a little slower sometimes.
h
if its already loaded once it will be cached by the users browser anyway
s
Intercom attempts to open a websocket connection which transfers data continuously
h
ah ok, yeah load it yourself - rudder doesnt give you much in device mode really