Pixela tips; Using Pixela to Measure and Visualize Your Site’s PVs

dino a.k.a. a-know
2 min readNov 14, 2019

--

Hello! Today I want to share a tip using Pixela.

https://pixe.la

When defining a graph in Pixela, you can specify the selfSufficient option. Here is the description of the API documentation:

selfSufficient — string

[optional] If SVG graph with this field increment or decrement is referenced, Pixel of this graph itself will be incremented or decremented.
It is suitable when you want to record the PVs on a web page or site simultaneously.
The specification of increment or decrement is the same as Increment a Pixel and Decrement a Pixel with webhook.
If not specified, it is treated as none .

In other words, if you define a graph as "selfSufficient":"increment" , the Pixel value for that graph for the day will be incremented each time someone sees your graph.

And if you put that graph somewhere on your site, you can measure the number of PVs on the site and appeal to everyone at the same time! Yeah!

In fact, I embed Pixela on my blog site. (It’s a Japanese blog.)

Embed Pixela graph on side-bar
Embed Pixela graph on side-bar — https://blog.a-know.me

The embedded graph has the mode=short option. Pixela keeps track of the number of PVs since last July.

Pixels have been recorded for more than 500 days and have more than 300,000 total PVs.
https://pixe.la/v1/users/a-know-blog/graphs/page-views.html

It’s interesting to see the periodicity of the people who visit my site. I’ll be glad if you try it!

--

--

dino a.k.a. a-know
dino a.k.a. a-know

Written by dino a.k.a. a-know

Customer Success Engineer @ Autify, Inc. 🙂 Developing Pixela http://pixe.la and grass-graph http://grass-graph.moshimo.works .

No responses yet