-
Checking for blank account... Doing this at the beginning of the postprocess so that I don't spend any cycles in the api if google analytics wasn't configured for this install. This usually only happens if someone hasn't set up the account yet in settings or if they override the settings in the settings.php file. This should speed things up a little.
-
Bringing ga_mod.php up to Drupal coding standards... Mostly getting rid of the ending PHP tag as it *could* cause problems. The rest is formatting and changing double quotes to single quotes to make the script faster.
-
Adding asynchronous calls to GA. Though the calls are still serial... they don't wait for responses. This speeds up the call significantly (roughly 30ms from my testing) for each call. In a cron this could make a BIG difference
-
Adding ability to delay sending GA tracking request The module now has the ability to either send the GA tracking request after the api call has sent it's output, or to send all requests in batches on cron. Removed a notice called by a duplicate definition of VERSION.
-
Optimizing by removing double quotes and replacing with single quotes.
-
Fixing comment.
-
Found a limitation dealing with duplicat callbacks Found out that the menu item was how the endpoint was determined. Used that to find out what the current endpoint is. With that, I can do a check immediatly and leave if possible. Also, this limits the search of the callback function to the one endpoint and not all of the enabled ones. This makes the logic much faster
-
Checking for gaservice settings. Renaming Method in GA. I had to redo how the check for which services were being used. Also while doing this, I was able to get a better name other than the callback name that makes more sense and looks more like the original gaservices did.
-
Updated to work with Services 3
-
Formating for Drupal CS compliance