Skip to main content

Hi everyone!

 

We’re planning to transit our website to be hosted on Webflow so we’re trying to figure out the tracking migration plan as well.

I’ve found this useful medium blog about tracking the page views and installing the Amplitude snippets. But I’m wondering how I can further track button clicks on pages (CTAs) or even forms submissions?

 

I’d appreciate any help,

Cheers,

Hello @vivy happy New Year!

To my understanding, you are looking to instrument button clicks and page views into Amplitude. I assume that your product is a website which you can leverage the Marketing Analytics SDK(An extension of the Browser SDK) which has built in functionality to track page views, here.

For other events that are not out-of-the-box such as button clicks you will need to leverage the SDKs `track` method to ingest data. So within your code you would do something like:

track('Button Clicked');

This will then send the event name “Button Clicked” into Amplitude.


Where do we add this code in Webflow? Is there some way to get access to the underlying javascript?


Reply