• Resolved nineplanetsllc

    (@nineplanetsllc)


    We’re having an issue with click tracking. We have the tracking configured for a few places, one example being the Schedule a Free Consultation link on the page I linked to. At first we discovered the click tracking call was getting a 403, which was because our security plugin was blocking PHP running via direct calls to the plugins folder. We got things cleared up so it has an exception for that script, and we can see the call getting a 200 response now. But our reports don’t show any clicks. And we are attempting the clicks from a separate incognito/private window where we’re not logged into the site. Any idea what the issue might be? Thanks.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ben Sibley

    (@bensibley)

    Hi there,

    Thanks for getting in touch. I’m sorry to hear about this issue.

    I tested some links on the site and I see the tracking script running successfully as well. This means there is an issue with writing the clicks to the database, which can be caused by one of two things.

    First, there could be an issue with the site’s cron events. I would recommend installing the WP Crontrol plugin and checking the Tools > Cron Events menu to make sure the cron events are all running on time there.

    If there isn’t an issue with the cron system, then try adding this constant into your wp-config.php file:

    define('IAWP_AVOID_TEMPORARY_DIRECTORY', true);

    IA Pro will normally use PHP’s temp directory to write a txt file where the data is stored as text until the cron job writes it to the database. This code will tell it to avoid the temp directory, and it will write to a PHP file in the plugin instead.

    Thread Starter nineplanetsllc

    (@nineplanetsllc)

    Ah, thanks, that pointed me in the right direction. We use a server side cron every 15 minutes, so that was resulting in an up to 15 minute delay before the clicks show up, which I was not expecting. I can see the clicks in there now.

    Plugin Author Ben Sibley

    (@bensibley)

    Ah that makes sense. The clicks will take up to 15 minutes to show up in the reports in that case, but otherwise, it should be working well.

    Stay in touch if you need any further assistance, and I’ll be happy to help.

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

You must be logged in to reply to this topic.