×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Google Adwords

Google Adwords 11 years 11 months ago #19033

  • Vera Csikós
  • Vera Csikós's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
Hi,

I have to place a Google Adwords Conversion code into the booking confirmation page.
Which file contains this page? :blush:

Thanks,
Vera

Google Adwords 11 years 11 months ago #19039

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Vera,

why don't you use a Joomla module or plugin for that? There are many alternatives before you change the code..

Best regards,

Yves
The following user(s) said Thank You: Vera Csikós

Google Adwords 11 years 11 months ago #19043

  • Vera Csikós
  • Vera Csikós's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
Thanks. I'm checking.
Do you have any suggestions? (there are a lot of them)

Google Adwords 11 years 11 months ago #19074

  • Vera Csikós
  • Vera Csikós's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
The plugins I have found are either only able to insert the Adwords code to the source of the page, or to specific parts like articles, VM checkout page, etc.

I have to place my code only into the booking confirmation page, because we want to track the conversion of our ads, not the whole page traffic from ads.

With Matukio, the booking confirmation page is the event page with a confirmation message on the top. Is there a way to create a custom confirmation page, because this way placing the code into it, would be easier.

Thanks,
Vera

Google Adwords 11 years 11 months ago #19162

  • Vera Csikós
  • Vera Csikós's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
please, the ads are up and running! :)
I have to know the conversion, the avaliable plugins/modules and components are not able to run the code on the booking thank you page.
help!

Google Adwords 11 years 11 months ago #19163

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hmm normally you load the code on the whole page and just set goals - you should not only load into the last page. There is no Thank you page, the user gets redirected back to event site (with a message thank you for your booking), so it is complicated to insert a adwords code there..

Perhaps the easiest way would be inserting the code into components/com_matukio/views/event/tmpl/default.php after line 424 extending the $html var with it.

Best regards,

Yves

Google Adwords 11 years 11 months ago #19164

  • Vera Csikós
  • Vera Csikós's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
Thanks!
With Adwords, you get a custom conversion code, which you have to place right after the part of the site where a measurable action happened. For example: nexletter signup thank you/opt-in thank you page, payment (weshops) successful page, or with Matukio, the booking confirmation page. This way you will know, how much did a customer/news letter reader cost you.

One more question, shall I copy the code after the } or before it?

Google Adwords 11 years 11 months ago #19171

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Before the } and you have to extend the $html var, you are in php code - e.g. $html .= "SCRIPT CODE";

Yves

Google Adwords 11 years 11 months ago #19272

  • Vera Csikós
  • Vera Csikós's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
During testing it seems to be the wrong place for the code, OR I did something wrong.
Is it possible to redirect to a custom page after successful booking?

Google Adwords 11 years 11 months ago #19320

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Vera,

this should be the best position. A redirect to a custom page would need huge changes in the code and requires some PHP skills. Could you please post the changes you have made? So i could have a look at it.

Best regards,

Yves

Google Adwords 11 years 11 months ago #19321

  • Vera Csikós
  • Vera Csikós's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 19
  • Thank you received: 0
Sure:
Attachments:

Google Adwords 11 years 11 months ago #19322

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
You have some errors in your code - double quotes have to be escaped or you have to switch to single quotes:

e.g. $html .= '.....';

or $html .= "<script type=\"text/javascript\"> ...."; etc.

Best regards,

Yves
  • Page:
  • 1
Time to create page: 0.120 seconds