• 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?


#1
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:

<script>
(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); js.id = id; js.async=1;
js.src = p + "www.opinionstage.com/assets/loader.js?" + r;
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'os-widget-jssdk'));
</script>
<div id="18576" class="os_widget" data-path="/alexdott/offer-ends-1-1-17" data-comments="false" data-of="alexdott"></div>
 

bigdave

Moderator
Staff member
#2
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
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...

Best,
Alex
 

bigdave

Moderator
Staff member
#4
By embedded do I take it thatit's being served from another host or API? Does the original software not track interations?
 
#6
You can create an event onsubmit for the form. https://goo.gl/dodBqj

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!