Thanks for taking a look at this. My task at hand is to put a html page in qualtrics, as an iframe (is the current thinking), and from that to see if I can get user data through event tracking to be sent to Google Analytics. So far, I understand how to send events to GA, and I'm working on the Custom Dimensions, but I have to wait a day to see if that's worked.
What I need though, is a unique ID, which I generate with qualtric's random number generator php. I need this unique ID to be sent to Google Analytics so that I can identify who's doing what on the embedded page. So I've looked at the Qualtrics javascript stuff, and I can get qualtrics itself to generate the id through javascript:
<script language="javascript">
var user = '${e://Field/user}';
document.write (user);
</script>
This works to just display the number in Qualtrics, but I know I'm missing a huge step, because implementing the same thing in an embedded webpage won't work - will it? I've tried, without success, and I've even used the
Qualtrics.SurveyEngine.addOnload(function()
{});
without success.
If you have any suggestions, that would keep the user in Qualtrics, but pass the embedded data for a unique individual's user events on an embedded webpage to GA, I'm all ears. Any reconceptualizing is cool to.
I'm just trying to figure out who is doing what on my embedded pages (iframed webpages) in Qualtrics.
Maybe this source will help: http://ut1.qualtrics.com/WRAPI/QuestionAPI/classes/Qualtrics%20JavaScript%20Question%20API.html
Thank you very much for any advice or direction.