1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Tracking a checkbox event through google analytics.

Discussion in 'Google Analytics' started by Aniuj Sharma, Aug 13, 2015.

  1. #1
    Hi There,

    I am webmaster of a website where users are given an option of subscribing to newsletter while creating an account.
    [​IMG]
    I wish to have an event tracker installed within the checkbox next to "Do you want to subscribe to our newsletter?*" (see just above the buttons in the image.

    The code for the checkbox is:

    <label style="width: 84%;" id="subscribe">Do you want to subscribe our newsletter?*</label> </p>
    <div style="padding-left: 102px;">
    <span style="margin-top: -13px;position: absolute;"><input type="checkbox" name="subscribe" value="1">Yes</span>
    <!-- <span><input type="radio" name="subscribe" value="0">No</span> -->


    Can anyone tell me how will the code be applied?
    An example from your own website would be of great help to me. :)
    Thanks.
     
    Aniuj Sharma, Aug 13, 2015 IP
  2. Patricia Ann Lee

    Patricia Ann Lee Active Member

    Messages:
    1,190
    Likes Received:
    73
    Best Answers:
    1
    Trophy Points:
    95
    #2
    Patricia Ann Lee, Aug 13, 2015 IP
  3. Aniuj Sharma

    Aniuj Sharma Member

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #3
    Thanks! Call me a noob but this is just too vague for me.. I deeply appreciate the help though ! :)
     
    Aniuj Sharma, Aug 19, 2015 IP