# GA Event Tracking Code for a General Event

You can create events around any type of link. If there is an event that you didn't see listed above (such as an account login), you can create that event here. Just fill out the form below and add the event tracking script to your link where indicated. Use the form to build GA Event tracking code for a general event, then add the code to the link to track the event.

## Event Tracking Code Builder for a General Event

- **General Category**
- **General Action**
- **General Label**
- **General Value**
- **Non-Interaction (Optional)**  
  Default: Count event as a user interaction  
  True: Make event a non-interaction  
  (Select “true” if you want to consider it a bounce when a visitor views one page, submits a contact form and leaves without viewing any other pages.)

Place the following code within the code of your link:

It should look something like this for your link:

### Optional Goal Setup

After you add the event tracking code to your site, you may want to setup a goal in Google Analytics that's related to the event. Follow these instructions to setup the goal.

1. Login to Google Analytics and click on **Admin** in the main navigation.
2. Select the _Account_ and _Property_ where you want to create the goal. Under the _View_ list, click on **Goals**
3. Click on the **New Goal** button, click on the **Custom** radio button and then click on the **Next step** button.
4. Name the goal and select the **Event** radio button.
5. Populate all of the relevant goal details (in bold):  
   - Category | that matches |  
   - Action | that matches |  
   - Label | that matches |  
   - Value | that matches |  
6. Click the **Create Goal** button. You're done!
