Tracking code not working. No traffic show in dashboard

i have installed the tracking code in my Codeigniter web app, but no traffic shown in matomo dashboard. it says tracking code not detected, even after 24 hrs of installation


Can you check if the requests to matomo.js and matomo.php are made?

tracking working fine now in chrome, its because i have enabled do not track in the browser.

now I’m trying to implement content level tracking. can you suggest me links for implementing the same?

You can find a general introduction in
and a more technical one here:

thank you.
Sender notified by
20/10/19, 16:10:29

i have run through the docs you shared and implemented content tracking, below my code

This is my tracking code. in header

<!-- Matomo -->
    <script type="text/javascript">
      var _paq = window._paq || [];
      /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
      (function() {
        var u="//";
        _paq.push(['setTrackerUrl', u+'matomo.php']);
        _paq.push(['setSiteId', '1']);
        var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
        g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
    <!-- End Matomo Code -->

This is my AD block. contain 3 image ADs

<div class="card  br-square">
    <div class="card-block slider">
        <a href="" target="_blank" data-track-content>
               <img src="<?php echo base_url();?>assets/dashboard/images/ad3.png" data-content-name="Dashboard AD3" data-content-piece="ad3.png"/>
        <a href="" target="_blank" data-track-content>
                 <img src="<?php echo base_url();?>assets/dashboard/images/ad2.png" data-content-name="Dashboard AD2" data-content-piece="ad2.png"/>
        <a href="" target="_blank" data-track-content>
                 <img src="<?php echo base_url();?>assets/dashboard/images/ad1.png" data-content-name="Dashboard AD1" data-content-piece="ad1.png"/>

i’m trying to track the click and impression of my ads which is in the format of a slider. when user change the slider image, need to track the impression for the following.

as of now its tracking first image only

@Lukas how to sort this out? is there any bug in that code snippet?