Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Countervelden zijn profielvelden die werken als tellers.

Teller

De teller start op nul en iedere keer dat het veld wordt doorgestuurd in een event, wordt de betreffende waarde in het veld opgeteld bij de som. Bij het aanmaken van een teller kun je de decay aangeven:

...

De decay is een waarde die automatisch wordt afgetrokken van de som binnen de ingestelde tijdsintervalCounter fields are profile fields that act as counters.

Counter

The counter starts at zero and each time the field is passed in an event, the corresponding value in the field is added to the sum. When creating a counter, you can specify the decay:

...

The decay is a value that is automatically subtracted from the sum within the set time interval.

Stel je wilt bijhouden hoe geïnteresseerd profielen zijn in producten voor mannen, dit kun je als volgt doen:

Maak een counterveld veld genaamd custom_man met een decay van
Expand
titleVoorbeeld counterveld
Example counter field

Suppose you want to keep track of how interested profiles are in products for men, you can do this as follows:

  • Create a counter field called custom_man with a decay of 1 per 1 days

  • Stuur in events het veld In events, pass the custom_man doorfield, zoalssuch as:

  • Stel ik Suppose I trigger een a ViewContent, AddToCart en Purchase van mannenproducten, levert dit het volgende opand Purchase of men's products, this produces the following:

    • start counter = 0

    • ViewContent met with custom_man +1 = 1

    • AddToCart met with custom_man +5 = 6

    • Purchase met with custom_man +20 = 26

  • Op dag 0 heeft de counter dus een waarde van 26, vervolgens wordt de decay toegepast:

    dag

    So on day 0 the counter has a value of 26, then the decay is applied:

    • day 1 = 26 - 1 = 25

    • dag day 2 = 25 - 1 = 24 etc.