GA中的跟踪表达引擎博客文章和博客类别

时间:2019-01-14 16:43:50

标签: google-analytics

我们在表达式引擎中建立了一个博客,并添加了一段代码

<script type="application/ld+json">{"@context":"http://schema.org","@type":"NewsArticle","mainEntityOfPage":{"@type":"WebPage","@id":"https://digitalmarketinginstitute.com/blog/what-does-an-seo-manager-do"},"headline":"What Does an SEO Manager Do?","image":{"@type":"ImageObject","url":"https://dmi-uploads.imgix.net/general/SEO_Blog.jpg?fit=crop&fm=jpg&h=1200&ixlib=php-1.1.0&q=60&w=1600&s=2afb9350b0e80e782baa4c94d3c447bb","width":800,"height":600},"author":{"@type":"Person","name":"carla@digitalmarketinginstitute.com"},"datePublished":"2019-01-11T11:01:00+00:00","dateModified":"2019-01-11T15:35:49+00:00","publisher":{"@type":"Organization","name":"Digital Marketing Institute","logo":{"@type":"ImageObject","url":"https://assets.digitalmarketinginstitute.com/assets/images/design/logo_redesign.png","width":32,"height":32}},"description":"Digital marketing is a requirement of any business or organization that wants to get noticed by today’s consumer. It offers a world of possibilities when it comes to career choices spanning a wide variety of skill sets. One of the most sought-after skills in digital marketing is the SEO expert."}</script> <span

data-ga-news-category =“ {categories limit ='1'} {category_url_title}” style =“ display:none;”>

如何将其添加到Google Analytics(分析)中,因为它当前未显示在Google Analytics(分析)的事件区域中。

1 个答案:

答案 0 :(得分:0)

您可以使用Google Analytics(分析)Content Groupings来跟踪您的内容分类法。您很可能需要隐式修改跟踪代码,才能将这些数据传递给Google Analytics(分析)。在GTM中,您可以将“启用覆盖设置”功能与Google Analytics(分析)标记一起使用,以传递内容分组值。