Posted on

How to select all friends for event invites on Facebook

This method worked for me on Chrome / Mac OS, should work on other browsers too:
1. Click Invite Friends on whatever you are inviting people to
2. Make sure All Friends is selected on the left!
3. Scroll ALL the way down until names stop loading (I found it easy to click the first name and then hold down the spacebar or Page Down button)
4. For EVENTS Copy this code:
javascript:var inputs = document.getElementsByClassName(‘_1v30’);
for(var i=0; i<inputs.length;i++) {
console.log(inputs[i].name + ” was clicked”);

5. Paste the code into the URL bar of your browser (where you type website addresses), but WAIT! Check the beginning of the URL bar and make sure the word “javascript:” is there, if it is not, TYPE IT IN! A lot of browsers automatically delete the “javascript:” portion for security purposes. Press enter.
6. For large friends list, this may utilise all your resources and will cause the page to freeze and be unresponsive. Just wait a few minutes until all the names get selected. Click “Wait” instead of terminating the page.

However… as you can see FB wasn’t liking this:

Screen Shot 2014-11-20 at 1.23.36 am

Now I get this cute bird thing:

Screen Shot 2015-03-03 at 1.45.31 am

Posted on

Zeald does NOT support GA ecommerce tracking

Dear Zeald,

you call yourself an ecommerce website builder – but you do not support the native ecommerce tracking features of Google Analytics – certainly the most popular web analytics package available in 2013.

This is an open letter to Zeald to try to convince you to consider supporting this feature, by default, for no extra charge for your existing customers. If you did support it, the thanks page for a conversion mite include calls to _addTrans, _addItem and _trackTrans, and would allow your clients to see the last traffic source before a conversion – whether it be from any source, Bing, Facebook, Yellow etc, not just Google Adwords. Not only that, but they would be able to see a plethora of multi-dimensional reports that could show average order value, top products, and feed the conversion value easily back into Adwords to enable true ROI calculations to be made for all traffic sources.

Once you have got this working – I’ll convert this blog post into a thank you message.

Yet I see no mention of support in your help files, only this one which is about a different tracking method that only works for Adwords:

Adwords Conversion Tracking != Google Analytics Ecommerce Tracking.

To help you get going, below is an example of what the tracking scripts look like:

<html><head><title>Receipt for your clothing purchase from Acme Clothing</title><scripttype="text/javascript">

  var _gaq = _gaq ||[];
    '1234',           // transaction ID - required
    'Acme Clothing',  // affiliation or store name
    '11.99',          // total - required
    '1.29',           // tax
    '5',              // shipping
    'San Jose',       // city
    'California',     // state or province
    'USA'             // country

   // add item might be called for every item in the shopping cart
   // where your ecommerce engine loops through each item in the cart and
   // prints out _addItem for each
    '1234',           // transaction ID - required
    'DD44',           // SKU/code - required
    'T-Shirt',        // product name
    'Green Medium',   // category or variation
    '11.99',          // unit price - required
    '1'               // quantity - required
  _gaq.push(['_trackTrans']);//submits transaction to the Analytics servers

    var ga = document.createElement('script'); ga.type ='text/javascript'; ga.async =true;
    ga.src =('https:'== document.location.protocol ?'https://ssl':'http://www')+'';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

  Thank you for your order.  You will receive an email containing all your order details.

Posted on

Bidding by ROI Percentage in Adwords

UPDATE: on August 8 this year I posted this initial blog post, now I see Google is announcing the feature! Cool –

Feature request: Dear Google, I would love to be able to bid by target ROI percentage in Adwords. The idea would be to set a target at the campaign level using a percentage ROI you would like. I have a client who doesn’t want to run ads at less than 500% ROI, and this is something I am getting done using Google Analytics, but it is kinda tricky as I need to switch between GA and AW, boosting ad groups with high ROI, and pulling back on ad groups with poor ROI, working to increase the overall campaign ROI in order to acquire an increase in budget, and turn AW into a money printing machine.

ROI = return on investment.

ROAS = return on ad spend.


Thanks, Tom.

Posted on

GA Bug: Internal Site Search tracking doesn’t work with URLs rewritten by filter

So I thought I was being cunning by putting in a filtered profile which would have an advanced custom filter to re-write incoming URLs into the format expected by GA site search tracking.

But it doesn’t work.

Here’s the incoming URLs that won’t track:

Before URL Rewrites

And here is the after they are rewritten, all nice and tidy with just the keyword:

After URL Rewrites

However, with site search tracking enabled, nothing is showing in the site search report.

Here is the filter config:

Filter Order

And the URL Rewrites are done with regex: /search/jobs/(.*)\?job

The capture group is output to a Request URI like this: /\?q=$A1

But perhaps the Internal Site Search tracking is applied before the filters: which is a bug right?

Filter Config


Thanks to Student Job Search for allowing me to publish this blog.