This documentation provides guidance on how to use different import types for integrating data into your application. It covers four primary import types:
Each import type allows you to incorporate specific data fields and structures that are crucial for your application's functionality.
You can include any custom field ID from the pushed fields menu in the pages tab in place of {custom field id}
.
<div tg-import-type="user">
<div tg-attribute="id"></div>
<div tg-attribute="display_name"></div>
<div tg-attribute="photos_1"></div>
<div tg-attribute="photos_2"></div>
<div tg-attribute="photos_3"></div>
<div tg-attribute="photos_4"></div>
<div tg-attribute="photos_5"></div>
<div tg-attribute="photos_6"></div>
<div tg-attribute="photos_7"></div>
<div tg-attribute="photos_8"></div>
<div tg-attribute="photos_9"></div>
<div tg-attribute="photos_10"></div>
<div tg-attribute="city"></div>
<div tg-attribute="state"></div>
<div tg-attribute="review_count"></div>
<div tg-attribute="{custom field id}"></div>
</div>
You can include any custom field ID from the pushed fields menu in the pages tab in place of {custom field id}
.
<div tg-import-type="listing">
<div tg-attribute="id"></div>
<div tg-attribute="title"></div>
<div tg-attribute="photos_1"></div>
<div tg-attribute="photos_2"></div>
<div tg-attribute="photos_3"></div>
<div tg-attribute="photos_4"></div>
<div tg-attribute="photos_5"></div>
<div tg-attribute="photos_6"></div>
<div tg-attribute="user_id"></div>
<div tg-attribute="{custom field id}"></div>
</div>
Note: Reviews must be nested within a user import type.
<div tg-import-type="review">
<div tg-review-value="id"></div>
<div tg-review-value="label"></div>
<div tg-review-value="rating"></div>
<div tg-review-value="date"></div>
<div tg-review-value="content"></div>
</div>
You can include any custom field ID from the pushed fields menu in the pages tab in place of {custom field id}
. For structures, you must use the non-friendly ID, that is, the URL from your browser when you're editing the page.
Note: TG Structure import types must be nested within a user or listing import type.
<div tg-import-type="{structure_id}">
<div tg-structure-value="{field_id}"></div>
</div>