Login | Forgot password | Register

X

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.

Jump to:

17480 Posts in 4474 Topics by 1973 members

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
  • Fabie
    avatar
    Community Member
    19 posts

    Adding Conversion tracking code to ONE page only Link to this post

    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

  • zyko
    avatar
    Community Member
    64 posts

    Re: Adding Conversion tracking code to ONE page only Link to this post

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

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

    g
    Helmut

  • Fabie
    avatar
    Community Member
    19 posts

    Re: Adding Conversion tracking code to ONE page only Link to this post

    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

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.