SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Addict
    Join Date
    Jan 2005
    Location
    Hiding from the world
    Posts
    333
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    google analytics how to track conversions? having trouble

    Hi,

    i hope this is an ok place to ask this. I want to track click from adverts through to a signup page and then track the event of clicking the submit button (can't use success page due to the way the site is coded).

    I can't for the life of me find a simple to follow guide how to do this in simple terms. maybe i am not using the correct terms when searching for answers.

    does any one know a good tutorial or give me a bit of help setting this up.

    any help appreciated.

    thanks
    If i am a product of your imagination you should try harder!

  2. #2
    SitePoint Enthusiast
    Join Date
    May 2012
    Location
    Dallas
    Posts
    50
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You can use the following code in your submit button to get tracked in Analytics..
    onclick="_gaq.push(['_trackEvent', ' Contact', 'C2action', 'submit']);

  3. #3
    SitePoint Addict
    Join Date
    Jan 2005
    Location
    Hiding from the world
    Posts
    333
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,
    thanks for the reply.

    Am i correct though in thinking this just tracks any click on the submit button? if this is the case how would i make it so that it tracks where the person came from. I really need to know that they came from a link in my enewsletter or facebook ad etc and then completed the form.

    sorry if i am missing something.

    thanks
    If i am a product of your imagination you should try harder!


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •