Webflow sync, pageviews & more.
NEW
Answers

How can I track the number of people who click the "Book A Free Consultation" button on my Webflow site and are redirected to a separate website for scheduling appointments?

To track the number of people who click the "Book A Free Consultation" button on your Webflow site and are redirected to a separate website for scheduling appointments, you can utilize Google Analytics or any other analytics platform of your choice. Here's a step-by-step guide to set it up:

1. Sign up for a Google Analytics account if you haven't already and create a new property for your Webflow site.

2. Once you have your tracking ID, go to your Webflow Designer and access the Project Settings. Under the Integrations tab, paste the tracking ID in the Google Analytics field and save the changes.

3. Next, identify the "Book A Free Consultation" button on your Webflow site. You can use Webflow's built-in Interactions or custom code if needed. For this example, let's assume the button has an ID attribute of "consultation-button".

4. In your Webflow Designer, go to the page where the button is located. Add a custom attribute to the button element by selecting it and going to the Settings panel on the right. In the Attributes section, create a new attribute named "onclick" and set its value to the following code:

```javascript
ga('send', 'event', 'Button', 'Click', 'Book Consultation');
```

Make sure to replace `'Button', 'Click', 'Book Consultation'` with relevant labels that describe the event.

5. Publish your Webflow site.

Now, whenever a user clicks the "Book A Free Consultation" button, it will trigger a Google Analytics event. You can view these events in your Google Analytics dashboard by navigating to Behavior -> Events -> Top Events. Look for the event category, action, and label you specified in the code.

To track the users who are redirected to the separate website for scheduling appointments, you can set up cross-domain tracking in Google Analytics. This allows you to track users as they navigate between different domains. Follow these steps:

1. Make sure both your Webflow site and the separate scheduling website have the same Google Analytics tracking code implemented.

2. In your Google Analytics account, navigate to the Admin tab and select the property corresponding to your Webflow site.

3. Under the Property column, click on the "Tracking Info" dropdown and select "Referral Exclusion List".

4. Click on the "+ ADD REFERRAL EXCLUSION" button.

5. Enter the domain of the separate scheduling website (e.g., scheduler.com) and click "Create".

This will ensure that visits to the separate scheduling website won't be counted as new sessions when a user is redirected from your Webflow site. Instead, the tracking will continue seamlessly, allowing you to gather data across both domains.

By combining the event tracking on your Webflow site and cross-domain tracking, you'll be able to track the number of people who click the "Book A Free Consultation" button and successfully land on the separate website for scheduling appointments.

Rate this answer

Other Webflow Questions