Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter Vickymedia

    (@vickymedia)

    Hello Gravitate,

    waiting for a positive response meanwhile below are my inputs please help for the same :

    TItle Discription : taboola below article
    Selector/Element : .track-taboolabelowarticle
    Category : Taboola ADVT
    Action (onmouseclick) : advttaboolabelowarticle
    label : advttaboolabelowarticle_{ITEM_TITLE}_{PAGE_URL}_{PAGE_RELATIVE_URL}_{LINK_URL}_{LINK_RELATIVE_URL}_{IMAGE_SRC}_{IMAGE_ALT}_{TAG_HTML}
    
    for the following code where i am using my Selector/ Element  used as class and have also used title :
    
    <div id="taboola-below-article-thumbnails" class=".track-taboolabelowarticle" title="taboola below article"></div>
    <script type="text/javascript">
      window._taboola = window._taboola || [];
      _taboola.push({
        mode: 'thumbnails-a',
        container: 'taboola-below-article-thumbnails',
        placement: 'Below Article Thumbnails',
        target_type: 'mix'
      });
    </script>

    If issue solve will rate 5 stars and good review as well please help.

    Regards,
    Vicky

    Plugin Author Gravitate

    (@gravitate)

    Hi Vickymedia,
    This plugin is meant to be used with “selectors”.
    It seems that you might need a developer to help you as your code seems a little out of the ordinary. Typically if you want to track a click on an item all you need to do is place in the selector of the item in the Plugin. For instance if you want to track a click on this item

    <a href="somelink.html" class="class-name">Link</a>

    you would use the selector
    .class-name

    I notice that in your code above you have a dot in your class name, which is usually not in the markup.

    Thread Starter Vickymedia

    (@vickymedia)

    Hello,

    Thanks for the help will remove the dot from the class and test.

    this code is an outbound link for.

    Thanks,
    Vicky

    Thread Starter Vickymedia

    (@vickymedia)

    Hello,

    have tested after removing the DOT still not working.

    the above code is an outbound link

    Thanks,
    Vicky

    Plugin Author Gravitate

    (@gravitate)

    Hi Vicky,
    The dot was just one issue I found with your code. There seems to be many others and it looks like your not using the Plugin correctly. At this point I can’t offer much help. I would suggest you have another Developer review your code and the Plugin.

    Thread Starter Vickymedia

    (@vickymedia)

    Hello,

    Thanks for reply may be I am not using the plugin properly may be after viewing the steps provided by you. still I might be making the entries incorrectly.

    Can you give an example what to enter in this fields :

    TItle Discription : what should i add here do I have to use this title next to ID or Class in the code
    Selector/Element : (this would be mostly ID or class)
    Category : what should I add here
    Action (onmouseclick) : advttaboolabelowarticle
    label :advttaboolabelowarticle_{ITEM_TITLE}_{PAGE_URL}_{PAGE_RELATIVE_URL}_{LINK_URL}_{LINK_RELATIVE_URL}_{IMAGE_SRC}_{IMAGE_ALT}_{TAG_HTML}

    action name and label have to be same ?

    thanks,
    Vicky

    Plugin Author Gravitate

    (@gravitate)

    The main issue your having is with the Selector/Element.
    If you want to target an ID you need to use the #id
    if you want to target a class then you use the .class
    This follows jQuery selectors.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘advert click tracking’ is closed to new replies.