webanalytic-trackers
v2.0.0
Published
Get web analytic for yor website
Readme
��#� �A�n�a�l�y�t�i�c�s� �N�P�M� �P�a�c�k�a�g�e�
�
�
�
�#�#� �O�v�e�r�v�i�e�w�
�
��A�n�a�l�y�t�i�c�s�� �i�s� �a� �s�i�m�p�l�e� �R�e�a�c�t� �c�o�m�p�o�n�e�n�t� �t�h�a�t� �t�r�a�c�k�s� �u�s�e�r� �s�e�s�s�i�o�n�s�,� �d�e�v�i�c�e� �t�y�p�e�s�,� �a�n�d� �c�o�u�n�t�r�y� �i�n�f�o�r�m�a�t�i�o�n� �f�o�r� �w�e�b�s�i�t�e� �a�n�a�l�y�t�i�c�s�.� �T�h�e� �p�a�c�k�a�g�e� �a�u�t�o�m�a�t�i�c�a�l�l�y� �c�a�p�t�u�r�e�s� �s�e�s�s�i�o�n� �d�a�t�a� �a�n�d� �s�e�n�d�s� �i�t� �t�o� �a� �s�p�e�c�i�f�i�e�d� �t�r�a�c�k�i�n�g� �s�e�r�v�e�r�.�
�
�
�
�#�#� �I�n�s�t�a�l�l�a�t�i�o�n�
�
�
�
�Y�o�u� �c�a�n� �i�n�s�t�a�l�l� �t�h�e� �p�a�c�k�a�g�e� �u�s�i�n�g� �n�p�m� �o�r� �y�a�r�n�:�
�
�
�
����s�h�
�
�n�p�m� �i�n�s�t�a�l�l� �w�e�b�a�n�a�l�y�t�i�c�-�t�r�a�c�k�e�r�s�
�
����
�
�
�
�o�r�
�
�
�
����s�h�
�
�y�a�r�n� �a�d�d� �w�e�b�a�n�a�l�y�t�i�c�-�t�r�a�c�k�e�r�s�
�
����
�
�
�
�#�#� �U�s�a�g�e�
�
�
�
�I�m�p�o�r�t� �t�h�e� ��A�n�a�l�y�t�i�c�s�� �c�o�m�p�o�n�e�n�t� �i�n� �y�o�u�r� �R�e�a�c�t� �a�p�p�l�i�c�a�t�i�o�n� �a�n�d� �i�n�c�l�u�d�e� �i�t� �i�n� �y�o�u�r� �c�o�m�p�o�n�e�n�t� �t�r�e�e�.�
�
�
�
����t�s�x�
�
�i�m�p�o�r�t� �A�n�a�l�y�t�i�c�s� �f�r�o�m� �"�w�e�b�a�n�a�l�y�t�i�c�-�t�r�a�c�k�e�r�s�"�;�
�
�
�
�f�u�n�c�t�i�o�n� �A�p�p�(�)� �{�
�
� � �r�e�t�u�r�n� �(�
�
� � � � �<�>�
�
� � � � � � �<�A�n�a�l�y�t�i�c�s� �k�e�y�I�d�=�"�y�o�u�r�-�t�r�a�c�k�i�n�g�-�k�e�y�"� �/�>�
�
� � � � � � �<�h�1�>�W�e�l�c�o�m�e� �t�o� �M�y� �W�e�b�s�i�t�e�<�/�h�1�>�
�
� � � � �<�/�>�
�
� � �)�;�
�
�}�
�
�
�
�e�x�p�o�r�t� �d�e�f�a�u�l�t� �A�p�p�;�
�
����
�
�
�
�#�#� �P�r�o�p�s�
�
�
�
�|� �P�r�o�p� � � �|� �T�y�p�e� � � �|� �D�e�s�c�r�i�p�t�i�o�n� �|�
�
�|�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�-�-�-�-�|�
�
�|� ��k�e�y�I�d�� �|� ��s�t�r�i�n�g�� �|� �A� �u�n�i�q�u�e� �t�r�a�c�k�i�n�g� �k�e�y� �t�o� �i�d�e�n�t�i�f�y� �a�n�a�l�y�t�i�c�s� �d�a�t�a�.� �W�h�i�c�h� �y�p�u� �w�i�l�l� �g�e�t� �f�r�o�m� �o�f�f�i�c�i�a�l� �w�e�b�s�i�t�e� � �|�
�
�
�
�#�#� �F�e�a�t�u�r�e�s�
�
�-� �T�r�a�c�k�s� �u�n�i�q�u�e� �u�s�e�r� �s�e�s�s�i�o�n�s� �u�s�i�n�g� ��l�o�c�a�l�S�t�o�r�a�g�e��.�
�
�-� �D�e�t�e�c�t�s� �d�e�v�i�c�e� �t�y�p�e� �u�s�i�n�g� ��u�a�-�p�a�r�s�e�r�-�j�s��.�
�
�-� �F�e�t�c�h�e�s� �c�o�u�n�t�r�y� �a�n�d� �I�P� �i�n�f�o�r�m�a�t�i�o�n� �u�s�i�n�g� ��i�p�a�p�i�.�c�o��.�
�
�
�
�
�
�#�#� �H�o�w� �I�t� �W�o�r�k�s�
�
�1�.� �T�h�e� �c�o�m�p�o�n�e�n�t� �r�u�n�s� �i�n�s�i�d�e� ��u�s�e�E�f�f�e�c�t�� �w�h�e�n� �m�o�u�n�t�e�d�.�
�
�2�.� �I�t� �c�h�e�c�k�s� �f�o�r� �a�n� �e�x�i�s�t�i�n�g� �s�e�s�s�i�o�n� �I�D� �i�n� ��l�o�c�a�l�S�t�o�r�a�g�e��.�
�
�3�.� �I�f� �n�o� �s�e�s�s�i�o�n� �I�D� �e�x�i�s�t�s�,� �i�t� �g�e�n�e�r�a�t�e�s� �a� �n�e�w� �o�n�e� �a�n�d� �s�t�o�r�e�s� �i�t�.�
�
�4�.� �T�h�e� �c�o�m�p�o�n�e�n�t� �d�e�t�e�r�m�i�n�e�s� �t�h�e� �d�e�v�i�c�e� �t�y�p�e�.�
�
�5�.� �I�t� �f�e�t�c�h�e�s� �t�h�e� �u�s�e�r�'�s� �c�o�u�n�t�r�y� �a�n�d� �I�P� �a�d�d�r�e�s�s� �f�r�o�m� ��i�p�a�p�i�.�c�o��.�
�
�6�.� �T�h�e� �c�o�l�l�e�c�t�e�d� �d�a�t�a� �i�s� �s�e�n�t� �t�o� �t�h�e� �b�a�c�k�e�n�d� �s�e�r�v�e�r�.�
�
�
�
�#�#� �A�P�I� �R�e�q�u�e�s�t� �S�t�r�u�c�t�u�r�e�
�
�T�h�e� �a�n�a�l�y�t�i�c�s� �d�a�t�a� �i�s� �s�e�n�t� �v�i�a� �a� ��P�O�S�T�� �r�e�q�u�e�s�t� �t�o� �r�o�u�t�e� �w�i�t�h� �t�h�e� �f�o�l�l�o�w�i�n�g� �J�S�O�N� �p�a�y�l�o�a�d�:�
�
�
�
����j�s�o�n�
�
�{�
�
� � �"�k�e�y�I�d�"�:� �"�y�o�u�r�-�t�r�a�c�k�i�n�g�-�k�e�y�"�,�
�
� � �"�s�e�s�s�i�o�n�I�d�"�:� �"�r�a�n�d�o�m�-�g�e�n�e�r�a�t�e�d�-�i�d�"�,�
�
� � �"�d�e�v�i�c�e�"�:� �"�d�e�s�k�t�o�p� �o�r� �m�o�b�i�l�e�"�,�
�
� � �"�c�o�u�n�t�r�y�"�:� �"�U�S� �o�r� �U�n�k�n�o�w�n�"�,�
�
� � �"�s�e�s�s�i�o�n�I�d�P�r�e�s�e�n�t�"�:� �t�r�u�e�
�
�}�
�
����
�
�
�
�#�#� �N�o�t�e�s�
�
�-� �E�n�s�u�r�e� �t�h�e� �b�a�c�k�e�n�d� �s�e�r�v�e�r� �a�t� �r�o�u�t�e� �i�s� �s�e�t� �u�p� �t�o� �r�e�c�e�i�v�e� �a�n�a�l�y�t�i�c�s� �d�a�t�a�.�
�
�-� �I�f� ��i�p�a�p�i�.�c�o�� �f�a�i�l�s�,� �t�h�e� �c�o�u�n�t�r�y� �d�a�t�a� �w�i�l�l� �b�e� �s�e�t� �t�o� �"�U�n�k�n�o�w�n�"�.�
�
�
�
�#�#� �L�i�c�e�n�s�e�
�
�T�h�i�s� �p�r�o�j�e�c�t� �i�s� �l�i�c�e�n�s�e�d� �u�n�d�e�r� �t�h�e� �M�I�T� �L�i�c�e�n�s�e�.�
�
�
�
�
