Anele0610 Posted May 17, 2021 Posted May 17, 2021 Site URL: https://fairwaystoleadership.squarespace.com/ Hello, I have a client who is looking to inject a custom responsive widget to a landing page. There is an installation document provided by the widget creator, however I can't seem to get it to work. There is a javascript and html parts. Quoting the document: Include the following tag within the body of the html: <script id="d2s_app_js" type="text/javascript" src="https://www.dev.golfstixvalueguide.info/tradewidget/app.js"></script> HTML TagThe following tag should be added within the <body> tag wherever you want the trade application to appear.<d2s-app-root siteid="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx" env="dev" flavor="GSV"></d2s-app-root> The siteid parameter needs to include the GUID given to you by your 2nd Swing onboarding team. The ID includes letters, numbers, and dashes.This tag can be placed anywhere in the body of the HTML, ideally where it can be the full width of the view. Content can live above and below it, if desired. The widget is responsive and will adjust depending on screen size. I have the siteID, I'd like to keep this confidential, if possible. Page where i need the widget: https://fairwaystoleadership.squarespace.com/club-donation-drive But I can't seem to get this to work. I've tried all the different combinations, but nothing seems to work. I don't know if I'm supposed to use the advanced setting custom code injection, or a code block, but both didn't seem to work for me. Currently, I tried putting the .dev js in there and the page doesn't even load anymore and I can't delete it. Can this be undone, please?? Thanks a lot for your speedy help! Anele
tuanphan Posted May 18, 2021 Posted May 18, 2021 Where did you insert the code in Squarespace? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Anele0610 Posted May 18, 2021 Author Posted May 18, 2021 @tuanphan I inserted the js script now with the code box..
tuanphan Posted May 18, 2021 Posted May 18, 2021 13 hours ago, Anele0610 said: @tuanphan I inserted the js script now with the code box.. Which page did you add? I don't see on homepage Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Anele0610 Posted May 20, 2021 Author Posted May 20, 2021 @tuanphan The page is not active yet, since it's not working 😉 you can find it here: https://fairwaystoleadership.squarespace.com/club-donation-drive
Anele0610 Posted May 23, 2021 Author Posted May 23, 2021 @tuanphan Hey! Do you maybe have a solution for me about this? The landing page is just crashing, and I can't event access it via backend... 😞
Recommended Posts
Archived
This topic is now archived and is closed to further replies.