Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to define descriptions per Analytic item #35

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chrispage1
Copy link

@chrispage1 chrispage1 commented Nov 12, 2024

This PR adds the ability to optionally define a human friendly description for your Analytics.

It taps into the AnalyticRepository and DTO to return the relevant description where it has been defined.

It can be easily set using the existing PanConfiguration helper:

 PanConfiguration::analyticDescriptions([
    'tab-media' => 'Media tab in website header',
    'tab-register' => 'Registration tab on login page'
]);

An example of the output data would be:

Pan Analytics Output

@chrispage1
Copy link
Author

This is off the back of discussion #29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant