Dev Request: Dev Request - Blog Custom Dimensions

Status: In Dev Queue
Last updated: November 16, 2022 11:51 AM MST
Originally delivered at: November 16, 2022 5:00 PM MST

Instructions

Intro

To better track blog post performance and optimize the content on the site, PDQ should capture custom parameters with blog article views.

This tracking should be put in place for the blog posts on the following sites:

  • PDQ
  • SmartDeploy
  • SimpleMDM

Data Layer Event: Blog Data

Triggering Conditions

This event should trigger when a user views a blog post.

Event to Log

<script>
  window.dataLayer = window.dataLayer || [];
  window.dataLayer.push({
    'event': 'blog_data',
    'data': {}
  });
</script>

Description of Data Fields

Blog Data

Validation Schema does not have properties

JSON Validation Schema

For Super Techies:

The event payload, everything under the data property, will be validated against this schema. For more see JSONSchema standard.

{
  "blog_author": {
    "type": "string",
    "description": "author of the blog article"
  },
  "publish_date": {
    "type": "string",
    "description": "original publish date of the blog article"
  },
  "last_updated_date": {
    "type": "string",
    "description": "last updated date of the blog article"
  }
}