• Website Plugin / Stats Tool
SQUARESPACE Instructions

Step 1

Open the Code Injection panel.

Step 2

Add this script into the appropriate Code Injection fields for the header

								
	<script src="https://letzchat.pro/firestoreconfig/plugin/letzchat.js"></script>
																																

Step 3

After adding your code, click Save.

Test Translations

To test the translation on the page into a specific language, you can use the following code in the browser console:

	
    lzSwitchLanguage('fr');
			

Exclude Elements

If there are elements on your website that you do not want to be translated, such as certain text or code snippets, you can use the data-notranslate attribute. This attribute can be added to any HTML element to prevent it from being translated by the LetzChat Website Plugin. Here's how to use it:

																		
	<p data-notranslate><Your non-translatable content here.</p>
										

Validate Installation

Run this function in the browser console to validate proper installation of the LetzChat Script.

Upon initial install it will return 'stats'. This verifies installation. Once translations are enabled, it will return 'active'.

	
lzPlanStatus