Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Adding Conversion tracking code to ONE page only


Reply


3 Posts   2219 Views

Avatar
Fabie

Community Member, 28 Posts

5 June 2008 at 10:47am

Edited: 05/06/2008 11:21am

Hello,

I need to add Google AdWords conversion tracking code to one page only (for instance the "Thank you page on Silverstripe" to track registrations to a newsletter)

If I try to do this via the Silverstripe interface using the "HTML" button it does not save properly and does not allow me to do so : dev.untanglemyweb.com/ConversionTrackingSilverStripe.pdf

Anyone would have a solution for this?

Thanks a lot for your help!

Fabie

Avatar
zyko

Community Member, 66 Posts

5 June 2008 at 11:22pm

Edited: 05/06/2008 11:22pm

one simple solution might be, hacking your page.ss file

<% if MenuTitle = "yourthankspageMenueTitle" %>
... here comes your AdWordsCode ...
<% end_if %>

g
Helmut

Avatar
Fabie

Community Member, 28 Posts

5 June 2008 at 11:23pm

Hi Helmut,

Thanks for that, seems like a great simple hack!

Appreciate it :)

fabie