TOPIC:

Tracking code that includes Form ID 3 days 21 hours ago #261736

  • Topic Author
  • kaizendeep
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 51
  • Thanks: 0
Hi I'm trying to include this tracking code for the thank you page that pushes the Form ID (under "lead_ID") to it.

Anyway this can be done? I've tried the examples here but no success.

Script is as follows:

```<script>
var __atw = __atw || [];
__atw.push({
"mcn": "1e8ca836c962598551882e689265c1c5",
"param": {
"result_id": "13",
"identifier": "lead_id"}
});
var timestamp = new Date().getTime();
(function (d) {
var s = d.createElement('script');s.src = ' cv.accesstra.de/js/nct/cv_global.js?cb= ' + timestamp;s.async = true;
var e = d.getElementsByTagName('script')[0];e.parentNode.insertBefore(s, e);})
(document);
</script>```

Regards,
Kaizendeep

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

Last edit: Post by kaizendeep.

Tracking code that includes Form ID 3 days 19 hours ago #261739

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

maybe this could help:
crosstec.org/en/forums/41-breezingforms-...ank-page.html#246572

Let me know the result

Regards,
Tihana

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

Tracking code that includes Form ID 3 days 18 hours ago #261740

  • Topic Author
  • kaizendeep
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 51
  • Thanks: 0
Hi Tihana.

Getting a 404 error on that link.. is it correct?

Warm regards,
Hardeep

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

Tracking code that includes Form ID 3 days 17 hours ago #261741

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

ok, I copied text from email :)

1) add hidden input to you form and name it "record_id".
2) Add thank you page. Go to this page->Properties->Intro.
The HTML editor will open. -> go to Tools-> <>Source code, and put this:
<p>Thank you for your submission. <br /> Here is your record id: </p>
<div id="record_id"> </div>

3) go to your form->Advanced->More options->Form pieces->After Form->check custom and put this:
if( JRequest::getInt( 'ff_status', -1 ) == 0 ){
  echo '<script type="text/javascript">
<!--
document.getElementById("record_id").innerHTML = "'.JFactory::getSession()->get('breezingforms.code', '').'";  
//->
</script>';
}
4) go to your form->Advanced->More options->Submit pieces->End Submit->check custom and put this:
$this->execPieceByName('ff_InitLib');
JFactory::getSession()->set('breezingforms.code', $this->record_id);

Also, I create an example for you.

File Attachment:

File Name: recordidth...7-22.zip
File Size:7 KB


Please download, unzip and install it (Configuration->Packace Installer->Select file->Install Package).

Let me know if it work for you

Regards,
Tihana
Attachments:

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

Last edit: Post by tihana.krivic.

Tracking code that includes Form ID 3 days 17 hours ago #261744

  • Topic Author
  • kaizendeep
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 51
  • Thanks: 0
Hi Tihana.

Okay, so i tried that but the ID is not appearing in the thank you page (see the screenshot).

I feel we are close to solving this though. BTW i am using the latest versions of Breezingforms and Joomla.
Attachments:

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

Tracking code that includes Form ID 3 days 17 hours ago #261745

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

Could you please send me your login info and backend link that I can see where the problem is?

Use this tag:
[confidential]
[/confidential]
And please write name of form

Regards,
Tihana

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

Moderators: ForumSupport
Time to create page: 0.053 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!