changeΒΆ

When a user fills out a form, we are often interested in what the user filled in.

We can track this change with the following code:

harvest.trackEvent({
    "event":"change",
    "data": {
        "email": "test@test.nl"
    }
});

The code above is triggered after someone changed the email input.

hashedEmail

In Harvest Console we have built in functionality to generate as hashedEmail for e-mail. This way you can use the hashed version in tooling instead of the plain text variant.

With the Javascript API you will have to detect the changes yourself. It is also possible to use our data attributes. In this case you will need the data-track-change attribute.