How to Create a Cookied OAuth Link

Follow these simple steps to start tracking now

  1. Square will provide the base link with the tracking parameters. Example: https://squareup.com/t/cmtp_performance/pr_developers/d_partnerships/p_{{InsertbusinessName}}/c_general/o_none/u_oauth/?route=
  2. Develop your application to generate OAuth link with correct parameters (state parameter needs to be dynamically generated for each authorization).
  3. Combine the Square base link (Step 1) with the OAuth link (Step 2). The OAuth link should be added at the very end of the Square URL after the route=
  4. Once Steps 1 - 3 are completed, you will have your final cookied OAuth link
  5. Use the cookied OAuth link for the 'Connect Now' button for Square