Remember me? forgot password | register

SilverStripe Forum

10690 Posts in 2797 Topics by 1519 members

Jump to:

Site Builders

If this is your first visit, you will need to register before you can post. However, you can browse all messages below.

Community » SilverStripe Forum » Site Builders » Adding Conversion tracking code to ONE page only
Page: 1 go to end Reply
Author Topic: Adding Conversion tracking code to ONE page only 493 views
  • Fabie
    avatar
    Community Member
    16 posts
    6 SilverStripe Sites

    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

    Last edited: 5 June 2008 at 11:21am

  • 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

    Last edited: 5 June 2008 at 11:22pm

  • Fabie
    avatar
    Community Member
    16 posts
    6 SilverStripe Sites

    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

    493 views
go to top Reply

Currently Online:

François, Apophenian, Aster

Welcome to our latest member: patrics