Track Views

Version 1.0.1 added 1 year ago by mpvanwinkle

HOW TO INSTALL: To install this package, copy the following code and paste it into your Pods >> Package Manager under the Import tab and follow instructions there.

1.0.1 Notes

Bug fix from @sc0ttkclark and tweaked the code a little

About this Package

Install the package and create a field in your pod call "views". Then insert {@views,trackviews} into any template you wish. This helper will add a view to the database each time the code is viewed. It also echoes the total number of views.