
Octavius Rocks
v3.9.3Octavius.rocks · 2015年4月30日 上架
Works with octavius analytics service Octavius Version: 5.6.4
- 正在使用
- 10+
- 评分
- 暂无
- 累计下载
- 4,830
- 最近更新
- 2023年4月27日
The octavius service is made for live tracking and analysing how well your teasers and links are klicked. It’s optimized to work with our Grid plugin.
Documentation
To get your octavius attributes you can use this two options:
do_action( ‘render_octavius_teaser_attributes’, ‘VIEWMODE’ );
apply_filters( ‘get_octavius_teaser_attributes’, ‘VIEWMODE’ );
This will get the pagetype, content_id and content_type will be generated automatically. If you like, you can overwrite the viewmode.
With this options, you can use the attributes more flexible and set the values on your own. Please pass an array with one or more of the following properties:
viewmode, content_type, pagetype, content_id, region
add_action( ‘render_octavius_attributes’, array( ‘region’ => ‘head’, … ) );
add_filter( ‘get_octavius_attributes’, array( ‘region’ => ‘head’, … ) );