tahsin
1
Hi,
I am trying to integrate this pop up on scroll trigger, which is working fine on my non hubspot site
But in hubspot when i tried to integrate it the script just wont run.
I set up everything the same almost but somethign in hubspot is not allowing me to run this script.
I wanted to post this in the hubspot developer forum but it seems its more for the hubspot api. Or if anyoen can advise here will be great thanks!
Robert
2
Hi @tahsin,
One thing that I noticed and might solve you the problem streight away, as mmenu.js uses jQuery, add the jQuery library before the mmenu script.
Hope that will solve it, if not let me know and I will dig in a bit more.
tahsin
3
hi @Robert
Thanks for looking into it and I removed that menu code and just added library code on top now but unfortunately it still is not appearing in hubspot.
Thanks
stefen
4
I suggest removing your jQuery in the footer because HubSpot includes it in the head already. This could be causing the issue.
tahsin
5
many thanks @stefen! I added the scripts on top as well below the hubspot default jquery and now its working fine!
cheers