• Resolved Trenton Talbot

    (@ttalbot)


    Is there a tracking snippet that could be used to track visitors on external (non-WP) pages on the same domain? Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Matthew

    (@mhdizmni)

    Hi @ttalbot,

    Thank you for reaching out to us!

    Please note that WP Statistics is a WordPress analytics tool designed specifically for WordPress websites.

    As such, it can only track visits to the website where it is installed and activated. It is not capable of tracking visits to other websites, including those on different subdomains, even if they share the same main domain.

    Let us know if you have any further questions or need additional assistance.

    Regards,
    Matthew

    Thread Starter Trenton Talbot

    (@ttalbot)

    Not on other websites; it’s the same website, same domain – just outside of WP’s “jurisdiction”. For example, a static HTML page in a subfolder of the same (sub)domain, or a different CMS managing said subfolder. Many tracking plugins offer injectable code snippets that could do just that.

    Yours seem to be using the following snippet:

    <script id="wp-statistics-tracker-js-extra"> [...] </script>

    …with a bunch of generated parameters.

    Then there’s this one:

    <script src="https://[domain.tld]/wp-content/uploads/[weird alphanumeric file name]" id="wp-statistics-tracker-js"></script>

    Would anything meaningful happen if I called the latter from HTML page that is not a part of WP installation, but sits on the same site?

    Plugin Support Matthew

    (@mhdizmni)

    Dear @ttalbot,

    Currently, WP Statistics only records visits and visitors to the WordPress websites where the plugin is installed.

    If the static page you’re referring to is not part of your WordPress site, or if you have separate WordPress installations on subdomains or subfolders, WP Statistics won’t be able to track those sites unless the plugin is installed and activated on each individual WordPress installation.

    Thank you for your understanding!

    Regards,
    Matthew

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.