WordPress.org

Support

Support » Plugins and Hacks » Google Analytics Dashboard » [Resolved] [Plugin: Google Analytics Dashboard] Embedding Stats in Post template (single.php)

[Resolved] [Plugin: Google Analytics Dashboard] Embedding Stats in Post template (single.php)

Viewing 1 replies (of 1 total)
  • No one to help ? 🙂

    I’ve found it alone :))

    To do so, having number in place of the image …. you have to use this function: replace “sparkline” with “text”

    <?php $data = new GADWidgetData(); echo $data->gad_pageviews_text(substr($_SERVER[“REQUEST_URI”], -20)); ?>

    Voilà 🙂

    Thanks all

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Google Analytics Dashboard] Embedding Stats in Post template (single.php)’ is closed to new replies.
Skip to toolbar