Add Tracking Code

  • stiffler3000
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 7 months ago #11461 by stiffler3000
Add Tracking Code was created by stiffler3000
Hello,

how can I add Google AdWords Tracking Code to the Thank-You-Page?
I tried in HTML-Mode but it cuts the code to the noskript-part.

Thank you in advance for your help!

Best wishes,
Stefan

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

More
13 years 7 months ago #11497 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Add Tracking Code
Hi Stephan

Joomla removes the code by default. You can modify code of Event Booking alitle to allow saving code. The steps are :

1. Open the file administrator/components/com_eventbooking/controller.php

2. Looks at the code at 173 (in the function save_configuration) :
Code:
$data = JRequest::get('post', JREQUEST_ALLOWHTML) ;

3. Change that code to :
Code:
$data = JRequest::get('post', JREQUEST_ALLOWRAW) ;

After that, you should be able to insert the Google AdWords Tracking Code to the Thank-You message !

Regards,

Tuan

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

  • stiffler3000
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 7 months ago #11577 by stiffler3000
Replied by stiffler3000 on topic Re: Add Tracking Code
This works!

Thank you!

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

More
13 years 7 months ago #11594 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Add Tracking Code
Great, thanks for the update !

Tuan

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

Moderators: Tuan Pham Ngoc