TOPIC:

field / variable value on thank you page 8 months 3 days ago #265395

  • Topic Author
  • m_hockemeyer
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 20
  • Thanks: 2
Dear,

I´m using latest Joomla 3 and Breezingforms Version with a quick mode form for voucher orders.

The form has 5 pages, where the last page is the thank you page (form option).
On the 4th page there are two payment options. One brings you to paypal and redirects to page 5 after successful payment, the other one brings you directly to the 5th page.

Now I´ve configured a conversion in Google Tag Manager that triggers when the Thank You Text on page 5 comes into view. We´ve chosen that as conversion, because canceled paypal payments should not trigger a conversion, thus the button click event being not sufficient.

But now I´m facing a problem in order to activate the so called "enhanced conversions" (Google Ads). In order for them to work, I need to provide the email address and name of the sender who triggered the conversion by ordering the voucher. The values are in hidden input fields and are used in the automatic email responses upon form submit. However, the values are not accessible after the form was submitted and the thank you page is displayed. I need the two values (name and email) somewhere (preferably hidden) on the thank you page, in order for Google Tag Manager to track the enhanced conversion.

Is there any way to bring the values from the form to the thank you page?

Best wishes,
Martin

Please Log in or Create an account to join the conversation.

Last edit: Post by m_hockemeyer.

field / variable value on thank you page 8 months 3 days ago #265396

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10535
  • Karma: 3
  • Thanks: 705
Hi,

here is explain how to add name on thank you page
crosstec.org/en/forums/41-breezingforms-...you-page.html#246612

On same way you can add each field to thank you page

Hope this helps

Let me know if you need more help

Regards,
Tihana

Please Log in or Create an account to join the conversation.

Last edit: Post by tihana.krivic.

field / variable value on thank you page 8 months 3 days ago #265397

  • Topic Author
  • m_hockemeyer
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 20
  • Thanks: 2
Thanks for your response! However, the link does not work for me?

Please Log in or Create an account to join the conversation.

field / variable value on thank you page 8 months 3 days ago #265399

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10535
  • Karma: 3
  • Thanks: 705
Hi,

then I will write the code here.

Go to your form->Advanced->more options->Submit pieces->End Submit->check custom, and 1) put this:
$this->execPieceByName('ff_InitLib');
$session = JFactory::getSession();

//Get firstname value ElementName is name of your name element (not title)
$fn = ff_getSubmit('ElementName');

//Set session value
$session->set('fname', $fn);

2) go to your form->Advanced->more options->Form pieces->Before Form->check Custom and put this:
$session = JFactory::getSession();
if( JRequest::getInt( 'ff_status', -1 ) == 0 ){
$val = $session->get('fname', $fn);
echo 'Thank you '.$val .'We will write you soon';
}

On the same way you can add other form's element

If you need more help, please let me know

Regards,
Tihana
The following user(s) said Thank You: m_hockemeyer

Please Log in or Create an account to join the conversation.

field / variable value on thank you page 8 months 3 days ago #265405

  • Topic Author
  • m_hockemeyer
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 20
  • Thanks: 2
Works like a charm, thank you! <3

Please Log in or Create an account to join the conversation.

field / variable value on thank you page 8 months 3 days ago #265406

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 10535
  • Karma: 3
  • Thanks: 705
Hi,

super :)

If you need anything else, feel free to ask

Regards,
Tihana

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.050 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!