Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (63)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (12626)

  • dockerized python application takes a long time to trim a video with ffmpeg

    15 avril 2024, par Ukpa Uchechi

    The project trims YouTube videos.

    


    When I ran the ffmpeg command on the terminal, it didn't take too long to respond. The code below returns the trimmed video to the front end but it takes too long to respond. A 10 mins trim length takes about 5mins to respond. I am missing something, but I can't pinpoint the issue.

    


    backend

    


    main.py

    


    import os

from flask import Flask, request, send_file
from flask_cors import CORS, cross_origin


app = Flask(__name__)
cors = CORS(app)


current_directory = os.getcwd()
folder_name = "youtube_videos"
save_path = os.path.join(current_directory, folder_name)
output_file_path = os.path.join(save_path, 'video.mp4')

os.makedirs(save_path, exist_ok=True)

def convert_time_seconds(time_str):
    hours, minutes, seconds = map(int, time_str.split(':'))
    total_seconds = (hours * 3600) + (minutes * 60) + seconds

    return total_seconds
def convert_seconds_time(total_seconds):
    new_hours = total_seconds // 3600
    total_seconds %= 3600
    new_minutes = total_seconds // 60
    new_seconds = total_seconds % 60

    new_time_str = f'{new_hours:02}:{new_minutes:02}:{new_seconds:02}'

    return new_time_str
def add_seconds_to_time(time_str, seconds_to_add):
    total_seconds = convert_time_seconds(time_str)

    total_seconds -= seconds_to_add
    new_time_str = convert_seconds_time(total_seconds)

    return new_time_str

def get_length(start_time, end_time):
    start_time_seconds = convert_time_seconds(start_time)
    end_time_seconds = convert_time_seconds(end_time)

    length = end_time_seconds - start_time_seconds

    length_str = convert_seconds_time(length)
    return length_str
    
def download_url(url):
    command = [
        "yt-dlp",
        "-g",
        url
    ]
    
    try:
        links = subprocess.run(command, capture_output=True, text=True, check=True)
        
        video, audio = links.stdout.strip().split("\n")
        
        return video, audio

    except subprocess.CalledProcessError as e:
        print(f"Command failed with return code {e.returncode}.")
        print(f"Error output: {e.stderr}")
        return None
    except ValueError:
        print("Error: Could not parse video and audio links.")
        return None
    


def download_trimmed_video(video_link, audio_link, start_time, end_time):
    new_start_time = add_seconds_to_time(start_time, 30)
    new_end_time = get_length(start_time, end_time)

    if os.path.exists(output_file_path):
        os.remove(output_file_path)


    command = [
        'ffmpeg',
        '-ss', new_start_time + '.00',
        '-i', video_link,
        '-ss', new_start_time + '.00',
        '-i', audio_link,
        '-map', '0:v',
        '-map', '1:a',
        '-ss', '30',
        '-t', new_end_time + '.00',
        '-c:v', 'libx264',
        '-c:a', 'aac',
        output_file_path
    ]
    try:
        result = subprocess.run(command, capture_output=True, text=True, check=True)

        if result.returncode == 0:
            return "Trimmed video downloaded successfully!"
        else:
            return "Error occurred while downloading trimmed video"
    except subprocess.CalledProcessError as e:
        print(f"Command failed with return code {e.returncode}.")
        print(f"Error output: {e.stderr}")


app = Flask(__name__)


@app.route('/trimvideo', methods =["POST"])
@cross_origin()
def trim_video():
    print("here")
    data = request.get_json()
    video_link, audio_link = download_url(data["url"])
    if video_link and audio_link:
        print("Downloading trimmed video...")
        download_trimmed_video(video_link, audio_link, data["start_time"], data["end_time"])
        response = send_file(output_file_path, as_attachment=True, download_name='video.mp4')
    
        response.status_code = 200

        return response
    else:
        return "Error downloading video", 400

    




if __name__ == '__main__':
    app.run(debug=True, port=5000, host='0.0.0.0')


    


    dockerfile

    


    FROM ubuntu:latest

# Update the package list and install wget and ffmpeg
RUN apt-get update \
    && apt-get install -y wget ffmpeg python3 python3-pip \
    && rm -rf /var/lib/apt/lists/*

# Download the latest version of yt-dlp and install it
RUN wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp \
    && chmod a+rx /usr/local/bin/yt-dlp

WORKDIR /app

COPY main.py /app/
COPY requirements.txt /app/


RUN pip install --no-cache-dir -r requirements.txt


# Set the default command
CMD ["python3", "main.py"]


    


    requirements.txt

    


    blinker==1.7.0
click==8.1.7
colorama==0.4.6
Flask==3.0.3
Flask-Cors==4.0.0
itsdangerous==2.1.2
Jinja2==3.1.3
MarkupSafe==2.1.5
Werkzeug==3.0.2


    


    frontend

    


    App.js

    


    &#xA;import React, { useState } from &#x27;react&#x27;;&#xA;import &#x27;./App.css&#x27;;&#xA;import axios from &#x27;axios&#x27;;&#xA;async function handleSubmit(event, url, start_time, end_time, setVideoUrl, setIsSubmitted){&#xA;  event.preventDefault();&#xA;&#xA;  if( url &amp;&amp; start_time &amp;&amp; end_time){&#xA;&#xA;    try {&#xA;      setIsSubmitted(true);&#xA;    const response = await axios.post(&#x27;http://127.0.0.1:5000/trimvideo&#x27;, {&#xA;      url: url,&#xA;      start_time: start_time,&#xA;      end_time: end_time&#xA;    },&#xA;    {&#xA;      responseType: &#x27;blob&#x27;,&#xA;      headers: {&#x27;Content-Type&#x27;: &#x27;application/json&#x27;}&#xA;    }&#xA;  )&#xA;    const blob = new Blob([response.data], { type: &#x27;video/mp4&#x27; });&#xA;    const newurl = URL.createObjectURL(blob);&#xA;&#xA;&#xA;    setVideoUrl(newurl);&#xA;    } catch (error) {&#xA;      console.error(&#x27;Error trimming video:&#x27;, error);&#xA;    }&#xA;&#xA;  } else {&#xA;    alert(&#x27;Please fill all the fields&#x27;);&#xA;  }&#xA;}&#xA;&#xA;&#xA;function App() {&#xA;  const [url, setUrl] = useState(&#x27;&#x27;);&#xA;  const [startTime, setStartTime] = useState(&#x27;&#x27;);&#xA;  const [endTime, setEndTime] = useState(&#x27;&#x27;);&#xA;  const [videoUrl, setVideoUrl] = useState(&#x27;&#x27;);&#xA;  const [isSubmitted, setIsSubmitted] = useState(false);&#xA;  return (&#xA;    <div classname="App">&#xA;        <div classname="app-header">TRIM AND DOWNLOAD YOUR YOUTUBE VIDEO HERE</div>&#xA;        <input classname="input-url" placeholder="&#x27;Enter" value="{url}" />setUrl(e.target.value)}/>&#xA;        <div classname="input-container">&#xA;          <input classname="start-time-url" placeholder="start time" value="{startTime}" />setStartTime(e.target.value)}/>&#xA;          <input classname="end-time-url" placeholder="end time" value="{endTime}" />setEndTime(e.target.value)}/>&#xA;        &#xA;        </div>&#xA;        {&#xA;          !isSubmitted &amp;&amp; <button>> handleSubmit(event, url, startTime, endTime, setVideoUrl, setIsSubmitted)} className=&#x27;trim-button&#x27;>Trim</button>&#xA;        }&#xA;&#xA;        {&#xA;         ( isSubmitted &amp;&amp; !videoUrl) &amp;&amp;   <div classname="dot-pulse"></div>&#xA;        }&#xA;&#xA;&#xA;        {&#xA;          videoUrl &amp;&amp; <video controls="controls" autoplay="autoplay" width="500" height="360">&#xA;          <source src="{videoUrl}" type="&#x27;video/mp4&#x27;"></source>&#xA;        </video>&#xA;        }&#xA;&#xA;        &#xA;    </div>&#xA;  );&#xA;}&#xA;&#xA;export default App;&#xA;

    &#xA;

  • Top 5 Customer Segmentation Software in 2024

    12 mars 2024, par Erin

    In marketing, we all know the importance of reaching the right customer with the right message at the right time. That’s how you cut through the noise.

    For that, you need data on your customers — even though gathering the data is not enough. You can have all the data worldwide, but that raises an ethical responsibility and the need to make sense of it.

    Enter customer segmentation software — the answer to delivering personalised customer experiences at scale. 

    This article lists some of the best customer segmentation tools currently in the market. 

    We’ll also go over the benefits of using such tools and how you can choose the best one for your business.

    Let’s get started !

    What is customer segmentation software ?

    Customer segmentation software is a tool that helps businesses analyse customer data and group them based on common characteristics like age, income, and buying habits.

    The main goal of customer segmentation is to gain deeper insights into customer behaviours and preferences. This helps create targeted marketing and product strategies that fit each group and makes it easier to predict how customers will behave in the future.

    Different customer groups

    Benefits of a customer segmentation software

    Understanding your customers is the cornerstone of effective marketing, and customer segmentation software plays a pivotal role in this endeavour. 

    You can deliver more targeted and relevant marketing campaigns by dividing your audience into distinct groups based on shared characteristics. 

    Specifically, here are the main benefits of using customer segmentation tools :

    • Understand your audience better : The software helps businesses group customers with common traits to better understand their preferences and behaviour.
    • Make data-driven decisions : Base your business and marketing decisions on data analytics.
    • Aid product development : Insights from segmentation analytics can guide the creation of products that meet specific customer group needs.
    • Allocate your resources efficiently : Focusing on the customer segments that generate the most revenue leads to more effective and strategic use of your marketing resources.

    Best customer segmentation software in 2024 

    In this section, we go over the top customer segmentation tools in 2024. 

    We’ll look at these tools’ key features and pros and cons.

    1. Matomo

    Matomo dashboard

    Matomo is a comprehensive web analytics tool that merges traditional web analytics, such as tracking pageviews and visitor bounce rates, with more advanced web analytics features for tracking user behaviour. 

    With robust segmentation features, users can filter website traffic based on criteria such as location and device type, enabling them to analyse specific visitor groups and their behaviour. Users can create custom segments to analyse specific groups of visitors and their behaviour.

    Presenting as the ethical alternative to Google Analytics, Matomo emphasises transparency, 100% accurate data, and compliance with privacy laws.

    Key features

    • Heatmaps and Session Recordings : Matomo provides tools that allow businesses to understand website user interactions visually. This insight is crucial for optimising user experience and increasing conversions.
    • Form Analytics : This feature in Matomo tracks how users interact with website forms, helping businesses understand user behaviour in detail and improve form design and functionality.
    • User Flow Analysis : The tool tracks the journey of a website’s visitors, highlighting the paths taken and where users drop off. This is key for optimising website structure for better user experience and more conversions.
    • A/B Testing : Businesses can use Matomo to test different versions of web pages, determining which is more effective in driving conversions.
    • Conversion Funnels : This feature allows businesses to visualise and optimise the steps customers take toward conversion, identifying areas for improvement.

    Pros 

    • Affordability : With plans starting at $19 per month, Matomo is a cost-effective solution for CRO.
    • Free support : Matomo provides free email support to all Matomo Cloud users.
    • Open-source benefits : Being open-source, Matomo offers enhanced security, privacy, customisation options, and a supportive community.
    • Hosting options : Matomo is available either as a self-hosted solution or cloud-hosted.

    Cons

    • Cost for advanced features : Access to advanced features may incur additional costs for Matomo On-Premise users, although the On-Premise solution itself is free.
    • Technical knowledge required : The self-hosted version of Matomo requires technical knowledge for effective management.

    Try Matomo for Free

    Get the web insights you need, without compromising data accuracy.

    No credit card required

    2. Google Analytics 

    GA dashboard

    Google Analytics 4 (GA4) comprehensively understands website and app performance. It focuses on event-based data collection, allowing businesses to understand user interactions across platforms. 

    Similarly to Matomo, GA4 provides features that allow businesses to segment their audience based on various criteria such as demographics, behaviours, events, and more.

    Key features

    • Event-based tracking : GA4’s shift to an event-based model allows for a flexible and predictive analysis of user behaviour. This includes a detailed view of user interactions on websites and apps.
    • Machine Learning and Smarter Insights : GA4 uses machine learning to automatically detect trends, estimate purchase probabilities and provide marketing insights.
    • Google Ads integration : The integration with Google Ads in GA4 enables tracking customer interactions from first ad engagement, providing a holistic view of the customer experience across various platforms.
    • Customer-centric measurements : GA4 collects data as events, covering a wide range of user interactions and offering a comprehensive view of customer behaviour.
    • Pathing reports : GA4 introduces new pathing reports, allowing detailed user flow analysis through websites and apps.
    • Audiences and filters : GA4 allows the creation of audiences based on specific criteria and the application of filters to segment and refine data analysis.

    Pros 

    • Integration with various platforms, including Google Ads, enhances cross-platform user journey analysis.
    • GA4 has a clean reporting interface, making it easier for marketers to identify key trends and data irregularities.
    • Google Analytics has an active community with an abundance of educational resources available for users.

    Cons

    • Complexity for beginners : The wide range of features and new event-based model might overwhelm users new to analytics tools.
    • Dependence on machine learning : Reliance on machine learning for insights and predictions may require trust in the tool’s data processing and large volumes of traffic for accuracy.
    • Transition from UA to GA4 : Users familiar with Universal Analytics (UA) might find the transition to GA4 challenging due to differences in features and data models.

    3. HubSpot

    Hubspot dashboard

    HubSpot is a marketing and sales software that helps businesses attract visitors and turn them into paying customers. 

    It supports various business processes, from social media posts to email marketing, sales, and customer service. HubSpot organises and tracks user interactions across different channels, providing a unified and efficient approach to customer relationship management (CRM) and customer segmentation.

    Businesses can leverage HubSpot’s customer segmentation through lists, workflows, and smart content.

    Key features

    • Integration capabilities : HubSpot offers over 1,000 integrations in its ecosystem, ensuring seamless connectivity across various marketing, sales, and service tools, which helps maintain data consistency and reduces manual efforts.
    • Segmentation and personalisation : HubSpot allows businesses to deliver personalised content and interactions based on customer behaviour and preferences, using its robust CRM features and advanced automation capabilities.

    Pros 

    • Comprehensive support : HubSpot offers a range of support options, including a knowledge base, real-time chat, and more.
    • User-friendly interface : The platform is designed for ease of use, ensuring a smooth experience even for less tech-savvy users.
    • Personalisation capabilities : HubSpot provides personalised marketing, sales and service experiences, leveraging customer data effectively.

    Cons

    • High price point : HubSpot can be expensive, especially as you scale up and require more advanced features.
    • Steep learning curve : For businesses new to such comprehensive platforms, there might be an initial learning curve to utilise its features effectively.

    4. Klaviyo

    Klaviyo dashboard

    Klaviyo is a marketing automation software primarily focused on email and SMS messaging for e-commerce businesses. It’s designed to personalise and optimise customer communication. 

    Klaviyo integrates with e-commerce platforms like Shopify, making it a go-to solution for online stores. Its strength lies in its ability to use customer data to deliver targeted and effective marketing campaigns.

    Key features

    • Email marketing automation : Klaviyo allows users to send automated and personalised emails based on customer behaviour and preferences. This feature is crucial for e-commerce businesses in nurturing leads and maintaining customer engagement.
    • SMS marketing : It includes SMS messaging capabilities, enabling businesses to engage customers directly through text messages.
    • Segmentation and personalisation : Klaviyo offers advanced segmentation tools that enable businesses to categorise customers based on their behaviour, preferences and purchase history, facilitating highly targeted marketing efforts.
    • Integration with e-commerce platforms : Klaviyo integrates with popular e-commerce platforms like Shopify, Magento, and WooCommerce, allowing easy data synchronisation and campaign management.

    Pros 

    • Enhanced e-commerce integration : Klaviyo’s deep integration with e-commerce platforms greatly benefits online retailers regarding ease of use and campaign effectiveness.
    • Advanced segmentation and personalisation : The platform’s strong segmentation capabilities enable businesses to tailor their marketing messages more effectively.
    • Robust automation features : Klaviyo’s automation tools are powerful and user-friendly, saving time and improving marketing efficiency.

    Cons

    • Cost : Klaviyo can be more expensive than other options in this list, particularly as you scale up and add more contacts.
    • Complexity for beginners : The platform’s wide range of features and advanced capabilities might overwhelm beginners or small businesses with simpler needs.

    5. UserGuiding

    UserGuiding dashboard

    UserGuiding is a no-code product adoption tool that lets businesses create in-app user walkthroughs, guides, and checklists to onboard, engage, and retain users.

    UserGuiding facilitates customer segmentation by enabling businesses to create segmented onboarding flows, analyse behavioural insights, deliver personalised guidance, and collect feedback tailored to different user segments.

    Key features

    • In-app walkthroughs, guides and checklists : UserGuiding has multiple features that can promote product adoption early in the user journey.
    • In-app messaging : UserGuiding offers in-app messaging to help users learn more about the product and various ways to get value.
    • User feedback : UserGuiding allows businesses to gather qualitative feedback to streamline the adoption journey for users.

    Pros 

    • User-friendly interface
    • Customisable onboarding checklists
    • Retention analytics

    Cons

    • Need for technical expertise to maximise all features
    • Limited customisation options for less tech-savvy users

    What to look for in a customer segmentation software 

    When choosing a customer segmentation software, choosing the right one for your specific business needs is important. 

    Here are a few factors to consider when choosing your customer segmentation tool :

    1. Ease of use : Select a tool with an intuitive interface that simplifies navigation. This enhances the user experience, making complex tasks more manageable. Additionally, responsive customer support is crucial. It ensures that issues are promptly resolved, contributing to a smoother operation.
    2. Scalability and flexibility : Your chosen tool should adjust to your needs. A flexible tool like Matomo can adjust to your growing requirements, offering capabilities that evolve as your business expands.
    3. Integration capabilities : The software should seamlessly integrate with your existing systems, such as CRM, marketing, and automation platforms. 
    4. Advanced analytics and reporting : Assess the software’s capability to analyse and interpret complex data sets, without relying on machine learning to fill data gaps. A robust tool should provide accurate insights and detailed reports, enabling you to make informed decisions based on real data.
    5. Privacy and security considerations : Data security is paramount in today’s digital landscape. Look for features like data encryption, security storage, and adherence to privacy standards like GDPR and CCPA compliance
    6. Reviews and recommendations : Before making a decision, consider the reputation of the software providers. Look for reviews and recommendations from other users, especially those in similar industries. This can provide real-world insights into the software’s performance and reliability.
    List of factors to consider in a customer segmentation tool

    Leverage Matomo’s segmentation capabilities to deliver personalised experiences

    Segmentation is the best place to start if you want to deliver personalised customer experiences. There are several customer segmentation software in the market. But they’re not all the same.

    In this article, we reviewed the top segmentation tools — based on factors like their user base, features, and ethical data privacy considerations.

    Ideally, you want a tool to support your evolving business and segmentation needs. Not to mention one that cares about your customers’ privacy and ensures you stay compliant. 

    Enter Matomo at the top of the list. You can leverage Matomo’s accurate insights and comprehensive segmentation capabilities without compromising on privacy. Try it free for 21-days. No credit card required.

  • Web Analytics : The Quick Start Guide

    25 janvier 2024, par Erin

    You’ve spent ages carefully designing your website, crafting copy to encourage as many users as possible to purchase your product. 

    But they aren’t. And you don’t know why. 

    The good news is you don’t have to remain in the dark. Collecting and analysing web analytics lets you understand how your users behave on your site and why they aren’t converting. 

    But before you can do that, you need to know what those metrics and KPIs mean. That’s why this article is taking things back to basics. Below, we’ll show you which metrics to track, what they mean and how to choose the best web analytics platform. 

    What is web analytics ?

    Web analytics is the process of collecting, analysing and reporting website data to understand how users behave on your website. Web analytics platforms like Matomo collect this data by adding a code line to every site page. 

    Why is it important to track web analytics ?

    There are plenty of reasons you should start tracking web analytics, including the following :

    Why is it important to track web analytics?

    Analyse user behaviour

    Being able to analyse user behaviour is the most important reason to track website analytics. After all, you can’t improve your website’s conversion rate if you don’t know what users do on your site.

    A web analytics platform can show you how users move around your site, the links they click on and the forms they fill in. 

    Improve site experience

    Web analytics is a fantastic way to identify issues and find areas where your site could improve. You could look at your site’s exit pages, for example, and see why so many users leave your site when viewing one of these pages and what you can do to fix it.

    It can also teach you about your user’s preferences so you can improve the user experience in the future. Maybe they always click a certain type of button or prefer one page’s design over another. Whatever the case, you can use the data to make your site more user-friendly and increase conversions.

    Boost marketing efforts

    Web analytics is one of the best ways to understand your marketing efforts and learn how to improve them.

    A good platform can collect valuable data about your marketing campaigns, including :

    • Where users came from
    • What actions these users take on your site
    • Which traffic sources create the most conversions

    This information can help you decide which marketing campaigns send the best users to your site and generate the highest ROI. 

    Make informed decisions

    Ultimately, web analytics simplifies decision-making for your website and marketing efforts by relying on concrete data instead of guesswork.

    Rather than wonder why users aren’t adding products to their shopping cart or signing up for your newsletter, you can analyse how they behave and use that information to hypothesise how you can improve conversions. Web analytics will even give you the data to confirm whether you were right or wrong. 

    What are the key metrics you should track ?

    Getting your head around web analytics means knowing the most important metrics to track. Below are seven key metrics and how to track them using Matomo. 

    Traffic

    Traffic is the number of people visiting your website over a period of time. It is the lifeblood of your website since the more visits your site receives, the more revenue it stands to generate.

    However, simply having a high volume of visitors does not guarantee substantial revenue. To maximise your success, focus on attracting your ideal customers and generating quality traffic from those who are most likely to engage with your offerings.

    Ideally, you should be seeing an upward trend in traffic over time though. The longer your website has been published and the more quality and targeted content you create, the more traffic you should receive. 

    Matomo offers multiple ways to check your website’s traffic :

    The visits log report in Matomo is perfect if you want a granular view of your visitors.

    A screenshot of Matomo's visitor log report

    It shows you each user session and get a detailed picture of each user, including :

    • Their geographic location
    • The number of actions they took
    • How they found your site
    • The length of time they stayed
    • Their device type
    • What browser they are using
    • The keyword they used to find your site

    Traffic sources

    Traffic sources show how users access your website. They can enter via a range of traffic sources, including search engines, email and direct visits, for instance.

    Matomo has five default traffic source types :

    • Search engine – visitors from search platforms (like Google, Bing, etc.)
    • Direct traffic – individuals who directly type your website’s URL into their browser or have it bookmarked, bypassing search engines or external links
    • Websites – visits from other external sites
    • Campaigns – traffic resulting from specific marketing initiatives (like a newsletter or ad campaign, for instance)
    • Social networks  – visitors who access your website through various social media platforms (such as Facebook, LinkedIn, Instagram. etc.)

    But each of these can be broken into more granular sources. Take organic traffic from search engines, for example :

    A screenshot of Matomo's organic traffic report

    Matomo tracks visits from each search engine, showing you how many visits you had in total, how many actions those visitors took, and the average amount of time those visitors spent on your site. 

    You can even integrate Google, Bing and Yahoo search consoles to monitor keyword performance and enhance your search engine optimisation efforts.

    Pageviews

    Whenever a browser loads a page, your web analytics tool records a pageview. This term, pageview, represents the count of unique times a page on your website is loaded.

    You can track pageviews in Matomo by opening the Pages tab in the Behaviour section of the main navigation. 

    A screenshot of Matomo's page analytic sreport

    You can quickly see your site’s most visited pages in this report in Matomo. 

    Be careful of deriving too much meaning from pageviews. Just because a page has lots of views, doesn’t necessarily mean it’s quality or valuable. There are a couple of reasons for this. First, the page might be confusing, so users have to keep revisiting it to understand the content. Second, it could be the default page most visitors land on when they enter your site, like the homepage. 

    While pageviews offer insights, it’s important to dig deeper into user behaviour and other metrics to truly gauge a page’s importance and impact.

    Average time on page

    Time on page is the amount of time users spend on the page on average. You can see average time on page in Matomo’s page analytics report.

    A low time on page score isn’t necessarily a bad thing. Users will naturally spend less time on gateway pages and checkout pages. A short time spent on checkout pages, especially if users are successfully completing their transactions, indicates that the checkout process is easy and seamless.

    Conversely, a longer time on blog posts is a positive indicator. It suggests that readers are genuinely engaged with the content.

    Try Matomo for Free

    Get the web insights you need, without compromising data accuracy.

    No credit card required

    Returning visitors

    Returning visitors measures the number of people who visit your site more than once. It can be expressed as a number or a percentage. 

    While some analytics tools only show returning visitors as a percentage, Matomo lets you learn more about each of them in the Visitor profile report. 

    A screenshot of Matomo's Visitor profile report

    This report offers a full summary of a user’s previous actions, including :

    • How many times they’ve visited your site
    • The pages they viewed on each visit
    • Where they visited from
    • The devices they used
    • How quickly pages loaded

    When people keep coming back to a website, it’s usually a positive sign and means they like the service, content or products. But, it depends on the type of website. If it’s the kind of site where people make one-off purchases, the focus might not be on getting visitors to return. For a site like this, a high number of returning visitors could indicate that the website is confusing or difficult to use. 

    It’s all about the context – different websites have different goals, and it’s important to keep this in mind when analysing your site.

    Conversions

    A conversion is when a user takes a desired action on your website. This could be :

    • Making a purchase
    • Subscribing to your newsletter
    • Signing up for a webinar

    You can track virtually any action as a conversion in Matomo by setting goals and analysing the goals report.

    A screenshot of Matomo's goal report

    As you can see in the screenshot above, Matomo shows your conversions plotted over time. You can also see your conversion rate to get a complete picture and assign a value to each conversion to calculate how much revenue each conversion generates. 

    Bounce rate

    A visitor bounces when they leave your website without taking an action or visiting another page. 

    Typically, you want bounce rate to be low because it means people are engaged with your site and more likely to convert. However, in some cases, a high bounce rate isn’t necessarily bad. It might mean that visitors found what they needed on the first page and didn’t feel the need to look further. 

    The impact of bounce rate depends on your website’s purpose and goals.

    You can view your website’s bounce rate using Matomo’s page analytics report — the same report that shows pageviews.

    Try Matomo for Free

    Get the web insights you need, without compromising data accuracy.

    No credit card required

    Web analytics best practices

    You should follow several best practices to get the most from website analytics data. 

    Choose metrics that align with your goals

    Only some metrics your analytics platform tracks will be relevant to your business. So don’t waste time analysing all of them.

    Instead, focus on the ones that matter most to your business. A marketer for an e-commerce store, for example, might focus on conversion-related metrics like conversion rate and total number of transactions. They might also want to look at campaign-related metrics, like traffic sources and bounce rates, so they can optimise paid ad campaigns accordingly. 

    A marketer looking to improve their site’s SEO, on the other hand, will want to track SEO web analytics like bounce rate and broken links.

    Add context to your data

    Don’t take your data at face value. There could be dozens of factors that impact how visitors access and use your site — many of which are outside your control. 

    For example, you may think an update to your site has sent your conversions crashing when, in reality, a Google algorithm update has negatively impacted your search traffic.

    Adding annotations within Matomo can provide invaluable context to your data. These annotations can be used to highlight specific events, changes or external factors that might influence your website metrics.

    A screenshot of annotations list in Matomo

    By documenting significant occurrences, such as website updates, marketing campaigns or algorithm changes, you create a timeline that helps explain fluctuations in your data.

    Go further with advanced web analytics features

    It’s clear that a web analytics platform is a necessary tool to understand your website’s performance.

    However, if you want greater confidence in decision-making, quicker insights and better use of budget and resources, you need an advanced solution with behavioural analytics features like heatmaps, A/B testing and session recordings

    Most web analytics solutions don’t offer these advanced features, but Matomo does, so we’ll be showcasing Matomo’s behavioural analytics features.

    Now, if you don’t have a Matomo account, you can try it free for 21-days to see if it’s the right tool for you.

    A heatmap showing user mouse movements

    A heatmap, like the example above, makes it easy to discover where your users pay attention, which part of your site they have problems with, and how they convert. It adds a layer of qualitative data to the facts offered by your web analytics tool.

    Similarly, session recordings will offer you real-time playbacks of user interactions, helping you understand their navigation patterns, identify pain points and gain insights into the user experience.

    Then you can run experiments bu using A/B testing to compare different versions of your website or specific elements, allowing you to make informed decisions based on actual user preferences and behaviour. For instance, you can compare different headlines, images, page layouts or call-to-action buttons to see which resonates better with your audience. 

    Together, these advanced features will give you the confidence to optimise your website, improve user satisfaction and make data-driven decisions that positively impact your business.

    Try Matomo for Free

    Get the web insights you need, without compromising data accuracy.

    No credit card required

    How to choose a web analytics tool

    A web analytics tool is the best way to track the above metrics. Choose the best one for your company by following the steps below. 

    Look for the right features

    Most popular web analytics platforms, like Google Analytics, will offer the same core features like tracking website traffic, monitoring conversions and generating reports. 

    But it’s the added features that set great tools apart. Do you need specific tools to measure the performance of your e-commerce store, for example ? What about paid ad performance, A/B testing or form analytics ?

    By understanding exactly what you need from an analytics platform, you can make an informed choice. 

    Think about data accuracy

    Data accuracy is one of the biggest issues with analytics tools. Many users block cookies or opt out of tracking, making it difficult to get a clear picture of user behaviour — and meaning that you have to think about how your user data will be collected with your chosen platform.

    Google Analytics, for instance, uses data sampling to make assumptions about traffic levels rather than relying on accurate data. This can lead to inaccurate reports and false conclusions. 

    It’s why Matomo doesn’t use data sampling and provides 100% accurate data. 

    Understand how you’ll deal with data privacy

    Data privacy is another big concern for analytics users. Several major analytics platforms aren’t compatible with regional data privacy laws like GDPR, which can impact your ability to collect data in these regions. 

    It’s why many companies trust privacy-focused analytics tools that abide by regulations without impacting your ability to collect data. Matomo is a market leader in this respect and is one of the few web analytics tools that the Centre for Data Privacy Protection in France has said is exempt from tracking consent requirements.

    Many government agencies across Europe, Asia, Africa and North America, including organisations like the United Nations and European Commission, rely on Matomo for web analytics.

    Conclusion

    Web analytics is a powerful tool that helps you better understand your users, improve your site’s performance and boost your marketing efforts. 

    If you want a platform that offers advanced features, 100% accurate data and protects your users’ privacy, then look no further than Matomo. 

    Try Matomo free for 21 days, no credit card required.