---
title: Accounts Controllers
slug: extensions/leULTGBSZ_ZLa2kXyzJj1
docTags: 
createdAt: 2025-12-14T14:23:41.918Z
---

# Accounts Controllers Integration

The Forter cartridge controllers allow the cartridge to track a variety of different customer events and actions leading up to the checkout event. In order to integrate the cartridge with Site Genesis based on contollers, the `pipelets/forter/ForterCallCustomerUpdate.js` has to be added to the following controllers:

1. **Account.js** ( in the `editForm()` function)
2. **Account.js** ( in the `registrationForm()` function):
3. **Address.js** (in the `list()` function):
4. **Login.js** (in the `handleLoginForm()` function):
5. **Login.js** (in the `Logout()` function):
6. **Paymentinstruments.js** (in the `list()` function):
7. **Wishlist.js** ( in the `add()` function):
8. **Wishlist.js** ( in the `wishListForm()` function):

## 1. Account.js (in the editForm() function):

```javascript
var argCustomerUpdate = {
EventType: require('int_forter/cartridge/scripts/lib/forter/ForterConfig.ds').ForterConfig.CUSTOMER_PROFILE_UPDATE};

var forterCall = require('int_forter/cartridge/scripts/pipelets/forter/ForterCustomerUpdate');
forterCall.execute(argCustomerUpdate);
```

![](https://api.archbee.com/api/optimize/dYhsqkppjaUNAqFmds_Ny-X0BYNQ0wO8yYPtuICq-oS-20250724-184328.png)

## 2. Account.js (in the registrationForm() function):

```javascript
var argCustomerUpdate = {
EventType: require('int_forter/cartridge/scripts/lib/forter/ForterConfig.ds').ForterConfig.CUSTOMER_CREATE};

var forterCall = require('int_forter/cartridge/scripts/pipelets/forter/ForterCustomerUpdate');
forterCall.execute(argCustomerUpdate);
```

![](https://api.archbee.com/api/optimize/dYhsqkppjaUNAqFmds_Ny-lsCiNEy7lglCS-Ynjt_ym-20250724-184328.png)

## 3. Address.js (in the list() function):

```javascript
var argCustomerUpdate = {
EventType: require('int_forter/cartridge/scripts/lib/forter/ForterConfig.ds').ForterConfig.CUSTOMER_ADDRESS_UPDATE};
var forterCall = require('int_forter/cartridge/scripts/pipelets/forter/ForterCustomerUpdate');
forterCall.execute(argCustomerUpdate);
```

![](https://api.archbee.com/api/optimize/dYhsqkppjaUNAqFmds_Ny-qaXp_R03JM2Bj6E7HJjVL-20250724-184328.png)

## 4. Login.js (in the handleLoginForm() function):

```javascript
var argCustomerUpdate = {
EventType: require('int_forter/cartridge/scripts/lib/forter/ForterConfig.ds').ForterConfig.CUSTOMER_LOGIN;
var forterCall = require('int_forter/cartridge/scripts/pipelets/forter/ForterCustomerUpdate');
forterCall.execute(argCustomerUpdate);
```

![](https://api.archbee.com/api/optimize/dYhsqkppjaUNAqFmds_Ny-_OEmJpfq7GVgxMJMuS_xo-20250724-184328.png)

## 5. Login.js (in the Logout() function):

```javascript
var argCustomerUpdate = {
EventType: require('int_forter/cartridge/scripts/lib/forter/ForterConfig.ds').ForterConfig.CUSTOMER_LOGOUT;
var forterCall = require('int_forter/cartridge/scripts/pipelets/forter/ForterCustomerUpdate');
forterCall.execute(argCustomerUpdate);
```

![](https://api.archbee.com/api/optimize/dYhsqkppjaUNAqFmds_Ny-1r9O3pMringT7AjlzeB8e-20250724-184328.png)

## 6. Paymentinstruments.js (in the list() function):

```javascript
var argCustomerUpdate = {
EventType: require('int_forter/cartridge/scripts/lib/forter/ForterConfig.ds').ForterConfig.CUSTOMER_PAYMENT_UPDATE;
var forterCall = require('int_forter/cartridge/scripts/pipelets/forter/ForterCustomerUpdate');
forterCall.execute(argCustomerUpdate);
```

![](https://api.archbee.com/api/optimize/dYhsqkppjaUNAqFmds_Ny-l1fQZZIpBFm9JDO8LPxyP-20250724-184329.png)

## 7. Wishlist.js ( in the add() function):

```javascript
var argCustomerUpdate = {
EventType: require('int_forter/cartridge/scripts/lib/forter/ForterConfig.ds').ForterConfig.CUSTOMER_PROFILE_UPDATE;
var forterCall = require('int_forter/cartridge/scripts/pipelets/forter/ForterCustomerUpdate');
forterCall.execute(argCustomerUpdate);
```

![](https://api.archbee.com/api/optimize/dYhsqkppjaUNAqFmds_Ny-G1OBDrgjycuXhmap3TOyS-20250724-184329.png)

## 8. Wishlist.js ( in the wishListForm() function):

```javascript
var argCustomerUpdate = {
EventType: require('int_forter/cartridge/scripts/lib/forter/ForterConfig.ds').ForterConfig.CUSTOMER_PROFILE_UPDATE;
var forterCall = require('int_forter/cartridge/scripts/pipelets/forter/ForterCustomerUpdate');
forterCall.execute(argCustomerUpdate);
```

![](https://api.archbee.com/api/optimize/dYhsqkppjaUNAqFmds_Ny-4xNX1IkE7FBYT2a-qVbsy-20250724-184329.png)
