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

Ajax Popup Window Tracking Pepper

vocalnation.net
Third-Party Pepper Developer
Posted on May 07, '07 at 09:52 pm

Gi’day,

I run a web2.0 site called VocalNation.net that has alot of popup windows loaded through ajax (for login, email a friend, help screens etc.). Since these don’t change the window.location, or request a whole new page load, they aren’t registered with mint. I’m thinking of manually setting the window.location below, and refiring the mint.save() function to have this tracked with mint, but was curious if anyone can figure out how to do this as a pepper, since I think it would be awesome to be able to specify ajax functionality to have mint track. Let me know what you think.

vocalnation.net
Third-Party Pepper Developer
Posted on Jun 18, '07 at 12:40 pm

The new Behavior Pepper was created to track ajax/javascript events (like popups or ajax requests) that occur between full pageloads.

More Information: http://vocalnation.net/posting/229/Behavior+Pepper

And you can download it here: http://haveamint.com/peppermill/pepper/54/behavior

vocalnation.net
Third-Party Pepper Developer
Posted on Aug 08, '07 at 03:04 pm

A new version was just uploaded with a tab to show the “Most Popular” events.

Lane
Minted
Posted on Oct 24, '09 at 07:24 am

Please help! I am stuck!

I am having some trouble getting behavior to work on my site, http://lifestreamvideo.com. I am trying to do it either server-side or client, although I’d rather do it server side, however I don’t parse any of the request through PHP.

When I try and use behaviors using javascript, I get an error: “mint is not defined.”

I also get the “Mint is not defined” error.

Any ideas?

I found it.

This error happens when you cannot access Mint’s javascript file (because you’ve checked “ignore my visits” in Mint’s preferences).

Which means the “Behavior” pepper works with all visitors of your website, except you.

Does anyone know how to get rid of the “Mint is not defined” error message?

I’m having this problem as well! Can anyone help?

I’m getting Mint is not defined with “ignore my visits” on and with it off I get the error: Result of expression ‘Mint.TT’ [undefined] is not an object

Has anyone actually got this working?

My code: Mint.TT.behavior.getURL(“sendValidateFailed”);

And the Behavior panel stays empty

BUMP, I can’t be the only one wanting mint to monitor javascript events? Surely someone has this working, or an alternative?

(sorry for triple post)

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