How to write code for tracking rich media banner ads? like numbers of impressions, clicks on particular buttons etcJavaScript/jQuery Track Number of Image Button Clickshtml5 video tag not working in android phonegapLoading HTML5 video on iPad via onclick event tied to a divjQuery click events firing multiple timesPHP parse/syntax errors; and how to solve them?Writing a Function that will Keep Track of Button ClicksTracking events in Universal Analytics only partly workingHow to Capture youtube video as image which is been played in iFrame?In Angular, how do you determine the active route?Getting black screen when I load next video dynamically using JavaScript

N.B. ligature in Latex

How do we improve the relationship with a client software team that performs poorly and is becoming less collaborative?

Why was the small council so happy for Tyrion to become the Master of Coin?

"You are your self first supporter", a more proper way to say it

TGV timetables / schedules?

Work Breakdown with Tikz

Patience, young "Padovan"

Do airline pilots ever risk not hearing communication directed to them specifically, from traffic controllers?

Validation accuracy vs Testing accuracy

Can I interfere when another PC is about to be attacked?

XeLaTeX and pdfLaTeX ignore hyphenation

Why is the design of haulage companies so “special”?

Example of a relative pronoun

Can a German sentence have two subjects?

Is it possible to make sharp wind that can cut stuff from afar?

Are there any consumables that function as addictive (psychedelic) drugs?

Copenhagen passport control - US citizen

Why is an old chain unsafe?

Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?

A newer friend of my brother's gave him a load of baseball cards that are supposedly extremely valuable. Is this a scam?

How can the DM most effectively choose 1 out of an odd number of players to be targeted by an attack or effect?

Should I join office cleaning event for free?

"which" command doesn't work / path of Safari?

How did the USSR manage to innovate in an environment characterized by government censorship and high bureaucracy?



How to write code for tracking rich media banner ads? like numbers of impressions, clicks on particular buttons etc


JavaScript/jQuery Track Number of Image Button Clickshtml5 video tag not working in android phonegapLoading HTML5 video on iPad via onclick event tied to a divjQuery click events firing multiple timesPHP parse/syntax errors; and how to solve them?Writing a Function that will Keep Track of Button ClicksTracking events in Universal Analytics only partly workingHow to Capture youtube video as image which is been played in iFrame?In Angular, how do you determine the active route?Getting black screen when I load next video dynamically using JavaScript






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








-5















Actually, I am working on an ad platform for the advertiser, so I need to show rich media banner ads reports as well. Like the number of impressions, clicks received, how many times videos played in ads(if any video there with ad), number of clicks on particular buttons/elements.



Please guide me. All the suggestions are welcome.



Thanks










share|improve this question






















  • How to Ask // This is way too broad of a question for this site. We can help you with specific programming problems, if you ask specific questions. “Please guide me” is anything but that though. You need to do some initial work yourself here first of all.

    – 04FS
    Mar 8 at 8:18

















-5















Actually, I am working on an ad platform for the advertiser, so I need to show rich media banner ads reports as well. Like the number of impressions, clicks received, how many times videos played in ads(if any video there with ad), number of clicks on particular buttons/elements.



Please guide me. All the suggestions are welcome.



Thanks










share|improve this question






















  • How to Ask // This is way too broad of a question for this site. We can help you with specific programming problems, if you ask specific questions. “Please guide me” is anything but that though. You need to do some initial work yourself here first of all.

    – 04FS
    Mar 8 at 8:18













-5












-5








-5








Actually, I am working on an ad platform for the advertiser, so I need to show rich media banner ads reports as well. Like the number of impressions, clicks received, how many times videos played in ads(if any video there with ad), number of clicks on particular buttons/elements.



Please guide me. All the suggestions are welcome.



Thanks










share|improve this question














Actually, I am working on an ad platform for the advertiser, so I need to show rich media banner ads reports as well. Like the number of impressions, clicks received, how many times videos played in ads(if any video there with ad), number of clicks on particular buttons/elements.



Please guide me. All the suggestions are welcome.



Thanks







javascript php tracking






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 8 at 5:54









Manoj MauryaManoj Maurya

13




13












  • How to Ask // This is way too broad of a question for this site. We can help you with specific programming problems, if you ask specific questions. “Please guide me” is anything but that though. You need to do some initial work yourself here first of all.

    – 04FS
    Mar 8 at 8:18

















  • How to Ask // This is way too broad of a question for this site. We can help you with specific programming problems, if you ask specific questions. “Please guide me” is anything but that though. You need to do some initial work yourself here first of all.

    – 04FS
    Mar 8 at 8:18
















How to Ask // This is way too broad of a question for this site. We can help you with specific programming problems, if you ask specific questions. “Please guide me” is anything but that though. You need to do some initial work yourself here first of all.

– 04FS
Mar 8 at 8:18





How to Ask // This is way too broad of a question for this site. We can help you with specific programming problems, if you ask specific questions. “Please guide me” is anything but that though. You need to do some initial work yourself here first of all.

– 04FS
Mar 8 at 8:18












1 Answer
1






active

oldest

votes


















0














What You are asking is very broad. Anyway, am gonna try for you.



First You may need for example to create different Table that will hold those information's in your database. A quick look at the table might look like below



// create table to hold users/clickers info
create table user(id int primary key auto_increment,username varchar(30));

// lets insert into user table
insert into user(id,username) values(101,'Nancy');

//create table ad_tracking
create table Ad_Tracking(id int(11) primary key auto_increment,likes int(11), views int(11),video_clicks int(11) ad_info text);

// Create ad_like table
create table Ad_like(id int(11) primary key auto_increment,likes int(11), ad_id int(11),user_id int(11));

// Create ad_viewers table
create table Ad_view(id int(11) primary key auto_increment,views int(11), ad_id int(11),user_id int(11));



// Create video_click table
create table Ad_video_click(id int(11) primary key auto_increment,video_click int(11), ad_id int(11),user_id int(11));


So lets assume you have inserted values into it as per below



insert into Ad_Tracking(id,ad_info) values(1,'My first Ad');
insert into Ad_Tracking(id,ad_info) values(2,'My second Ad');


Using Like(or video_clicks or view counts as a case studty)



Ideally query to add like count,
You will need the ad_id of the ad_tracking, the user_id of the user etc. before then you will need to run sql queries to check if the user that is about to click video,likes etc already done that.



So your insert will look like



insert into ad_like(like,ad_id,user_id) values(1,1,101);


You can now code along with php or whatever language you want.
I guess you get the hint now...






share|improve this answer























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55057474%2fhow-to-write-code-for-tracking-rich-media-banner-ads-like-numbers-of-impression%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    What You are asking is very broad. Anyway, am gonna try for you.



    First You may need for example to create different Table that will hold those information's in your database. A quick look at the table might look like below



    // create table to hold users/clickers info
    create table user(id int primary key auto_increment,username varchar(30));

    // lets insert into user table
    insert into user(id,username) values(101,'Nancy');

    //create table ad_tracking
    create table Ad_Tracking(id int(11) primary key auto_increment,likes int(11), views int(11),video_clicks int(11) ad_info text);

    // Create ad_like table
    create table Ad_like(id int(11) primary key auto_increment,likes int(11), ad_id int(11),user_id int(11));

    // Create ad_viewers table
    create table Ad_view(id int(11) primary key auto_increment,views int(11), ad_id int(11),user_id int(11));



    // Create video_click table
    create table Ad_video_click(id int(11) primary key auto_increment,video_click int(11), ad_id int(11),user_id int(11));


    So lets assume you have inserted values into it as per below



    insert into Ad_Tracking(id,ad_info) values(1,'My first Ad');
    insert into Ad_Tracking(id,ad_info) values(2,'My second Ad');


    Using Like(or video_clicks or view counts as a case studty)



    Ideally query to add like count,
    You will need the ad_id of the ad_tracking, the user_id of the user etc. before then you will need to run sql queries to check if the user that is about to click video,likes etc already done that.



    So your insert will look like



    insert into ad_like(like,ad_id,user_id) values(1,1,101);


    You can now code along with php or whatever language you want.
    I guess you get the hint now...






    share|improve this answer



























      0














      What You are asking is very broad. Anyway, am gonna try for you.



      First You may need for example to create different Table that will hold those information's in your database. A quick look at the table might look like below



      // create table to hold users/clickers info
      create table user(id int primary key auto_increment,username varchar(30));

      // lets insert into user table
      insert into user(id,username) values(101,'Nancy');

      //create table ad_tracking
      create table Ad_Tracking(id int(11) primary key auto_increment,likes int(11), views int(11),video_clicks int(11) ad_info text);

      // Create ad_like table
      create table Ad_like(id int(11) primary key auto_increment,likes int(11), ad_id int(11),user_id int(11));

      // Create ad_viewers table
      create table Ad_view(id int(11) primary key auto_increment,views int(11), ad_id int(11),user_id int(11));



      // Create video_click table
      create table Ad_video_click(id int(11) primary key auto_increment,video_click int(11), ad_id int(11),user_id int(11));


      So lets assume you have inserted values into it as per below



      insert into Ad_Tracking(id,ad_info) values(1,'My first Ad');
      insert into Ad_Tracking(id,ad_info) values(2,'My second Ad');


      Using Like(or video_clicks or view counts as a case studty)



      Ideally query to add like count,
      You will need the ad_id of the ad_tracking, the user_id of the user etc. before then you will need to run sql queries to check if the user that is about to click video,likes etc already done that.



      So your insert will look like



      insert into ad_like(like,ad_id,user_id) values(1,1,101);


      You can now code along with php or whatever language you want.
      I guess you get the hint now...






      share|improve this answer

























        0












        0








        0







        What You are asking is very broad. Anyway, am gonna try for you.



        First You may need for example to create different Table that will hold those information's in your database. A quick look at the table might look like below



        // create table to hold users/clickers info
        create table user(id int primary key auto_increment,username varchar(30));

        // lets insert into user table
        insert into user(id,username) values(101,'Nancy');

        //create table ad_tracking
        create table Ad_Tracking(id int(11) primary key auto_increment,likes int(11), views int(11),video_clicks int(11) ad_info text);

        // Create ad_like table
        create table Ad_like(id int(11) primary key auto_increment,likes int(11), ad_id int(11),user_id int(11));

        // Create ad_viewers table
        create table Ad_view(id int(11) primary key auto_increment,views int(11), ad_id int(11),user_id int(11));



        // Create video_click table
        create table Ad_video_click(id int(11) primary key auto_increment,video_click int(11), ad_id int(11),user_id int(11));


        So lets assume you have inserted values into it as per below



        insert into Ad_Tracking(id,ad_info) values(1,'My first Ad');
        insert into Ad_Tracking(id,ad_info) values(2,'My second Ad');


        Using Like(or video_clicks or view counts as a case studty)



        Ideally query to add like count,
        You will need the ad_id of the ad_tracking, the user_id of the user etc. before then you will need to run sql queries to check if the user that is about to click video,likes etc already done that.



        So your insert will look like



        insert into ad_like(like,ad_id,user_id) values(1,1,101);


        You can now code along with php or whatever language you want.
        I guess you get the hint now...






        share|improve this answer













        What You are asking is very broad. Anyway, am gonna try for you.



        First You may need for example to create different Table that will hold those information's in your database. A quick look at the table might look like below



        // create table to hold users/clickers info
        create table user(id int primary key auto_increment,username varchar(30));

        // lets insert into user table
        insert into user(id,username) values(101,'Nancy');

        //create table ad_tracking
        create table Ad_Tracking(id int(11) primary key auto_increment,likes int(11), views int(11),video_clicks int(11) ad_info text);

        // Create ad_like table
        create table Ad_like(id int(11) primary key auto_increment,likes int(11), ad_id int(11),user_id int(11));

        // Create ad_viewers table
        create table Ad_view(id int(11) primary key auto_increment,views int(11), ad_id int(11),user_id int(11));



        // Create video_click table
        create table Ad_video_click(id int(11) primary key auto_increment,video_click int(11), ad_id int(11),user_id int(11));


        So lets assume you have inserted values into it as per below



        insert into Ad_Tracking(id,ad_info) values(1,'My first Ad');
        insert into Ad_Tracking(id,ad_info) values(2,'My second Ad');


        Using Like(or video_clicks or view counts as a case studty)



        Ideally query to add like count,
        You will need the ad_id of the ad_tracking, the user_id of the user etc. before then you will need to run sql queries to check if the user that is about to click video,likes etc already done that.



        So your insert will look like



        insert into ad_like(like,ad_id,user_id) values(1,1,101);


        You can now code along with php or whatever language you want.
        I guess you get the hint now...







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 8 at 9:35









        Nancy MooreeNancy Mooree

        679139




        679139





























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55057474%2fhow-to-write-code-for-tracking-rich-media-banner-ads-like-numbers-of-impression%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            1928 у кіно

            Захаров Федір Захарович

            Ель Греко