Conversion tracking on an SSL page with AJAX response

18 views
Skip to first unread message

Jannik Olsen

unread,
Dec 15, 2014, 10:57:04 AM12/15/14
to adwor...@googlegroups.com
Heya,

I've got a programmatic question here, not sure if I've got the right group for this, but here we go:

I've got a problem tracking conversions on my signup form, which is on an SSL encrypted page. The "succes page" (called response page here - it's not an actual page tho) is fetched via AJAX and this is the place the conversion is to be added - usually. I've tried a few different things with varying degrees of succes:

1) using iframe on the response page to add the google code to the page:
 - it did not work at all, likely due to SSL

2) fetching all resources in js callback with jQuery $.getScript and temporarily replacing document.write with a custom function so that the google code doesn't break because of this:
 - the functionality worked but the getScript part didn't as it tries loading an unsecure script from a secure location = script blocked
 - I tried changing the google script path to https but I just got no response - was worth a shot tho

3) using just the img pixel provided:
 - got the response that it lacked a value parameter (which is likely usually supplied by the js)
 - I then set the value manually to 1 and it worked
 - I read more about it and as expexted the value conversions are then rather useless - so far it's my best bet tho

SO - any1 got any thoughts on this? Resources to look up?

Thanks in advance for your help on this :)

/Jannik
Reply all
Reply to author
Forward
0 new messages