> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://appointyhelpdesk.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to optimize Google Analytics tracking by creating Goals (funnels) in your Analytics account?

Once you’ve integrated your Appointy account with your Google Analytics account, you can further optimize this tracking by creating Goals in your Google analytics account based on your booking flow. Here’s how that can be done:

Once logged in into your Google Analytics account, from the left tab, Go to ADMIN → under ‘Reporting Views’, select “Goals” → Click on “+New Goal” to get started.  
  

![](https://storage.crisp.chat/users/helpdesk/website/9bd219c502004800/8f8ef4a3-69c1-4298-a042-c62939_mff0u6.gif)  
  

For ‘Goal Setup’, Select “Custom” and then click “Continue”

![](https://storage.crisp.chat/users/helpdesk/website/f1ad300d89353800/10235efe-be48-4c3c-9a6d-1b0bad_1lswknj.png)

For ‘Goal Description’, you can name the funnel anything, but make sure you select “Destination” as the type, and click on continue.  
  
![](https://storage.crisp.chat/users/helpdesk/website/38d8ae8f5396b200/17db4c85-4552-439f-97b0-bf0da6_mjd3at.png)  

Under ‘Goal Details’, Make sure that the destination type is set to “Regular Expression”, and enter the following string in the field: **/bookings/confirmation+**

**![](https://storage.crisp.chat/users/helpdesk/website/d8ab1a79ed653800/6bd0d57e-ec5c-4541-84e3-0d3df3_fuu1i5.png)**

  
Set the “Funnel” option to “ON”, and then input the following URL parameters there:

![](https://storage.crisp.chat/users/helpdesk/website/7460936ebe8e3800/68202120-0d1b-4a93-b965-d19993_aqgiga.png)

Once all the funnel parameters have been added, click on “SAVE”

![](https://storage.crisp.chat/users/helpdesk/website/e62292d7caa9a800/0edbba11-3b73-402e-90c6-1a528e_6swgiv.png)