Profile

Cover photo
Stu Bowker
Lived in Brighton
177 followers|64,115 views
AboutPostsPhotosYouTube+1'sReviews

Stream

Stu Bowker

General Questions  - 
 
Is anyone else having issues creating variables today? I click on Custom Event and there's no fields shown to enter the event name. Have tried in Chrome, Firefox and Edge to no avail.
1
Mehdi Oudjida's profile photoStu Bowker's profile photo
4 comments
 
Sorry you're right, it's the trigger I need.
Add a comment...

Stu Bowker

General Questions  - 
 
Picture this:

Page A contains this in the body:
<div class="overlay-homepage"><span></span></div>

Page B contains:
<div class="overlay-results"><span></span></div>

I can use this script to identify if they contain an overlay class with this:

function() {
var htmlString = $('body').html().toString();
var index = htmlString.indexOf("div class=\"overlay-");
if (index != -1)
return("It works");
}

For the return value, instead of "It works", how do I get it to pull in the rest of the class name e.g. "overlay-results" or if needs be the whole div content e.g. "<div class="overlay-results"><span></span></div>"?

There are many other pages like this with different 'overlay-' class names so don't want to do one for each hence this 'one size fits all' approach.
1
Simo Ahava's profile photoStu Bowker's profile photo
2 comments
 
Thanks +Simo Ahava. My JS is very limited so no surprises on your comment. Thanks for the solution though.

Add a comment...

Stu Bowker

Shared publicly  - 
 
Then enter to win! 2 lucky people will win: An all-access ticket to WhichTestWon’s The Live Event Europe in Berlin, …
1
Add a comment...

Stu Bowker

General Questions  - 
 
Hey, I'd  like to use a rule for various buttons within a <section> based on the text of the <h2> text for that <section>.

Below is an example of the HTML where I'd like to record the clicks of BUTTON 1, BUTTON 2, or BUTTON 3 if the h2 value is 'THIS IS THE H2 TEXT':

<section class="section">
  <div class="section__title">
    <h2>THIS IS THE H2 TEXT</h2>  
  </div>
  <div class="container">
    <div class="inner-content">
        <p>Example Text</p>
    </div>
  </div>
  <div>
    <div class="container">
      <div class="column">
        <h4>TITLE</h4>
        <a href="/link1/">BUTTON 1</a>
      </div>
      <div class="column">
        <h4>TITLE</h4>
        <span id="newsletter"></span>
        <a href="/link2/">BUTTON 2</a>
      </div>
      <div class="column">
        <h4>TITLE</h4>
        <a href="/link3/">BUTTON 3</a>
      </div>
    </div>
  </div>
</section>

Can you help with the JavaScript for the Macro?

Thanks in advance.
1
Simo Ahava's profile photoStu Bowker's profile photo
2 comments
 
Thanks Simo. You're right it is horrible. That jQuery works perfect. 
Add a comment...

Stu Bowker

Questions  - 
 

Since when is 'Microsoft Xbox One' a 'mobile' device in GA? Screen resolutions are certainly bigger than mobile and all landscape. Can Google please reassign to 'desktop', especially as it is a PC inside.
2
DJ Kozz's profile photo
DJ Kozz
 
Please GA, reassing it soon. :)
Add a comment...

Stu Bowker

Discussion  - 
 
Since when is 'Microsoft Xbox One' a 'mobile' device in GA? Screen resolutions are certainly bigger than mobile and all landscape. Can Google please reassign to 'desktop', especially as it is a PC inside.
1
Add a comment...

Stu Bowker

Discussion  - 
 
Is it right to add the a site's domain in the 'Referral Exclusion List' of your GA Property Settings?

I've heard conflicting reasons both for and against. Would be great to get a more conclusive answer.
1
Add a comment...

Stu Bowker

General Questions  - 
 
Anyone know how to retrieve the text of a H3 tag that came before the Click Element using Custom JS? Have tried a few options but it's not working. Thanks in advance.
1
Phil Pearce's profile photoStu Bowker's profile photo
2 comments
 
Ended up with this in the end as it needs to look up the tree first.
function(){
  return jQuery({{Click Element}}).closest(".test").find("h3.test").text();
}
Add a comment...

Stu Bowker

Questions  - 
 
Hey, does anyone know of a successful way to integrate GA ecommerce with WorldPay seeing as it doesn't allow you to redirect the user back to the site or add any JS?
1
Stu Bowker's profile photo
 
+Phil Pearce Have you had any experience with this?
Add a comment...

Stu Bowker

Questions  - 
 
Is it possible to transfer a GA property from one account to another? If so, how?
1
Julien Coquet's profile photoStu Bowker's profile photoZorin Radovancevic's profile photo
6 comments
 
Double tag imo.
Add a comment...

Stu Bowker

Shared publicly  - 
 
If you haven't seen it already, check out our cro testing case study on VWO.
WhoAcceptsAmex.com performed an A/B test on their website which compared different font-sizes of the text. They tested 6 different sizes for 28 days.
1
Add a comment...
Story
Introduction
Adventurous, analytical Brit with a tongue that sticks out a lot.
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Previously
Brighton
Work
Occupation
Web Analytics
Basic Information
Gender
Male
Stu Bowker's +1's are the things they like, agree with, or want to recommend.
Still haven’t A/B tested font-size on your website? You could score 32% ...
vwo.com

WhoAcceptsAmex.com performed an A/B test on their website which compared different font-sizes of the text. They tested 6 different sizes for

Club Getaway
plus.google.com

Club Getaway hasn't shared anything on this page with you.

OfficeToolTips Word Tip: How to use different page orientations inside o...
www.officetooltips.com

Sometimes page orientation for a particular page has to be different to the rest of the document. E.g., big tables or pictures look better i

Miller and Carter Lancing
plus.google.com

Miller and Carter Lancing hasn't shared anything on this page with you.

MCF - '0' Time Lag Conversion Segment changes conversion quantity of '0'...
productforums.google.com

MCF - '0' Time Lag Conversion Segment changes conversion quantity of '0', gravy834, 5/8/13 2:07 PM, Hi, I've tried applying the following co

End Piracy, Not Liberty – Google
www.google.com

Millions of Americans oppose SOPA and PIPA because these bills would censor the Internet and slow economic growth in the U.S.. Two bills bef

Google Analytics Privacy Concern: Random Sites appearing as popups
pleer.co.uk

Just over a week after Google made an announcement to increase privacy for users, which has mainly angered a lot of the SEO community, they

Occam's Razor by Avinash Kaushik
www.kaushik.net

Avinash Kaushik is the author of Web Analytics 2.0 and Web Analytics: An Hour a Day. He is also the Co-Founder of Market Motive and the Digi

Learn to code: make your own Bitly interface in two minutes
econsultancy.com

In this blog post, you will learn to code your own bitly user interface in just two minutes. (caveat: this depends on how fast you can copy/

Hen Weekends – Award Winning Hen Nights, Hen Do &amp; UK Hen Parties
www.redsevenleisure.co.uk

Award Winning hen weekends &amp; nights by World Famous Redseven. Classy hen fun guaranteed - hotels, dancing, pamper, entertainment, ABTA &amp;

Extract number from alphanumeric string
www.excelforum.com

Hi all, What is the formula to be used to extract number from a alphanumeric string located at different row? example: test123 test12

Why don't more places take American Express?
www.thisismoney.co.uk

American Express cards are hit-and-miss in the way that some merchants take them and some don't - so why isn't Amex mainstream?

How to Widgetize a Page, Post, Header or Any Other Template in WordPress
wpmu.org

Have you ever found a plugin for a widget that you'd like to use in a page or post, but the only widgetized sections of your theme are sideb

The Ultimate Travel Hacking Guide
lifehacker.com

It's never been easier to compare travel and accommodation prices using sites like Hipmunk, Kayak, or Google Flights, but a little extra leg

Excel An IF statements that operates if a cell CONTAINS a word...
www.mrexcel.com

Excel tips and Excel help from the MrExcel Message Board regarding An IF statements that operates if a cell CONTAINS a word...

High Bounce Rates? – Now Google Offers to Block Your Site | SEO Unique Blog
www.seounique.com

I noticed something new in Google (or at least I've never seen it before) - next to the Cached link on a domain there's seems to be a link d

Stag Weekends, Stag Do, Hen Nights - Redseven Stag &amp; Hen Parties
www.redsevenleisure.co.uk

Save yourself time and money - Great Hen and Stag Weekend deals guaranteed for UK and Abroad Hotels, Activities, Clubs, Flights, Pamper plus

Extract Text From Alphanumeric String
www.ozgrid.com

Hi, I need to extract just the text from cells which contain both letters and numbers. There can be one or two letters, followed by one, two

Creating a Video Sitemap - Webmaster Tools Help
www.google.com

You can use the Google Video extension to the Sitemap protocol to give Google information about video content on your site. You can create

Jquery Autocomplete Redirect
www.sitepoint.com

All, Not sure if this has been posted yet, but I'm trying to get Jquery's Autocomplete to redirect a user based on their input - accordin

Amazing pub in Lancing with a great choice of changing ales and entertainment.
Public - 2 weeks ago
reviewed 2 weeks ago
Public - 2 weeks ago
reviewed 2 weeks ago
43 reviews
Map
Map
Map
Public - 2 weeks ago
reviewed 2 weeks ago
Really impressive shows
Public - 2 weeks ago
reviewed 2 weeks ago
Public - 2 weeks ago
reviewed 2 weeks ago