In this article
Examples of custom properties that can be collected with your pageview event
Create your pageview event schema to finalise your Permutive tag
During implementation and Kick-Off meetings, your Customer Success Manager will ask you to specify a pageview event schema so our engineers can finalise your Permutive tag.
Below are some example schemas to aid you in the production of your own.
Collecting:
- Day of the week the pageview was performed
- Various article properties
- Review rating present on the page
{
context: {
day_of_week: dayOfWeek,
},
content: {
type: CONTENT_TYPE_AS_STRING,
article: {
title: ARTICLE_TITLE_AS_STRING,
section: ARTICLE_SECTION_AS_STRING,
subsection: ARTICLE_SUBSECTION_AS_STRING,
topics: ARTICLE_TOPICS_AS_ARRAY_OF_STRINGS,
channel: ARTICLE_CHANNEL_AS_STRING,
authors: ARTICLE_AUTHORS_AS_ARRAY_OF_STRINGS,
content_type: CONTENT_TYPE_AS_STRING,
description: ARTICLE_DESCRIPTION_AS_STRING
},
review: {
rating: RATING_AS_INTEGER_BETWEEN_0_AND_5
}
}
}
Collecting:
- Various article properties
{
article: {
id: ARTICLE_ID_AS_STRING,
title: ARTICLE_TITLE_AS_STRING,
description: ARTICLE_DESCRIPTION_AS_STRING,
category: ARTICLE_CATEGORIES_AS_LIST_OF_STRINGS,
subcategory: ARTICLE_SUBCATEGORIES_AS_LIST_OF_STRING,
channel: ARTICLE_CHANNEL_AS_STRING,
genres: ARTICLE_GENRES_AS_LIST_OF_STRINGS,
tags: ARTICLE_TAGS_AS_LIST_OF_STRINGS
}
}
}
Collecting:
- Publisher information
- Various article properties
- Review rating
- Product information (useful for review pages)
{
publisher: {
type: PUBLISHER_TYPE_AS_STRING,
name: PUBLISHER_NAME_AS_STRING
},
content: {
headline: HEADLINE_AS_STRING,
description: DESCRIPTION_AS_STRING,
type: CONTENT_TYPE_AS_STRING,
article: {
type: ARTICLE_TYPE_AS_STRING,
category: CATEGORY_AS_STRING,
authors: AUTHORS_AS_ARRAY_OF_STRINGS
},
review: {
rating: RATING_AS_FLOAT_BETWEEN_0_AND_1
},
product: {
make: PRODUCT_MAKE_AS_STRING,
name: PRODUCT_NAME_AS_STRING,
type: PRODUCT_TYPE_AS_STRING,
price: PRODUCT_PRICE_AS_INTEGER_IN_PENNIES,
}
}
Each tag will be related to the page on your site. To begin, we suggest inspecting the HTML to get an idea of the content you can scrape off the page.
Permutive automatically collects some standard events, these docs explain what events are already collected and this doc details the properties collected for each standard event and what information they collect.
If you have any questions, please contact customer support by emailing support@permutive.com or chat to the Customer Operations Team via the LiveChat icon in the bottom right corner of your screen.
Comments
0 comments
Article is closed for comments.