Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter cataful

    (@cataful)

    From what I think it would be just before or after saving the cookie to the browser

    Honestly, I’m not sure what’s the best way to do this as my programming skills aren’t that great. Whatever you decide would work best ??

    Thanks for listening to my request!

    Thread Starter cataful

    (@cataful)

    Yes I know about editing it on the admin side but I would like to do it with PHP & Javascript as I want to attach it to the links the users click on.

    For example, I have a RSS aggregator website. Each time the user click on the links that exits the website, I would like to manually add 1 view to the post that relates to the link. [I would like to attach a Javascript code to this]

    Another would be me providing RSS feeds to my user. Example link: https://www.mysite.com/ext/34305/. When users click on that link, i would like to add a view to the post that relates to that link. [I would like to do this in PHP]

    As you can see, when users click on the link, it won’t go to the post but actually exit the website. The links is related to the post so I would like to add a view to the post ID.

    I would just like to know if there’s a function or way to easily add views to a post id via PHP and Javascript code. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)