Hi !
Joomla 2.5.4
Chronoform: 4
I use a simple request form in a lightbox and for Google Goal purpose, I would need to differenciate the success to the fail post by modifying the IFrame URL (adding a GET parameter).
Actually, when the form is posted, I save datas, send email and present a Thank you message but for all this, the IFrame URL does not change so Google can't "see" if the form has been posted and if the post is successfull or not.
What would be the best way to implement such solution ?
Thank you!
Joomla 2.5.4
Chronoform: 4
I use a simple request form in a lightbox and for Google Goal purpose, I would need to differenciate the success to the fail post by modifying the IFrame URL (adding a GET parameter).
Actually, when the form is posted, I save datas, send email and present a Thank you message but for all this, the IFrame URL does not change so Google can't "see" if the form has been posted and if the post is successfull or not.
What would be the best way to implement such solution ?
Thank you!
Hi hlaroque,
How are you setting the IFrame URL now? You could possibly change it using JavaScript somehow.
Bob
How are you setting the IFrame URL now? You could possibly change it using JavaScript somehow.
Bob
I use the modal window of joomla:
<a class="modal" href="index.php?option=com_chronoforms&chronoform=demande-de-service&tmpl=component&lang=fr-FR" rel="{handler: 'iframe', size: {x: 450, y: 650}, iframeOptions: {scrolling: 'no'}}">(...)
The URL does not change during the post.
<a class="modal" href="index.php?option=com_chronoforms&chronoform=demande-de-service&tmpl=component&lang=fr-FR" rel="{handler: 'iframe', size: {x: 450, y: 650}, iframeOptions: {scrolling: 'no'}}">(...)
The URL does not change during the post.
Hi hlarocque,
I'm not sure how this would work :-( As I said before you can probably do it with JavaScript somehow.
Bob
I'm not sure how this would work :-( As I said before you can probably do it with JavaScript somehow.
Bob
This topic is locked and no more replies can be posted.