To capture if a visitor is from a Google Adwords click, you can use tracking parameters that are added to the destination URL of your ad. These parameters are automatically added by Google Adwords when you create a new ad, and they help you track the performance of your ad campaigns.
The tracking parameter that you can use to capture if a visitor is from a Google Adwords click is called "gclid". This parameter is added to the destination URL of your ad and contains a unique identifier for each click that comes from your ad.
To capture the "gclid" parameter, you can use a web analytics tool like Google Analytics. In Google Analytics, you can set up a conversion tracking goal that captures the "gclid" parameter when a visitor completes a desired action on your website, such as filling out a form or making a purchase. You can then view the performance of your ad campaigns in Google Analytics and see which ads are driving the most conversions.
To set up conversion tracking in Google Analytics, follow these steps: