Code Monkey home page Code Monkey logo

clarity-joomla-plugin's Introduction

Welcome

Clarity Joomla Plugin helps in integarting clarity into your Joomla website easily and seamlessly.

Clarity

Clarity is an open-source behavioral analytics library written in typescript, with two key goals: privacy & performance.

It helps you understand how users view and use your website across all modern devices and browsers. Understanding how users navigate, interact and browse your website can provide new insights about your users. Empathizing with your users and seeing where features fail or succeed can help improve your product, grow revenue and improve user retention.

It's the same code that powers Microsoft's hosted behavioral analytics solution: https://clarity.microsoft.com. If you would like to see a demo of how it works, checkout live demo.

Usage

Step 1

Log into the Joomla Administration control panel. Instructions can be found here.

Step 2

From the top nav bar open System > Extensions > Install Extensions.

1

Step 3

Select Install from URL tab. Paste the following URL https://github.com/microsoft/joomla-plugin-clarity/raw/main/joomla-plugin-clarity.zip in the text field, then select check and install.

2

Step 4

Open System > Plugins

4

Step 5

Search for Clarity and open it.

5

Step 6

Locate your Clarity ID and copy it.

  1. From the Clarity dashboard, go to Settings.
  2. At the top, select Setup.
  3. Under How to install Clarity?, select Install Clarity on third-party platforms.
  4. Select Joomla. Your Clarity ID is at the top of the page (for example, 555u86t011).

6

Step 7

Paste your Clarity Project ID, then change status to Enabled, then Change Track administrator to Track and select Save.

7

The Clarity tracking is code now installed.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

clarity-joomla-plugin's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

pnkr

clarity-joomla-plugin's Issues

Incompatibility with Joomla 4.2.6 or PHP 8.1

After activating the plugin, the following error is displayed in all Joomla management sections:

An error has occurred.
0 Call to undefined method Joomla\CMS\Application\AdministratorApplication::isAdmin()

And in the user section of the site, the following error:
Call to undefined method Joomla\CMS\Application\SiteApplication::isAdmin()
Joomla version: 4.2.6
PHP version: 8.1

Code not correct implemented

If you enable the pulugin, the code will not be correct implemented. The start for script-tag is missing, but i think

`

<script>window.dataLayer = window.dataLayer \|\| [];dataLayer.push({'event': 'user_loggedin', 'user_id' : '290'});</script>function(c,l,a,r,i,t,y){

--
  | c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
  | t=l.createElement(r);t.async=1;t.src='//www.clarity.ms/tag/'+i+'?ref=joomla';
  | y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
  | })(window, document, 'clarity', 'script', 'xxxxxxxxxx');</script>

`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.