Login to download the latest version of Mint and your favorite Pepper, purchase additional licenses, or post in the Forum. Don't have an account? Create one!

In Partnership with Media Temple

Mint Forum

Custom Pepper Blocks Default Tracking

Using the Window Width sample Pepper as a template, I’ve created a custom Pepper that displays searches coming out of our Flash website. The Pepper installs and works just fine. Unfortunately, it also blocks default tracking from being recorded into the mint_visit table while it’s installed.

Class file (started with the sample file and changed as little as possible): janimation.com/testing/mint/class.txt

Script that passes the data coming out of Flash into a separate table in the mint database (based off Jamie Connolly’s Flash Tracker): janimation.com/testing/mint/search.txt

Admittedly, it’s been months since I’ve done anything in PHP so I’m a bit rusty, but I understood all the functionality (with the exception of the backtick character in the SQL queries and the significance of <<<HERE ... HERE; when storing HTML in a variable). I’ve been through the code several times and can’t find any typos (which is no guarantee that there are none).

Thanks for any help you can give me!

Matthew Lueck | Semicolon Amnesiac

Figured out the issue. I didn’t need the onRecord function. Removed that code and it’s working fine now.

Matthew Lueck | Semicolon Amnesiac

You must be logged in to reply. Login above or create an account