Meta Replacement Codes

Groundhogg can store additional information associated with contacts as metadata. To display metadata you can use replacement codes, for example: {profile_picture} or {note}

You can find the shorthand code for custom meta that you saved by viewing it in the contact record under the " More" tab .

Some specific meta codes

Name Code Description
Agreed To Terms {terms_agreement_date} Date when Contact agreed to Terms & Conditions
Data Processing Consent {gdpr_consent_date} Date when Contact agreed to Data Processing Consent
Marketing Consent {marketing_consent_date} Date when Contact agreed to Marketing consent


To retrieve data from the Contacts that haven't been assigned a replacement code, follow these steps:

  1. Identify the data you want to retrieve. For example, if you need the Date Created information, take note of it.
  2. Use the replacement code{date_created} to fetch the Date Created data from the Contacts. Insert this replacement code into your desired location.
  3. If you prefer a well-formatted result, you can utilize the following format: {date.F jS, Y|date_created}. This format will display the Date Created in the form "Month day, Year." For additional examples of {date. visit: Replacement code: {date}

By following these instructions, you'll be able to effectively retrieve and display the data you need from the Contacts, even if it doesn't have a predefined replacement code.

*The replacement codes for custom fields output the formatted content, in this case of a large number it would appear with commas or periods in accordance with the locale of the site.

If you don't want formatting, use the meta replacement code {meta.internal_name_of_your_field}
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us