什么是自定义维度?
使用自定义维度可以将任何自定义数据绑定到访客或行为(如页面、事件)上,然后可以看到对应的访问数、转化数、PV等报表。
自定义维度报告
自定义维度有两种应用范围,一个是访客,一个是行为。访客的自定义维度报告可以在访客菜单中查看,行为的自定义维度报告可以在行为菜单中查看。自定义维度报告包含标准的指标:独立访客、访问数、行为数、站内停留时间、跳出率等。应用范围不同,对应指标也稍有差异。
欢迎加入Matomo中文网官方QQ群255820112(点击滚动至本页末可扫描二维码),随时提问,有问必答。

自定义维度值也会展示在Visit Log小工具中:
- Visit Log左边的访问信息中包含访问相关的自定义维度。
- 鼠标放到每个PV或行为上时,将显示Page关联的自定义维度数据,显示方式为提示框。
- 自定义维度值也会展示在访客Profile上。
安装自定义维度
自定义维度插件可以在应用插件市场下载,免费的。安装请按以下步骤:
- 以超级用户登录
- 点击右上角的齿轮小图标进入管理页面
- 点击插件市场菜单
- 找到Custom Dimension插件
- 点击安装
- 安装后直接在页面上点击“Activate”,或者使用命令行方式./console plugin:activate CustomDimensions
创建自定义维度
在管理后台,点击左边菜单的“Custom Dimension”菜单即可看到自定义维度管理界面。不过你需要特定网站的写权限或者管理员权限。不同的网站或APP可以创建不同的自定义维度。

在创建自定义维度之前,你需要选择应用范围是Visit还是Action。
Visit作用域的自定义维度会随任何追踪请求发送到服务器,并存储到特定访客的特定访问中。如果在一次访问过程中,有不同的数值提交给Visit作用的特定自定义维度,那么最后一次的值会起作用。
Action作用域的自定义维度会随每次行为发送到服务器(PV、下载、事件等)典型的例子就是追踪PV、下载、事件的语言信息。
欢迎加入Matomo中文网官方QQ群255820112(点击滚动至本页末可扫描二维码),随时提问,有问必答。
追踪自定义维度
一般情况下,追踪任何自定义维度可以通过JS追踪器、PHP追踪器、HTTP追踪接口。如果想知道如何追踪自定义维度,最简单的方式就是进入自定义维度管理页面,然后点击编辑按钮,即可找到追踪的方法和指导。

管理自定义维度
到目前为止,你应该知道如何创建自定义维度、如何追踪维度数据、如何查看报表了。下面我们学习其他内容:
使用Extraction来设置自定义维度值
Extraction被定义为从页面网址、页面标题或网址参数中extract相关数据,而非手动在网站或APP中进行设置。
举个例子,有个自定义维度叫Language。Matomo可以自动从追踪请求上报的URL中抽提出语言编码,无需在网站或者APP中额外部署代码。
为了能够抽提出需要的数据,你需要定义正则表达式,同时此正则表达式必须含有带小括号的模式。比如网址page_en.html,正则表达式需要形如page_(.{2}).html,括号中匹配的内容会被赋值给自定义维度。
一个自定义维度可以关联多个抽提规则,第一个不匹配则会运行第二个。

禁用维度
维度一旦创建则无法删除,取而代之你可以将其禁用。一旦你禁用了某个维度,它所对应的报告菜单将不再出现,它对应的值不会再被追踪、对应的报表也不会再生成。一旦启用,则恢复如初,以前的老数据和报表还依然可用。
按照行为类型对自定义维度进行分段
默认情况下Action作用域的自定义维度会包含所有类型的行为,包括PV、event、内容追踪、下载等。如果你需要自定义维度只报告特定类型的行为的话,请使用Action Type进行数据限定。

数据限制
自定义维度有以下限制:
- 默认情况下只有5个Visit作用域的自定义维度和5个Action作用域的自定义维度。如果需要更多,则需要更改数据库
- 自定义维度数值最长不超过255个字符
- 了解更多关于Matomo数据限制 的内容
Thanks for sharing. I read many of your blog posts, cool, your blog is very good.
Your point of view caught my eye and was very interesting. Thanks. I have a question for you.
Your point of view caught my eye and was very interesting. Thanks. I have a question for you. https://accounts.binance.info/register?ref=P9L9FQKY
Your article helped me a lot, is there any more related content? Thanks! https://www.binance.info/sv/join?ref=PORL8W0Z
Your article helped me a lot, is there any more related content? Thanks!
swiss pharmacy finpecia: rxmedico online pharmacy – online pharmacy scams
publix pharmacy free lisinopril: Pharm Express 24 – online pharmacy india
Your article helped me a lot, is there any more related content? Thanks!
where can i buy viagra pills over the counter viagra tabs india pharmacy viagra
buy viagra online mexico: VGR Sources – online sildenafil canada
https://vgrsources.com/# buying viagra online illegal
viagra natural: cheapest viagra online – buy viagra with paypal
sildenafil over the counter nz: sildenafil discount prices – viagra uk paypal
where can i get viagra uk VGR Sources buy cheap viagra pills online
viagra 100mg online buy: VGR Sources – viagra generic
sildenafil 100mg online uk: VGR Sources – order cheap generic viagra online
sildenafil buy: VGR Sources – generic viagra usa pharmacy
viagra online: viagra 50 mg generic – generic sildenafil tablets
lowest price sildenafil VGR Sources sildenafil 20 mg daily
https://vgrsources.com/# 100mg viagra canada
female viagra for women: women viagra pills for sale – cheap viagra online fast delivery
viagra 20mg generic: VGR Sources – online viagra india
us online pharmacy generic viagra: VGR Sources – best price for genuine viagra
buy real viagra online viagra 100mg uk price 25 mg viagra cost
cheapest sildenafil india: VGR Sources – cheap viagra overnight delivery
how to get viagra prescription in canada: VGR Sources – sildenafil medicine in india
viagra generic soft tab: VGR Sources – cheap 25mg viagra
https://vgrsources.com/# sildenafil 5 mg
viagra discounts where can i find viagra sildenafil uk pharmacy
can i buy viagra in india: VGR Sources – viagra pharmacy australia
cheapest sildenafil 100 mg online: buy viagra online legally – sildenafil citrate 100 mg
viagra otc us: buy viagra cheap australia – purchase viagra in mexico
female viagra pills online sildenafil generic india canada generic viagra price
can i buy viagra from canada: VGR Sources – female viagra for sale uk
cheap sildenafil pills: places to buy viagra – viagra online australia paypal
can you buy sildenafil without a prescription: buy sildenafil generic canada – sildenafil over the counter usa
viagra online without prescription free shipping: VGR Sources – order viagra online
sildenafil 20 mg coupon viagra uk otc sildenafil 20 mg online no prescription
https://vgrsources.com/# usa viagra over the counter
best sildenafil coupon: can you buy viagra – best viagra online australia
sildenafil 20 mg prescription: VGR Sources – sildenafil tablets 100mg price
viagra pill cost canada: buy viagra 100mg uk – viagra price uk
generic viagra canada paypal over the counter viagra substitute viagra 100 tablet
how much is viagra 100mg: buy viagra for female online – black viagra
sildenafil buy online without a prescription: VGR Sources – sildenafil 60mg
viagra pills: buy sildenafil no prescription – viagra 100 pill
sildenafil 20 mg online canada buy 10 viagra pills female viagra pills online
https://vgrsources.com/# where can i purchase viagra
buy brand name viagra: viagra price pfizer – viagra prescription nz
how to buy viagra usa: VGR Sources – buy brand name viagra online
how to get sildenafil prescription: where to buy women viagra – how to get viagra
cheap viagra online no prescription VGR Sources us online viagra prescription
can i buy viagra online in australia: VGR Sources – sildenafil 12.5 mg
sildenafil 25 mg tablet price: VGR Sources – how to order sildenafil
sildenafil australia: VGR Sources – generic sildenafil 100mg price
buy brand name viagra online VGR Sources viagra 1998
https://vgrsources.com/# viagra online lowest price
viagra online no prescription canada: VGR Sources – buy viagra in india online
buy viagra online free shipping: VGR Sources – how much should viagra cost
sildenafil 50 mg tablet coupon: VGR Sources – sildenafil 50 mg tablet
buy sildenafil 100mg uk female viagra tablets price sildenafil daily
where to buy sildenafil uk: VGR Sources – order sildenafil online without prescription
sildenafil 30 mg: viagra alternative – how much is a viagra pill cost
original viagra: VGR Sources – order viagra paypal
lady viagra buy viagra with paypal australia cost of sildenafil in canada
non prescription viagra: online sildenafil – female viagra
https://vgrsources.com/# sildenafil cost usa
cheap viagra pills from india: VGR Sources – generic viagra cost
viagra 100mg in canada: sildenafil in singapore – buy cheap viagra online canadian pharmacy
viagra store: buy sildenafil without prescription cheap – lowest price viagra uk
viagra online order in india female viagra tablet price buy cheap viagra online canadian pharmacy
can you buy viagra online safely: VGR Sources – buy viagra south africa online
cheap viagra 25: viagra 100mg online – buy cheap viagra tablets
where can i buy viagra in usa: how to buy female viagra online – viagra dosage
Semaglu Pharm semaglutide shots near me Semaglu Pharm
what are the side effects of rosuvastatin 10 mg: Crestor Pharm – Crestor Pharm
https://crestorpharm.shop/# Crestor Pharm
PredniPharm: generic prednisone otc – PredniPharm
prednisone 10mg tablet price: PredniPharm – PredniPharm
Predni Pharm PredniPharm prednisone pills cost
Lipi Pharm: LipiPharm – Lipi Pharm
LipiPharm: lipitor discount card – what is the main side effect of atorvastatin
Crestor Pharm: CrestorPharm – Crestor Pharm
https://lipipharm.shop/# Lipi Pharm
SemagluPharm: Semaglu Pharm – SemagluPharm
crestor food interactions Online statin therapy without RX Rosuvastatin tablets without doctor approval
Rybelsus for blood sugar control: Safe delivery in the US – SemagluPharm
Semaglu Pharm: rybelsus 7 mg price in india – how long does rybelsus take to work
what is the difference between rosuvastatin and atorvastatin: LipiPharm – USA-based pharmacy Lipitor delivery
LipiPharm Atorvastatin online pharmacy does atorvastatin contain calcium
PredniPharm: PredniPharm – prednisone 300mg
https://crestorpharm.com/# CrestorPharm
2.5 mg prednisone daily: Predni Pharm – prednisone 60 mg price
п»їBuy Crestor without prescription Buy cholesterol medicine online cheap Crestor Pharm
USA-based pharmacy Lipitor delivery: Affordable Lipitor alternatives USA – Lipi Pharm
prednisone 5 50mg tablet price: prednisone medication – PredniPharm
what are the side effects of crestor Buy statins online discreet shipping Affordable cholesterol-lowering pills
pill identification rosuvastatin 10 mg pill identifier: best time to take crestor rosuvastatin – CrestorPharm
https://crestorpharm.com/# Crestor Pharm
SemagluPharm: Rybelsus online pharmacy reviews – Semaglu Pharm
Crestor Pharm: Crestor Pharm – No doctor visit required statins
Crestor Pharm crestor alternative Best price for Crestor online USA
LipiPharm: problems with lipitor – Order cholesterol medication online
Lipi Pharm: Lipi Pharm – LipiPharm
Lipi Pharm: LipiPharm – п»їBuy Lipitor without prescription USA
prednisone 10mg tabs PredniPharm PredniPharm
Predni Pharm: prednisone 20mg by mail order – PredniPharm
https://prednipharm.com/# where can i buy prednisone without prescription
LipiPharm: Safe atorvastatin purchase without RX – Lipi Pharm
п»їBuy Rybelsus online USA Semaglu Pharm SemagluPharm
Atorvastatin online pharmacy: LipiPharm – atorvastatin vs pravastatin
Crestor 10mg / 20mg / 40mg online: Generic Crestor for high cholesterol – CrestorPharm
Lipi Pharm: LipiPharm – Lipi Pharm
LipiPharm Discreet shipping for Lipitor Online statin drugs no doctor visit
CrestorPharm: Buy statins online discreet shipping – how long crestor stays in system
https://lipipharm.com/# LipiPharm
Atorvastatin online pharmacy: duloxetine intermediate and atorvastatin intermediates market – LipiPharm
Generic Lipitor fast delivery Lipi Pharm Atorvastatin online pharmacy
can i take crestor in the morning: Crestor Pharm – CrestorPharm
LipiPharm: Lipi Pharm – lipitor patient teaching
online order prednisone buy prednisone tablets uk buy prednisone mexico
CrestorPharm: CrestorPharm – CrestorPharm
prednisone 5 mg tablet price: PredniPharm – Predni Pharm
https://prednipharm.com/# prednisone cost us
1 mg prednisone daily PredniPharm buying prednisone on line
buy prednisone online usa: prednisone without prescription – can i buy prednisone online in uk
crestor vs lipitor muscle pain: Crestor Pharm – crestor and testosterone
https://lipipharm.com/# Order cholesterol medication online
Crestor Pharm: CrestorPharm – CrestorPharm
Predni Pharm Predni Pharm prednisone 2.5 mg price
goodrx rosuvastatin 10 mg: Crestor Pharm – Online statin therapy without RX
https://semaglupharm.com/# Where to buy Semaglutide legally
Semaglutide tablets without prescription: SemagluPharm – starting dose of rybelsus
PredniPharm prednisone nz Predni Pharm
Rybelsus side effects and dosage: SemagluPharm – Semaglu Pharm
http://semaglupharm.com/# Order Rybelsus discreetly
https://prednipharm.com/# prednisone 2 5 mg
prednisone generic brand name: Predni Pharm – buying prednisone on line
prednisone buy without prescription Predni Pharm prednisone 10 mg online
Predni Pharm: prednisone online pharmacy – no prescription online prednisone
https://semaglupharm.com/# SemagluPharm
50mg prednisone tablet: Predni Pharm – Predni Pharm
https://semaglupharm.shop/# Semaglu Pharm
prednisone 3 tablets daily prednisone brand name india Predni Pharm
PredniPharm: prednisone 475 – PredniPharm
http://prednipharm.com/# prednisone 5mg price
https://semaglupharm.com/# Semaglu Pharm
eden semaglutide: SemagluPharm – Semaglu Pharm
Cheap Lipitor 10mg / 20mg / 40mg: Lipi Pharm – Lipi Pharm
where to buy prednisone uk where to buy prednisone uk buy prednisone online no prescription
http://semaglupharm.com/# Semaglu Pharm
LipiPharm: LipiPharm – Lipi Pharm
Crestor Pharm: CrestorPharm – CrestorPharm
rybelsus, weight loss before and after Semaglu Pharm how fast can i lose 20 lbs on semaglutide?
http://semaglupharm.com/# SemagluPharm
http://crestorpharm.com/# Crestor Pharm
does lipitor cause leg cramps: atorvastatin 20 mg tablet – Lipi Pharm
п»їBuy Crestor without prescription: CrestorPharm – CrestorPharm
SemagluPharm does rybelsus work rybelsus cancer risk
https://semaglupharm.com/# SemagluPharm
Crestor 10mg / 20mg / 40mg online: crestor side effects memory loss – rosuvastatin and tinnitus
zocor vs crestor: Crestor Pharm – CrestorPharm
https://semaglupharm.com/# liraglutide vs semaglutide
SemagluPharm Semaglu Pharm Semaglu Pharm
rybelsus without prescription: Rybelsus for blood sugar control – п»їBuy Rybelsus online USA
Affordable cholesterol-lowering pills: Crestor Pharm – Crestor Pharm
https://lipipharm.com/# Lipi Pharm
https://semaglupharm.com/# Semaglu Pharm
Your article helped me a lot, is there any more related content? Thanks!
https://canadapharmglobal.shop/# my canadian pharmacy
Meds From Mexico Meds From Mexico medicine in mexico pharmacies
canada drugs online reviews: buying from canadian pharmacies – buying drugs from canada
https://canadapharmglobal.com/# canadian world pharmacy
reddit canadian pharmacy: Canada Pharm Global – canada pharmacy world
indian pharmacy India Pharm Global buy prescription drugs from india
https://indiapharmglobal.com/# pharmacy website india
best canadian online pharmacy: Canada Pharm Global – legit canadian pharmacy
Meds From Mexico: mexican drugstore online – Meds From Mexico
https://medsfrommexico.shop/# medication from mexico pharmacy
indian pharmacy cheapest online pharmacy india buy medicines online in india
http://canadapharmglobal.com/# legit canadian pharmacy
my canadian pharmacy reviews: my canadian pharmacy rx – safe reliable canadian pharmacy
indian pharmacy: cheapest online pharmacy india – India Pharm Global
https://indiapharmglobal.shop/# India Pharm Global
Your article helped me a lot, is there any more related content? Thanks!
buy canadian drugs: canadapharmacyonline legit – prescription drugs canada buy online
canada cloud pharmacy: Canada Pharm Global – canadian pharmacy india
http://svenskapharma.com/# apotek mäta blodtryck
https://efarmaciait.shop/# daflon 500 120 compresse amazon
Svenska Pharma diabetesstrumpor apotek finns medicinen pГҐ apoteket
precio traspaso farmacia: farmaceuticos – Papa Farma
Rask Apotek: apotek engelsk – Rask Apotek
https://svenskapharma.shop/# Svenska Pharma
djur apotek mensvärk utan mens graviditet vilka sjukdomar ger gratis tandvård
farmacias top opiniones: crema emla precio – diprogenta para que sirve
que es vimovo y para que sirve: cuanto tarda en hacer efecto movicol sobres – farmacia el
http://raskapotek.com/# Rask Apotek
http://raskapotek.com/# Rask Apotek
apotek tbe vaccin: antigen test apotek – Svenska Pharma
Papa Farma Papa Farma Papa Farma
farmacie online sconti: fatmacia – cistalgan bustine
https://raskapotek.shop/# Rask Apotek
http://raskapotek.com/# l-serin på apotek
Rask Apotek Rask Apotek Rask Apotek
sobres de ahorro: autobronceadores orales efectos secundarios – elocom pomada para que sirve
EFarmaciaIt: crispact in gravidanza forum – gentalyn beta per culetto arrossato
https://papafarma.shop/# viagra spanje
Svenska Pharma: iodine kГ¶pa – Svenska Pharma
https://efarmaciait.com/# EFarmaciaIt
https://efarmaciait.com/# EFarmaciaIt
farmacia central lugo: antimosquitos electrico – comprar viagra en zaragoza
kjГёlebind apotek: Rask Apotek – clotrimazolum apotek
Rask Apotek varmepute med ris apotek Rask Apotek
https://svenskapharma.shop/# kräkmedel hund apotek
EFarmaciaIt: farmacia on-line – EFarmaciaIt
billigaste nГ¤tapotek: apotek shampoo – Svenska Pharma
Rask Apotek magnesium l-threonate apotek apotek ГҐpent sГёndag
https://papafarma.shop/# farmacia online envГo gratis
https://raskapotek.shop/# stoppe neseblod apotek
apoteke: Rask Apotek – Rask Apotek
Papa Farma: Papa Farma – Papa Farma
https://papafarma.shop/# Papa Farma
Rask Apotek: Rask Apotek – Rask Apotek
https://raskapotek.shop/# munkepepper apotek
Papa Farma: Papa Farma – Papa Farma
Pharma Jetzt: nutrim kapseln erfahrungen – Pharma Jetzt
https://pharmaconnectusa.com/# publix pharmacy
Pharma Connect USA: PharmaConnectUSA – coumadin online pharmacy
online apotheek nederland: Medicijn Punt – MedicijnPunt
https://pharmaconfiance.shop/# filtre vieillissant gratuit
https://pharmaconfiance.com/# apotheek online
Pharma Connect USA: PharmaConnectUSA – PharmaConnectUSA
MedicijnPunt: de apotheker – MedicijnPunt
https://pharmaconfiance.shop/# Pharma Confiance