Adding a Button Click Conversion to Webflow for Google Analytics

Hi there, I integrated Google Analytics/Ads with my website already, but so far Google Analytics is just tracking my Google Ad clicks/overall site visits. I want to specifically track how many people, not only visit my site, but click the “Book A Free Consultation” button on my homepage or anywhere on my site. This button links them to a separate website, my client portal, where they can schedule an appointment. Because of its different domain name, I think custom code or some sort of tag is required to create a button conversion, but I can’t figure out what or how to add it. Any help is appreciated!


Here is my site Read-Only: Webflow - Therapywmary

Here is my published site: https://therapywmary.webflow.io/

Use Google Tag Manager. It allows you to define specific interaction events, like clicks and scrolls, that can be fed to analytics as conversions. Note there’s a bit of a learning curve in understanding the GTM tracking model, and how to connect everything, but it’s incredibly powerful and well worth the time investment to understand its capabilities.

You should add conversion under client portal or to redirect from client portal back to webflow and count “thank-you-from-portal” view page as conversion. Other options are more complex (cross domain measurements are very tricky).

**google ads save limit time cockie on your landing page. So even if the user start at site A (ad landing page) go to B (portal) & return to A - it’s count as +1.

@Siton_Systems Unfortunately, I don’t think I have access to the client portal’s code to make it return to my website after confirming a booked appointment. It’s an EHR I don’t control and didn’t build, so I’m unsure what to do about that. Are there alternatives?

Thank you @memetican. I found this Set up your Google tag - Tag Manager Help , but I still don’t know how/where to embed the tag on webflow. I would have to do it manually, so do you know where the tag should be placed?

Hi Mary, you want in in your <head> Custom Code site-wide.

  • Go to Site Settings
  • Click the Custom Code tab
  • Paste it into the Head Code section

It will look something like this;

So no way. You can’t track event of another site (it’s make sense) without tracking code.

She doesn’t need to Ezra, she’s just tracking the click of the button on her own site. Those are her conversions.

But, @Mary_Donaldson , it is worth checking what support your booking has for Google Tag Manager. Most systems I integrate for clients allow you to add your GTM or Analytics code in, and get conversions from their system. The advantage is, it measures actual completed bookings, rather than just button clicks.

I prefer to track in both places when I can, because it lets me measure improvements to the checkout process.

She said she wants also to track the form submit. If not. You right by gtm it’s very easy to set events.

Maybe. It would be ideal to have both. This is the part I was reading-

The thing I like most about the GTM + GA approach is that it’s now very easy to detect conversion events like button clicks, without doing weird landing-page-redirect tricks. Google did that very well.

I’m hopeful though that the booking system Mary is using also supports GTM or at least GA, so that there can be some good measurement of button-clicks v. finished-bookings.

Hi @Mary_Donaldson - agree with the others here; GTM is the way to go. If you still need help I’m happy to jump on a Zoom. I have done a lot of GTM work specifically with the new Google Analytics, GA4, in the last few months. If you don’t have GA4 setup yet, I recommend it!

Configuring Webflow Settings
Step 1: Go to your Webflow Dashboard > Click on More Options “…” on your desired project > Click Settings
Step 2: Click on the Integrations tab. Under Google Analytics, make sure you have a Google Universal Analytics Tracking ID installed. Next, disable the Use global site tag toggle so it’s set to “NO.”
Step 3: Click Save Changes.

Step 4: Switch to the Custom Code tab. Under the Footer Code, paste the following code to configure the Custom attributes: https://Knifeplatoon.com