Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Archive
SilverStripe Forums » Archive » Adding Conversion tracking code to ONE page only
Our old forums are still available as a read-only archive.
|
Page:
1
|
Go to End | |
| Author | Topic: Adding Conversion tracking code to ONE page only | 745 Views |
-
Adding Conversion tracking code to ONE page only

5 June 2008 at 10:47am Last edited: 5 June 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
-
Re: Adding Conversion tracking code to ONE page only

5 June 2008 at 11:22pm Last edited: 5 June 2008 11:22pm
one simple solution might be, hacking your page.ss file
<% if MenuTitle = "yourthankspageMenueTitle" %>
... here comes your AdWordsCode ...
<% end_if %>g
Helmut -
Re: Adding Conversion tracking code to ONE page only

5 June 2008 at 11:23pm
Hi Helmut,
Thanks for that, seems like a great simple hack!
Appreciate it
fabie
| 745 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: iforme, Webdoc
Welcome to our latest member: AlfonsoGrondo


