If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Nov 2016
    Member #

    Can this be tracked by Google Analytics?

    Hey guys,

    I was wondering if my new wordpress opinion stage program could track the number of people who take the survey. I want to use google analytics but anything that could show me what percentage of people that come to my site take my survey would work. The code is:

    (function(d, s, id){
    var js,
    fjs = d.getElementsByTagName(s)[0],
    p = (('https:' == d.location.protocol) ? 'https://' : 'http://'),
    r = Math.floor(new Date().getTime() / 1000000);
    if (d.getElementById(id)) {return;}
    js = d.createElement(s); = id; js.async=1;
    js.src = p + "" + r;
    fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'os-widget-jssdk'));
    <div id="18576" class="os_widget" data-path="/alexdott/offer-ends-1-1-17" data-comments="false" data-of="alexdott"></div>


  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Not from USA
    Member #
    2784 times
    If you're directing users to a specific page upon completion of your survey, this would work:

    If you're keeping them on the same page, then you'll want to add a Javascript Analytics event.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 05:53 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: