A
A
AlexChez2019-02-09 15:10:44
Google Analytics
AlexChez, 2019-02-09 15:10:44

How to put a metric code or other analytics on the site if there is only a php redirect in the index page?

There is a simple php site with only the following code in the index page:
<?php
// Initialization
include_once('includes/load.php');
// If there is an action
if (isset($_GET['action']) || isset($_POST['action']))
// Call the actions script
include_once('actions.php');
else
// Includes the default page
include_once('import-list.php');
Question: how to embed the metric counter in this page or as a separate file?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dimonchik, 2019-02-09
@dimonchik2013

1) include html file with code - less reliable
2) measuremetn protocol is more reliable, but not complete information
, and in general they don’t put on a redirect

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question