Adding a date stamp + other value to a text or string field

Ele_de_Vere
Level 2

Adding a date stamp + other value to a text or string field

Hi Marketo community,

 

I would like to start adding some simple custom data tracking relating to interest/ intent someone has shown in a product, based on their interaction with a different activity (eg: Requests a product demo)

I believe the best way to achieve this is using values which populate automatically into a string or text custom field, using data value triggers in the Marketo campaign itself.

However, I would also like to add in a date stamp next to this value too, so I am able to track what month/year the action took place.

 

For example:

 

  • John requests a demo on product X in March.
    • After this demo request triggers, the Custom Field, let's call it "Interest" for the sake of this example, populates as follows:
      • If "interest" is empty, update John's interest field to 'Product X March 2019' or can be 'Product X 03.19', or similar. 

Is there a way to achieve both items of information pulling through to the field? 

Many thanks 

1 REPLY 1
SanfordWhiteman
Level 10 - Community Moderator

Re: Adding a date stamp + other value to a text or string field

The problem with your concept: there's no token for month and year only.

The system token {{system.date}} includes the day.

So, while it's simple to populate a string field with static text + a token (or multiple tokens), you don't have such a token. You'll need to use a webhook to populate the field (and you don't need to pass the {{system.date}} in the webhook payload unless you really want to use the Marketo time instead of the back end's clock).