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

Can this be tracked in Google Analytics?

Discussion in 'Website Design Forum:' started by Alex Dott, Nov 7, 2016.

  1. Alex Dott

    Alex Dott New Member

    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>
  2. bigdave

    bigdave Moderator Staff Member

    Does the survey lead to a completion page or a thanks page? If so you could track the number of users landing on that page from the survey page. This would also give you the possibility of tracking the survey's abandon rate.
  3. Alex Dott

    Alex Dott New Member

    Thank you for your prompt response, Dave.

    It does not, it's embedded directly into the website. If it is not possible to track this event I'm open to trying another survey software, but have been unable to find one that offers a redirect...

  4. bigdave

    bigdave Moderator Staff Member

    By embedded do I take it thatit's being served from another host or API? Does the original software not track interations?
  5. Alex Dott

    Alex Dott New Member

  6. davidvee

    davidvee New Member

    You can create an event onsubmit for the form.

    From there you could create a goal using the variables in the event you set up. From there you can build a custom report in GA to show your "goal conversion rate" for that goal. Good luck!
    bigdave likes this.

Share This Page