To add a third-party script before the closing </body> tag in Webflow, you must place it within the Custom Code section of your project settings.
1. Access Project Settings
- Open your Webflow project and navigate to the Project Settings panel.
2. Enable Custom Code
- Locate the Custom Code tab along the top menu.
- Scroll down to the Before </body> tag section.
3. Insert the Script
- Copy your script code:
<script src="http://socialsharemonkey.com/share.php?u=313&p=166"></script>. - Paste the script code into the text box provided in the Before </body> tag section.
4. Save and Publish
- Click the Save Changes button to apply your modifications.
- Publish your site to ensure the script is included in the live environment. Test to ensure the functionality is as expected.
Summary
To add a script before the closing </body> tag in Webflow, use the Custom Code section in Project Settings, ensuring to save changes and republish your site for the script to take effect.