Forums

[Plugin: WP Super Cache] Integration with another bot tracker plugin? (4 posts)

  1. mrthrust
    Member
    Posted 2 years ago #

    Hi guys, Im currently building a plugin which tracks bot hits on the blog
    ie: googlebot etc..

    Each time the page loads it dose a check for the bot and updates the data accordingly which is good. If (Im/Others) are using your plugin and this is delivering static pages, is there any way to detect,
    1: if a user has this particular plugin installed and activated
    2: if so enabling some function or two that could track the hits on the static page?

    thanks

  2. Donncha O Caoimh
    Member
    Posted 2 years ago #

    The user will have to run wp-super-cache in half-on mode, and use the dynamic "mfunc" tags to execute your tracking code.

  3. mrthrust
    Member
    Posted 2 years ago #

    ahh, I see, so if its half on with my function utilising the 'mfunc' it should run the code? but if the user has the supercache on full then there's no chance that my code will be picked up on each bot crawl?

    cheers

  4. Donncha O Caoimh
    Member
    Posted 2 years ago #

    Yeah, that's right.

Topic Closed

This topic has been closed to new replies.

About this Topic