Step 1. Log in to your OSI account and click set up the software.

Step 2: Click on Set Up Software 

Step 2. Under Set up Software, proceed with step 1 to complete the integration.

Step 3. Select  Square code and copy the code.

Step 4. Log in to your Square up an account and click settings. Under settings, select tracking tools

Step 5. Scroll down and look for Custom Tracking - Receipt Page, and click edit

You can Paste the code from your admin account and also you can update the variables.