• Hello,
    I’m looking for a plugin which allows free (!) usable shortcodes both on frontend-pages as well as in PHP-widgets.
    I have read the article on https://help.10web.io/hc/en-us/articles/360017852692-Publishing-Google-Analytics-Widget but as far as I understood the plugin only offers it’s own widget to display GA-data om the frontend, right?
    What I want to do is to use the values of total visitors, yesterdays visitors, todays visitors and current visitors within my own PHP-widget. Data should be fetched by something like
    <?php
    $a = do_shortcode(“[your_shortcode_for_all_visitors_of_the_site]”);

    ?>
    Is that possible?
    Thanks a lot for your kind response.
    Kind regards
    Matta

    The page I need help with: [log in to see the link]

  • The topic ‘GA shortcode’ is closed to new replies.