customersatisfactionmetrics


Namecustomersatisfactionmetrics JSON
Version 1.0.6 PyPI version JSON
download
home_pagehttp://github.com/pescheckit/customersatisfactionmetrics
SummaryA short description of your package
upload_time2023-12-29 11:09:39
maintainer
docs_urlNone
authorBram Mittendorff
requires_python
licenseMIT
keywords django survey customer satisfaction feedback csat nps ces survey management user responses analytics data collection web surveys survey application docker docker compose web app user experience user feedback questionnaire user engagement metadata tracking response analysis django application
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Django Survey App

This Django application allows you to create and manage surveys including CSAT, NPS, CES, and Generic Surveys. It supports both anonymous and logged-in user responses with user metadata tracking.

## Setup and Installation

### 1. Install the Application

To install the `customersatisfactionmetrics` package, run the following command:

```bash
pip install customersatisfactionmetrics
```

### 2. Update Django Settings

Add `customersatisfactionmetrics` to the `INSTALLED_APPS` list in your Django project's `settings.py` file:

```python
INSTALLED_APPS = [
    # ... other installed apps ...
    "django.contrib.admin",
    "django.contrib.auth",
    "django.contrib.contenttypes",
    "django.contrib.sessions",
    "django.contrib.messages",
    "django.contrib.staticfiles",
    "customersatisfactionmetrics",  # Add this line
]
```

### 3. Run Migrations

Apply the necessary migrations to your database with the following command:

```bash
python manage.py migrate
```

### 4. Run the Django Server

Start the Django development server:

```bash
python manage.py runserver
```

Access the admin panel at [http://localhost:8000/admin/](http://localhost:8000/admin/).

### 5. Adding Surveys and Questions

- Navigate to the Django admin site.
- Use the respective sections to add new surveys and questions.

### 6. URL Configuration

Include the `customersatisfactionmetrics` URLs in your project's `urls.py` file:

```python
from django.urls import path, include

urlpatterns = [
    path('', include('customersatisfactionmetrics.urls')),
    # ... other URL patterns ...
]
```

## Usage

### 1. Access the Survey

To view a survey, navigate to the URL path `survey/slug/<slug>` in your web browser, where `<slug>` is the slug you assigned to the survey in the admin panel. For example:

```
http://localhost:8000/survey/slug/sample-survey
```

This URL will display the survey form for users to fill out and submit.


### 2. Embedding Surveys in Templates

To easily embed a survey in your Django templates, you can use the `insert_survey_by_slug` template tag. This tag allows you to insert a survey form by its slug directly into a template.

First, load the template tag in your template file:

```html
{% load survey_tags %}
```

Then, use the `insert_survey_by_slug` tag to insert a survey form by specifying its slug:

```html
{% insert_survey_by_slug 'your-survey-slug' %}
```

Replace `'your-survey-slug'` with the actual slug of the survey you want to embed. The survey form will be rendered wherever you include this tag in your template.

Example:

```html
<!DOCTYPE html>
<html>
<head>
    <title>Survey Page</title>
</head>
<body>
    <h1>Survey Form</h1>
    {% load survey_tags %}
    {% insert_survey_by_slug 'sample-survey' %}
</body>
</html>
```

This method provides a flexible way to integrate surveys into various parts of your Django application without the need for additional view logic or URL configurations.


## Features

- Supports various survey types: CSAT, NPS, CES, and Generic.
- Allows both anonymous and logged-in user responses.
- Tracks user metadata like IP address and user agent.

## Contributing

Contributions to this project are welcome. Please fork the repository and submit a pull request.

## License

This project is licensed under [MIT License](LICENSE). See the [LICENSE](LICENSE) file in the respective folders for more details.

## Contact

For any queries or further information, please contact us at devops@pescheck.nl.

Thank you for your interest in our Django Survey Project!

            

Raw data

            {
    "_id": null,
    "home_page": "http://github.com/pescheckit/customersatisfactionmetrics",
    "name": "customersatisfactionmetrics",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "django,survey,customer satisfaction,feedback,CSAT,NPS,CES,survey management,user responses,analytics,data collection,web surveys,survey application,docker,docker compose,web app,user experience,user feedback,questionnaire,user engagement,metadata tracking,response analysis,Django application",
    "author": "Bram Mittendorff",
    "author_email": "bram@pescheck.io",
    "download_url": "https://files.pythonhosted.org/packages/6e/97/a3f94f5188108b5f7de2f4ada79e67c311193057fe744909fb80fdb646fb/customersatisfactionmetrics-1.0.6.tar.gz",
    "platform": null,
    "description": "# Django Survey App\n\nThis Django application allows you to create and manage surveys including CSAT, NPS, CES, and Generic Surveys. It supports both anonymous and logged-in user responses with user metadata tracking.\n\n## Setup and Installation\n\n### 1. Install the Application\n\nTo install the `customersatisfactionmetrics` package, run the following command:\n\n```bash\npip install customersatisfactionmetrics\n```\n\n### 2. Update Django Settings\n\nAdd `customersatisfactionmetrics` to the `INSTALLED_APPS` list in your Django project's `settings.py` file:\n\n```python\nINSTALLED_APPS = [\n    # ... other installed apps ...\n    \"django.contrib.admin\",\n    \"django.contrib.auth\",\n    \"django.contrib.contenttypes\",\n    \"django.contrib.sessions\",\n    \"django.contrib.messages\",\n    \"django.contrib.staticfiles\",\n    \"customersatisfactionmetrics\",  # Add this line\n]\n```\n\n### 3. Run Migrations\n\nApply the necessary migrations to your database with the following command:\n\n```bash\npython manage.py migrate\n```\n\n### 4. Run the Django Server\n\nStart the Django development server:\n\n```bash\npython manage.py runserver\n```\n\nAccess the admin panel at [http://localhost:8000/admin/](http://localhost:8000/admin/).\n\n### 5. Adding Surveys and Questions\n\n- Navigate to the Django admin site.\n- Use the respective sections to add new surveys and questions.\n\n### 6. URL Configuration\n\nInclude the `customersatisfactionmetrics` URLs in your project's `urls.py` file:\n\n```python\nfrom django.urls import path, include\n\nurlpatterns = [\n    path('', include('customersatisfactionmetrics.urls')),\n    # ... other URL patterns ...\n]\n```\n\n## Usage\n\n### 1. Access the Survey\n\nTo view a survey, navigate to the URL path `survey/slug/<slug>` in your web browser, where `<slug>` is the slug you assigned to the survey in the admin panel. For example:\n\n```\nhttp://localhost:8000/survey/slug/sample-survey\n```\n\nThis URL will display the survey form for users to fill out and submit.\n\n\n### 2. Embedding Surveys in Templates\n\nTo easily embed a survey in your Django templates, you can use the `insert_survey_by_slug` template tag. This tag allows you to insert a survey form by its slug directly into a template.\n\nFirst, load the template tag in your template file:\n\n```html\n{% load survey_tags %}\n```\n\nThen, use the `insert_survey_by_slug` tag to insert a survey form by specifying its slug:\n\n```html\n{% insert_survey_by_slug 'your-survey-slug' %}\n```\n\nReplace `'your-survey-slug'` with the actual slug of the survey you want to embed. The survey form will be rendered wherever you include this tag in your template.\n\nExample:\n\n```html\n<!DOCTYPE html>\n<html>\n<head>\n    <title>Survey Page</title>\n</head>\n<body>\n    <h1>Survey Form</h1>\n    {% load survey_tags %}\n    {% insert_survey_by_slug 'sample-survey' %}\n</body>\n</html>\n```\n\nThis method provides a flexible way to integrate surveys into various parts of your Django application without the need for additional view logic or URL configurations.\n\n\n## Features\n\n- Supports various survey types: CSAT, NPS, CES, and Generic.\n- Allows both anonymous and logged-in user responses.\n- Tracks user metadata like IP address and user agent.\n\n## Contributing\n\nContributions to this project are welcome. Please fork the repository and submit a pull request.\n\n## License\n\nThis project is licensed under [MIT License](LICENSE). See the [LICENSE](LICENSE) file in the respective folders for more details.\n\n## Contact\n\nFor any queries or further information, please contact us at devops@pescheck.nl.\n\nThank you for your interest in our Django Survey Project!\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A short description of your package",
    "version": "1.0.6",
    "project_urls": {
        "Homepage": "http://github.com/pescheckit/customersatisfactionmetrics"
    },
    "split_keywords": [
        "django",
        "survey",
        "customer satisfaction",
        "feedback",
        "csat",
        "nps",
        "ces",
        "survey management",
        "user responses",
        "analytics",
        "data collection",
        "web surveys",
        "survey application",
        "docker",
        "docker compose",
        "web app",
        "user experience",
        "user feedback",
        "questionnaire",
        "user engagement",
        "metadata tracking",
        "response analysis",
        "django application"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9c34bba171b2dca10db5dc473ca83d89726d94e504e1c95e48499fc34f71a3bd",
                "md5": "06d5d1afd1c9d3f6f1d1722e0b57018c",
                "sha256": "e93265e33f9879c767c97f077311fde0d181f40a62f0e78b631da07056b49641"
            },
            "downloads": -1,
            "filename": "customersatisfactionmetrics-1.0.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "06d5d1afd1c9d3f6f1d1722e0b57018c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 27398,
            "upload_time": "2023-12-29T11:09:38",
            "upload_time_iso_8601": "2023-12-29T11:09:38.905269Z",
            "url": "https://files.pythonhosted.org/packages/9c/34/bba171b2dca10db5dc473ca83d89726d94e504e1c95e48499fc34f71a3bd/customersatisfactionmetrics-1.0.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "6e97a3f94f5188108b5f7de2f4ada79e67c311193057fe744909fb80fdb646fb",
                "md5": "b6fb3333836ac49dcff3bf8ae60940e0",
                "sha256": "bc7f35ed30765ecaedbf84fb432afde8759427b9cecaa9900befb0c2c7842bd3"
            },
            "downloads": -1,
            "filename": "customersatisfactionmetrics-1.0.6.tar.gz",
            "has_sig": false,
            "md5_digest": "b6fb3333836ac49dcff3bf8ae60940e0",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 17982,
            "upload_time": "2023-12-29T11:09:39",
            "upload_time_iso_8601": "2023-12-29T11:09:39.916078Z",
            "url": "https://files.pythonhosted.org/packages/6e/97/a3f94f5188108b5f7de2f4ada79e67c311193057fe744909fb80fdb646fb/customersatisfactionmetrics-1.0.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-29 11:09:39",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pescheckit",
    "github_project": "customersatisfactionmetrics",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "customersatisfactionmetrics"
}
        
Elapsed time: 0.19468s