customize

You are here

[SOLVED] How to Run a JavaScript Code at Browser Closing Time?

Error message

User error: Failed to connect to memcache server: localhost:11212 in dmemcache_object() (line 415 of /home/freedrup/public_html/demo/d7/sites/all/modules/memcache/dmemcache.inc).

For a recent Drupal project there was a requirement to find the pages that a user visits on the site and send that to Google Analytics. Here, first we should save the page links that the user visits. But for this we need,

Source: 
http://feeds.zyxware.com/~r/zyxware/~3/XS_g_iv7Wks/solved-how-to-run-a-javascript-code-in-browser-closing-time