1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Stalk your customers, then chat with them about what they are viewing in REAL TIME 4 FREE

Discussion in 'BlackHat Lounge' started by Donestrgling, Mar 3, 2012.

  1. Donestrgling

    Donestrgling Regular Member

    Joined:
    Nov 29, 2011
    Messages:
    358
    Likes Received:
    108
    Occupation:
    lovin your mom
    Alright so I made a pretty sick discovery the other day and implemented it this is probably worth some money. Or not, Im just sharing it because I want to give back.

    So what you do is go to your Google Analytics account, and check out the Real time(beta) option. Then Go to Content, and see what they are viewing.

    Now your like cool I can see what they are doing. Well this is where it gets cooler.

    Download Meebo. And Embed it to your site. Ok so now you have a static chat box. Whooptee do dah.

    Now embed this code with the meebo:

    <div id="floatdiv" style="
    position:absolute;
    width:px;height:px;center:0px;top:0px;
    padding:10px;background:#FFFFFF;
    border:2px solid #2266AA">
    <embed src="http://widget.meebo.com/mm.swf?OGCKLcIqbG" type="application/x-shockwave-flash" height="275" width="175">
    </div>
    <script type="text/javascript"><!--
    var floatingMenuId = 'floatdiv';
    var floatingMenu =
    {
    targetX: -200,
    targetY: 200,

    hasInner: typeof(window.innerWidth) == 'number',
    hasElement: document.documentElement
    && document.documentElement.clientWidth,

    menu:
    document.getElementById
    ? document.getElementById(floatingMenuId)
    : document.all
    ? document.all[floatingMenuId]
    : document.layers[floatingMenuId]
    };

    floatingMenu.move = function ()
    {
    if (document.layers)
    {
    floatingMenu.menu.left = floatingMenu.nextX;
    floatingMenu.menu.top = floatingMenu.nextY;
    }
    else
    {
    floatingMenu.menu.style.left = floatingMenu.nextX + 'px';
    floatingMenu.menu.style.top = floatingMenu.nextY + 'px';
    }
    }

    floatingMenu.computeShifts = function ()
    {
    var de = document.documentElement;

    floatingMenu.shiftX =
    floatingMenu.hasInner
    ? pageXOffset
    : floatingMenu.hasElement
    ? de.scrollLeft
    : document.body.scrollLeft;
    if (floatingMenu.targetX < 0)
    {
    if (floatingMenu.hasElement && floatingMenu.hasInner)
    {
    // Handle Opera 8 problems
    floatingMenu.shiftX +=
    de.clientWidth > window.innerWidth
    ? window.innerWidth
    : de.clientWidth
    }
    else
    {
    floatingMenu.shiftX +=
    floatingMenu.hasElement
    ? de.clientWidth
    : floatingMenu.hasInner
    ? window.innerWidth
    : document.body.clientWidth;
    }
    }

    floatingMenu.shiftY =
    floatingMenu.hasInner
    ? pageYOffset
    : floatingMenu.hasElement
    ? de.scrollTop
    : document.body.scrollTop;
    if (floatingMenu.targetY < 0)
    {
    if (floatingMenu.hasElement && floatingMenu.hasInner)
    {
    // Handle Opera 8 problems
    floatingMenu.shiftY +=
    de.clientHeight > window.innerHeight
    ? window.innerHeight
    : de.clientHeight
    }
    else
    {
    floatingMenu.shiftY +=
    floatingMenu.hasElement
    ? document.documentElement.clientHeight
    : floatingMenu.hasInner
    ? window.innerHeight
    : document.body.clientHeight;
    }
    }
    }

    floatingMenu.doFloat = function()
    {
    var stepX, stepY;

    floatingMenu.computeShifts();

    stepX = (floatingMenu.shiftX +
    floatingMenu.targetX - floatingMenu.nextX) * .07;
    if (Math.abs(stepX) < .5)
    {
    stepX = floatingMenu.shiftX +
    floatingMenu.targetX - floatingMenu.nextX;
    }

    stepY = (floatingMenu.shiftY +
    floatingMenu.targetY - floatingMenu.nextY) * .07;
    if (Math.abs(stepY) < .5)
    {
    stepY = floatingMenu.shiftY +
    floatingMenu.targetY - floatingMenu.nextY;
    }

    if (Math.abs(stepX) > 0 ||
    Math.abs(stepY) > 0)
    {
    floatingMenu.nextX += stepX;
    floatingMenu.nextY += stepY;
    floatingMenu.move();
    }

    setTimeout('floatingMenu.doFloat()', 20);
    };

    // addEvent designed by Aaron Moore
    floatingMenu.addEvent = function(element, listener, handler)
    {
    if(typeof element
    [listener] != 'function' ||
    typeof element
    [listener + '_num'] == 'undefined')
    {
    element
    [listener + '_num'] = 0;
    if (typeof element
    [listener] == 'function')
    {
    element
    [listener + 0] = element
    [listener];
    element
    [listener + '_num']++;
    }
    element
    [listener] = function(e)
    {
    var r = true;
    e = (e) ? e : window.event;
    for(var i = element
    [listener + '_num'] -1; i >= 0; i--)
    {
    if(element
    [listener + i](e) == false)
    r = false;
    }
    return r;
    }
    }

    //if handler is not already stored, assign it
    for(var i = 0; i < element
    [listener + '_num']; i++)
    if(element
    [listener + i] == handler)
    return;
    element
    [listener + element
    [listener + '_num']] = handler;
    element
    [listener + '_num']++;
    };

    floatingMenu.init = function()
    {
    floatingMenu.initSecondary();
    floatingMenu.doFloat();
    };

    // Some browsers init scrollbars only after
    // full document load.
    floatingMenu.initSecondary = function()
    {
    floatingMenu.computeShifts();
    floatingMenu.nextX = floatingMenu.shiftX +
    floatingMenu.targetX;
    floatingMenu.nextY = floatingMenu.shiftY +
    floatingMenu.targetY;
    floatingMenu.move();
    }

    if (document.layers)
    floatingMenu.addEvent(window, 'onload', floatingMenu.init);
    else
    {
    floatingMenu.init();
    floatingMenu.addEvent(window, 'onload',
    floatingMenu.initSecondary);
    }

    //--></script>


    Now You should have that Meebo Chat Following the page as you scroll up and down. That is what your customer will see.

    So Now log into meebo, if you are on your webpage still it will say. Something like Meeeboquest128328 is now online. Well That's you.

    With Mine I had to install it on one page, and it transfers to every page that I go to so that way the Meebo chat is always there. Always Available for customer to ask questions with.

    So Go back to your google anlalytics account. And see what page they are on.

    Let's just say they are on page 65 looking at "Product A"

    Now go back to Meebo, and type to the person online. You know we have a promotion on all "Product A's Today"

    It works most of the time. It's pretty trippy to be able to talk to your customers in Real Time, and Know what they are looking at.

    Let me know if this can be improved. There are still some things that could use fixing. Thanks again BHW!!
     
  2. wannabie

    wannabie Elite Member

    Joined:
    Mar 11, 2009
    Messages:
    3,807
    Likes Received:
    2,954
    Occupation:
    Seo and Marketing Suprisingly
    Location:
    Your bedroom window
    Home Page:
    Damn I would be off your site so fast, stalker ;)

    I prefer click tail
     
    • Thanks Thanks x 2
  3. Donestrgling

    Donestrgling Regular Member

    Joined:
    Nov 29, 2011
    Messages:
    358
    Likes Received:
    108
    Occupation:
    lovin your mom
    Daaaaaaaaaaaaaaamn! Click tale is F*ing Awesome!
     
  4. wannabie

    wannabie Elite Member

    Joined:
    Mar 11, 2009
    Messages:
    3,807
    Likes Received:
    2,954
    Occupation:
    Seo and Marketing Suprisingly
    Location:
    Your bedroom window
    Home Page:

    Worth every penny
     
  5. Donestrgling

    Donestrgling Regular Member

    Joined:
    Nov 29, 2011
    Messages:
    358
    Likes Received:
    108
    Occupation:
    lovin your mom
    You got any other cool sites to share....?:p SEo Power suite is pretty badass
     
  6. dog-tag

    dog-tag Senior Member

    Joined:
    Oct 19, 2010
    Messages:
    811
    Likes Received:
    912
    Occupation:
    Full-Time Internet Marketer + Business Consultant
    Location:
    Thailand
    Nice idea OP, I enjoy the real time analytics also...I think the IM pop up would annoy me though... I'm sick of seeing them on reseller hosting sites.

    Clicktale is cool as shit... wish it was cheaper, and you could have it on all your sites!
     
    • Thanks Thanks x 1
  7. Donestrgling

    Donestrgling Regular Member

    Joined:
    Nov 29, 2011
    Messages:
    358
    Likes Received:
    108
    Occupation:
    lovin your mom

    Its not a pop up it just chills on the side of the screen. Out of the way of the information. Ill be like so I see your interested in Product A. And they're like what the F*!? LOL It's kinda fun.
     
  8. wannabie

    wannabie Elite Member

    Joined:
    Mar 11, 2009
    Messages:
    3,807
    Likes Received:
    2,954
    Occupation:
    Seo and Marketing Suprisingly
    Location:
    Your bedroom window
    Home Page:
    Yea a few, I work for a big media agency and we spend about £4000 a month on services , I'll do a thread soon
     
    • Thanks Thanks x 2