Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (15)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

Sur d’autres sites (4872)

  • ffmpeg : cannot save HLS stream to MKV

    15 juillet 2021, par MasterAler

    I am trying to achieve something straightforward : writing the code that captures a video stream and saves it into an *.mkv file "as-is" (yeah, no demuxing or reencoding or whatever). Just want to store those AVPacket-s and the MKV container looks ready for that.

    


    Note that the question is about ffmpeg library usage, the ffmpeg binary works fine and can be used to save the HLS steam data via the following :
    
ffmpeg -i https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8 -c:v copy out.ts
    
I know that but the goal is to save any (or almost any) stream, thus the MKV. Actually, there is some code that already can save the streams' data, it fails specifically when trying it with HLS.

    


    After some efforts to provide a short but readable MCVE, here's a sample code that reproduces the problem. The focus is on making the output codec work with HLS streams, thus it may lack a lot of things and details, like extra error checks, corner-cases, optimizations, proper timestamp handling, etc.

    


    #include <atomic>&#xA;#include &#xA;#include <deque>&#xA;#include <functional>&#xA;#include <iostream>&#xA;#include <memory>&#xA;#include <mutex>&#xA;#include <thread>&#xA;&#xA;extern "C" {&#xA;#include "libavcodec/avcodec.h"&#xA;#include "libavfilter/avfilter.h"&#xA;#include "libavfilter/buffersink.h"&#xA;#include "libavfilter/buffersrc.h"&#xA;#include <libavcodec></libavcodec>avcodec.h>&#xA;#include <libavdevice></libavdevice>avdevice.h>&#xA;#include <libavformat></libavformat>avformat.h>&#xA;#include <libswscale></libswscale>swscale.h>&#xA;}&#xA;&#xA;// Some public stream. The code works with RTSP, RTMP, MJPEG, etc.&#xA;// static const char SOURCE_NAME[] = "http://81.83.10.9:8001/mjpg/video.mjpg"; // works!&#xA;&#xA;// My goal was an actual cam streaming via HLS, but here are some random HLS streams&#xA;// that reproduce the problem quite well. Playlists may differ, but the error is exactly the same&#xA;static const char SOURCE_NAME[] = "http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8"; // fails!&#xA;// static const char SOURCE_NAME[] = "https://bitdash-a.akamaihd.net/content/MI201109210084_1/m3u8s/f08e80da-bf1d-4e3d-8899-f0f6155f6efa.m3u8"; // fails!&#xA;&#xA;using Pkt = std::unique_ptr;&#xA;std::deque<pkt> frame_buffer;&#xA;std::mutex frame_mtx;&#xA;std::condition_variable frame_cv;&#xA;std::atomic_bool keep_running{true};&#xA;&#xA;AVCodecParameters *common_codecpar = nullptr;&#xA;std::mutex codecpar_mtx;&#xA;std::condition_variable codecpar_cv;&#xA;&#xA;void read_frames_from_source(unsigned N)&#xA;{&#xA;    AVFormatContext *fmt_ctx = avformat_alloc_context();&#xA;&#xA;    int err = avformat_open_input(&amp;fmt_ctx, SOURCE_NAME, nullptr, nullptr);&#xA;    if (err &lt; 0) {&#xA;        std::cerr &lt;&lt; "cannot open input" &lt;&lt; std::endl;&#xA;        avformat_free_context(fmt_ctx);&#xA;        return;&#xA;    }&#xA;&#xA;    err = avformat_find_stream_info(fmt_ctx, nullptr);&#xA;    if (err &lt; 0) {&#xA;        std::cerr &lt;&lt; "cannot find stream info" &lt;&lt; std::endl;&#xA;        avformat_free_context(fmt_ctx);&#xA;        return;&#xA;    }&#xA;&#xA;    // Simply finding the first video stream, preferrably H.264. Others are ignored below&#xA;    int video_stream_id = -1;&#xA;    for (unsigned i = 0; i &lt; fmt_ctx->nb_streams; i&#x2B;&#x2B;) {&#xA;        auto *c = fmt_ctx->streams[i]->codecpar;&#xA;        if (c->codec_type == AVMEDIA_TYPE_VIDEO) {&#xA;            video_stream_id = i;&#xA;            if (c->codec_id == AV_CODEC_ID_H264)&#xA;                break;&#xA;        }&#xA;    }&#xA;&#xA;    if (video_stream_id &lt; 0) {&#xA;        std::cerr &lt;&lt; "failed to find find video stream" &lt;&lt; std::endl;&#xA;        avformat_free_context(fmt_ctx);&#xA;        return;&#xA;    }&#xA;&#xA;    {   // Here we have the codec params and can launch the writer&#xA;        std::lock_guard locker(codecpar_mtx);&#xA;        common_codecpar = fmt_ctx->streams[video_stream_id]->codecpar;&#xA;    }&#xA;    codecpar_cv.notify_all();&#xA;&#xA;    unsigned cnt = 0;&#xA;    while (&#x2B;&#x2B;cnt &lt;= N) { // we read some limited number of frames&#xA;        Pkt pkt{av_packet_alloc(), [](AVPacket *p) { av_packet_free(&amp;p); }};&#xA;&#xA;        err = av_read_frame(fmt_ctx, pkt.get());&#xA;        if (err &lt; 0) {&#xA;            std::cerr &lt;&lt; "read packet error" &lt;&lt; std::endl;&#xA;            continue;&#xA;        }&#xA;&#xA;        // That&#x27;s why the cycle above, we write only one video stream here&#xA;        if (pkt->stream_index != video_stream_id)&#xA;            continue;&#xA;&#xA;        {&#xA;            std::lock_guard locker(frame_mtx);&#xA;            frame_buffer.push_back(std::move(pkt));&#xA;        }&#xA;        frame_cv.notify_one();&#xA;    }&#xA;&#xA;    keep_running.store(false);&#xA;    avformat_free_context(fmt_ctx);&#xA;}&#xA;&#xA;void write_frames_into_file(std::string filepath)&#xA;{&#xA;    AVFormatContext *out_ctx = nullptr;&#xA;    int err = avformat_alloc_output_context2(&amp;out_ctx, nullptr, "matroska", filepath.c_str());&#xA;    if (err &lt; 0) {&#xA;        std::cerr &lt;&lt; "avformat_alloc_output_context2 failed" &lt;&lt; std::endl;&#xA;        return;&#xA;    }&#xA;&#xA;    AVStream *video_stream = avformat_new_stream(out_ctx, avcodec_find_encoder(common_codecpar->codec_id)); // the proper way&#xA;    // AVStream *video_stream = avformat_new_stream(out_ctx, avcodec_find_encoder(AV_CODEC_ID_H264)); // forcing the H.264&#xA;    // ------>> HERE IS THE TROUBLE, NO CODEC WORKS WITH HLS &lt;&lt;------&#xA;&#xA;    int video_stream_id = video_stream->index;&#xA;&#xA;    err = avcodec_parameters_copy(video_stream->codecpar, common_codecpar);&#xA;    if (err &lt; 0) {&#xA;        std::cerr &lt;&lt; "avcodec_parameters_copy failed" &lt;&lt; std::endl;&#xA;    }&#xA;&#xA;    if (!(out_ctx->flags &amp; AVFMT_NOFILE)) {&#xA;        err =  avio_open(&amp;out_ctx->pb, filepath.c_str(), AVIO_FLAG_WRITE);&#xA;        if (err &lt; 0) {&#xA;            std::cerr &lt;&lt; "avio_open fail" &lt;&lt; std::endl;&#xA;            return;&#xA;        }&#xA;    }&#xA;&#xA;    err = avformat_write_header(out_ctx, nullptr); // &lt;&lt;--- ERROR WITH HLS HERE&#xA;    if (err &lt; 0) {&#xA;        std::cerr &lt;&lt; "avformat_write_header failed" &lt;&lt; std::endl;&#xA;        return; // here we go with hls&#xA;    }&#xA;&#xA;    unsigned cnt = 0;&#xA;    while (true) {&#xA;        std::unique_lock locker(frame_mtx);&#xA;        frame_cv.wait(locker, [&amp;] { return !frame_buffer.empty() || !keep_running; });&#xA;&#xA;        if (!keep_running)&#xA;            break;&#xA;&#xA;        Pkt pkt = std::move(frame_buffer.front());&#xA;        frame_buffer.pop_front();&#xA;        &#x2B;&#x2B;cnt;&#xA;        locker.unlock();&#xA;&#xA;        pkt->stream_index = video_stream_id; // mandatory&#xA;        err = av_write_frame(out_ctx, pkt.get());&#xA;        if (err &lt; 0) {&#xA;            std::cerr &lt;&lt; "av_write_frame failed " &lt;&lt; cnt &lt;&lt; std::endl;&#xA;        } else if (cnt % 25 == 0) {&#xA;            std::cout &lt;&lt; cnt &lt;&lt; " OK" &lt;&lt; std::endl;&#xA;        }&#xA;    }&#xA;&#xA;    av_write_trailer(out_ctx);&#xA;    avformat_free_context(out_ctx);&#xA;}&#xA;&#xA;int main()&#xA;{&#xA;    std::thread reader(std::bind(&amp;read_frames_from_source, 1000));&#xA;    std::thread writer;&#xA;&#xA;    // Writer wont start until reader&#x27;s got AVCodecParameters&#xA;    // In this example it spares us from setting writer&#x27;s params properly manually&#xA;&#xA;    {   // Waiting for codec params to be set&#xA;        std::unique_lock locker(codecpar_mtx);&#xA;        codecpar_cv.wait(locker, [&amp;] { return common_codecpar != nullptr; });&#xA;        writer = std::thread(std::bind(&amp;write_frames_into_file, "out.mkv"));&#xA;    }&#xA;&#xA;    reader.join();&#xA;    keep_running.store(false);&#xA;    writer.join();&#xA;&#xA;    return 0;&#xA;}&#xA;&#xA;</pkt></thread></mutex></memory></iostream></functional></deque></atomic>

    &#xA;

    What happens here ? Simply put :

    &#xA;

      &#xA;
    1. Two threads are spawned, one reads packets from source and stores them in a buffer
    2. &#xA;

    3. The writer waits for the reader to get the AVCodecParameters, so that you can see they are the same being used, almost no manual param setting here
    4. &#xA;

    5. The reader is supposed to read N packets and finish, then the writer follows him. That's how it works with RTSP, RTMP, MJPEG, etc.
    6. &#xA;

    &#xA;

    What's the problem ? Once an HLS stream is tried, there goes the following error :

    &#xA;

    &#xA;

    Tag [27][0][0][0] incompatible with output codec id '27' (H264)

    &#xA;

    &#xA;

    After that the writer segfaults on any write attempt via it's context (that is avformat_write_header here) avformat_write_header fails with an error (see UPD2 below) and thus no successfull write operation is possible.

    &#xA;

    What's been tried :

    &#xA;

      &#xA;
    1. Forcing arbitrary codecs (ex. : AV_CODEC_ID_H264). No luck there.
    2. &#xA;

    3. Trying the AV_CODEC_ID_MPEGTS. No way, it's documented as a "fake" codec for internal needs.
    4. &#xA;

    5. Switching some of the multiple options for input or output contexts, no luck there
    6. &#xA;

    &#xA;

    I'm currenly confused a lot 'coz the error sounds like "Tag H264 is not compatible with codec H264". The ffmpeg logs look like the library managed to comprehend it's dealing with MPEG-TS being sent via HLS, reading is fine but writing into the chosen media container fails :

    &#xA;

    [hls @ 0x7f94b0000900] Opening &#x27;https://bitdash-a.akamaihd.net/content/MI201109210084_1/video/540_1200000/hls/segment_0.ts&#x27; for reading&#xA;[hls @ 0x7f94b0000900] Opening &#x27;https://bitdash-a.akamaihd.net/content/MI201109210084_1/video/540_1200000/hls/segment_1.ts&#x27; for reading&#xA;[hls @ 0x7f94b0000900] Opening &#x27;https://bitdash-a.akamaihd.net/content/MI201109210084_1/video/720_2400000/hls/segment_0.ts&#x27; for reading&#xA;[hls @ 0x7f94b0000900] Opening &#x27;https://bitdash-a.akamaihd.net/content/MI201109210084_1/video/720_2400000/hls/segment_1.ts&#x27; for reading&#xA;[hls @ 0x7f94b0000900] Opening &#x27;https://bitdash-a.akamaihd.net/content/MI201109210084_1/video/1080_4800000/hls/segment_0.ts&#x27; for reading&#xA;[hls @ 0x7f94b0000900] Opening &#x27;https://bitdash-a.akamaihd.net/content/MI201109210084_1/video/1080_4800000/hls/segment_1.ts&#x27; for reading&#xA;[hls @ 0x7f94b0000900] Could not find codec parameters for stream 0 (Audio: aac ([15][0][0][0] / 0x000F), 0 channels, 112 kb/s): unspecified sample rate&#xA;Consider increasing the value for the &#x27;analyzeduration&#x27; and &#x27;probesize&#x27; options&#xA;[matroska @ 0x7f94a8000900] Tag [27][0][0][0] incompatible with output codec id &#x27;27&#x27; (H264)&#xA;avformat_write_header failed&#xA;Segmentation fault (core dumped)&#xA;

    &#xA;

    No hard googling helped, I'm a bit desperate.
    &#xA;Plz, share your ideas, would be grateful for any.

    &#xA;

    UPD

    &#xA;

      &#xA;
    • ffmpeg -i https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8 out.mkv works fine
    • &#xA;

    • ffmpeg -i http://qthttp.apple.com.edgesuite.net/1010qwoeiuryfg/sl.m3u8 -c:v copy out.mkv also works fine
    • &#xA;

    &#xA;

    ... which means ffmpeg can do the trick and the desired result can be achieved

    &#xA;

    UPD2

    &#xA;

    It occured that the tag error can be suppressed via
    &#xA;out_ctx->strict_std_compliance = FF_COMPLIANCE_UNOFFICIAL;
    &#xA;I assume it's smth about spelling the "h264" properly in a string tag, doesn't look serious.

    &#xA;

    Also, after a closer look it occured that it's av_write_frame that actually segfaults. No wonder — with HLS streams avformat_write_header fails and returns error :

    &#xA;

    &#xA;

    Invalid data found when processing input

    &#xA;

    &#xA;

    That still leaves me with no clues, where's the problem here =((

    &#xA;

  • Join us at MatomoCamp 2024 world tour edition

    13 novembre 2024, par Daniel Crough — Uncategorized

    Join us at MatomoCamp 2024 world tour edition, our online conference dedicated to Matomo Analytics—the leading open-source web analytics platform that prioritises data privacy.

    • 🗓️ Date : 14 November 2024
    • 🌐 Format : 24-hour virtual conference accessible worldwide
    • 💰 Cost : Free and no need to register

    Event highlights

    Opening ceremony

    Begin the day with a welcome from Ronan Chardonneau, co-organiser of MatomoCamp and customer success manager at Matomo.

    View session | iCal link

    Keynote : “Matomo by its creator”

    Attend a special session with Matthieu Aubry, the founder of Matomo Analytics. Learn about the platform’s evolution and future developments.

    View session | iCal link

    Explore MatomoCamp 2024’s diverse tracks and topics

    MatomoCamp 2024 offers a wide range of topics across several tracks, including using Matomo, integration, digital analytics, privacy, plugin development, system administration, business, other free analytics, use cases, and workshops and panel talks.

    Featured sessions

    1. Using AI to fetch raw data with Python

    Speaker : Ralph Conti
    Time : 14 November, 12:00 PM UTC

    Discover how to combine AI and Matomo’s API to create unique reporting solutions. Leverage Python for advanced data analysis and unlock new possibilities in your analytics workflow.

    View session | iCal link

    2. Supercharge Matomo event tracking with custom reports

    Speaker : Thomas Steur
    Time : 14 November, 2:00 PM UTC

    Learn how to enhance event tracking and simplify data analysis using Matomo’s custom reports feature. This session will help you unlock the full potential of your event data.

    View session | iCal link

    3. GDPR with AI and AI Act

    Speaker : Stefanie Bauer
    Time : 14 November, 4:00 PM UTC

    Navigate the complexities of data protection requirements for AI systems under GDPR. Explore the implications of the new AI Act and receive practical tips for compliance.

    View session | iCal link

    4. A new data mesh era !

    Speaker : Jorge Powers
    Time : 14 November, 4:00 PM UTC

    Explore how Matomo supports the data mesh approach, enabling decentralised data ownership and privacy-focused analytics. Learn how to empower teams to manage and analyse data without third-party reliance.

    View session | iCal link

    5. Why Matomo has to create a MTM server side : The future of data privacy and user tracking

    Panel discussion
    Time : 14 November, 6:00 PM UTC

    Join experts in a discussion on the necessity of server-side tag management for enhanced privacy and compliance. Delve into the future of data privacy and user tracking.

    View session | iCal link

    6. Visualisation of Matomo data using external tools

    Speaker : Leticia Rodríguez Morado
    Time : 14 November, 8:00 PM UTC

    Learn how to create compelling dashboards using Grafana and Matomo data. Enhance your data visualisation skills and gain better insights.

    View session | iCal link

    7. Keep it simple : Tracking what matters with Matomo

    Speaker : Scott Fillman
    Time : 14 November, 9:00 PM UTC

    Discover how to focus on essential metrics and simplify your analytics setup for more effective insights. Learn tactics for a powerful, streamlined Matomo configuration.

    View session | iCal link

    Stay connected

    Stay updated with the latest news and announcements :

    Don’t miss out

    MatomoCamp 2024 world tour edition is more than a conference ; it’s a global gathering shaping the future of ethical analytics. Whether you aim to enhance your skills, stay informed about industry trends, or network with professionals worldwide, this event offers valuable opportunities.

    For any enquiries, please contact us at info@matomocamp.org. We look forward to your participation.

  • Strategies for Reducing Bank Customer Acquisition Cost [2024]

    24 septembre 2024, par Daniel Crough — Banking and Financial Services

    Acquiring new customers is no small feat — regardless of the size of your team. The expenses of various marketing efforts tend to pile up fast, even more so when your business operates in a highly competitive industry like banking. At the same time, marketing budgets continue to decrease — dropping from an average of 9.1% of total company revenue in 2023 down to 7.7% in 2024 — prompting businesses in the financial services industry to figure out how they can do more with less.

    That brings us to bank customer acquisition cost (CAC) — a key business metric that can reveal quite a bit about your bank’s long-term profitability and potential for achieving sustainable growth. 

    This article will cover the ins and outs of bank customer acquisition costs and share actionable tips and strategies you can implement to reduce CAC.

    What is customer acquisition cost in banking ? 

    List of customer acquisition cost components

    The global market volume of neobanks — fintech companies and digital banking platforms, often referred to as “challenger banks” — was estimated at $4.96 trillion in 2023. It’s expected to continue growing at a compound annual growth rate (CAGR) of 13.15% in the coming years, potentially reaching $10.44 trillion by 2028.

    That’s enough of an indicator that the financial services industry is now a highly competitive landscape where companies are often competing for the attention of a relatively limited audience. 

    Plus, several app-only banks based in Europe have made significant progress in attracting new customers to their financial products : 

    Unsurprisingly, this flurry of competition is putting upward pressure on customer acquisition and retention costs across the banking sector.

    Customer acquisition cost (CAC) — the sum of all costs and resources related to acquiring an additional customer — is one of the key business metrics to keep an eye on when trying to maximise your return on investment (ROI) and profitability, especially if your company operates in the banking industry.

    Here’s the basic formula you can use to calculate the cost of acquisition in banking : 

    Customer Acquisition Cost (CAC) = Total Amount Spent (TS) / Total New Customers Acquired (TNC)

    In essence, it requires you to divide the total cost of acquiring consumers — including sales and marketing expenses — by the total number of new customers your company has gained within a specific timeframe.

    There’s one thing you need to keep in mind : 

    The customer acquisition process involves more than just your marketing and sales departments. 

    While marketing and sales channels play a crucial role in this process, the list of expenses that may contribute to customer acquisition costs in banking goes well beyond that. 

    Here’s a quick breakdown of the customer acquisition cost formula to show you which costs make up the total amount spent : 

    • All advertising and marketing costs, including traditional (direct mail, billboards, TV and print advertising) and digital channels (email, Google ads, social media and influencer marketing)
    • Cost of outsourced marketing services, including any independent contractors involved in the process 
    • Salaries and commissions for the marketing team and sales representatives
    • Software subscriptions, including marketing software and web analytics tools 
    • Other overhead and operational costs 

    And until you’ve taken all these expenses into account, you won’t be able to accurately estimate how much it actually costs you to attract potential customers.

    Another thing to keep in mind is that there’s no universal definition of “good CAC.” 

    The average customer acquisition cost varies across different industries and business models. That said, you can generally expect a higher-than-average CAC in highly competitive sectors — namely, the financial, manufacturing and real estate industries. 

    Importance of tracking customer acquisition cost in banking 

    Illustration of customer acquisition concept

    Customer acquisition costs are an important indicator of a banking business’s potential growth and profitability. Monitoring this fundamental business metric can provide data-driven insights about your current bank customer acquisition strategy — and offers a few notable benefits : 

    • Measuring the performance and effectiveness of different channels and campaigns and making data-driven decisions regarding future marketing efforts
    • Improving return on investment (ROI) by determining the most effective strategies for acquiring new customers 
    • Improving profitability by assessing the value per customer and improving profit margins 
    • Benchmarking against industry competitors to see where your business’s CAC stands compared to the banking industry average

    At the risk of stating the obvious, acquiring new customers isn’t always easy. That’s true for many highly competitive industries — especially the banking sector, which is currently witnessing the rapid rise of digital disruptors. 

    Case in point, the fintech market alone is currently valued at $312.98 billion and is expected to reach $556.70 billion by 2030, following a CAGR of 14%.

    However, strong competition is only one of the challenges banks face throughout the process of attracting potential customers. 

    Here are a few other things to keep in mind : 

    • Ethical business practices and strict compliance requirements when it comes to the privacy and security of customer data, including meeting data protection standards and ensuring regulatory compliance
    • Lack of personalisation throughout the customer journey, which today’s customers view as a lack of understanding of — and even interest in — their needs and preferences 
    • Limited mobile banking capabilities, which further points to a failure to innovate and adapt — one of the leading risks that financial services may face 

    7 strategies for reducing bank customer acquisition costs 

    Illustration of CAC and business growth concepts

    When working on optimising your banking customer acquisition strategy, the key thing to keep in mind is that there are two sides to improving CAC : 

    On the one hand, you have efforts to decrease the costs associated with acquiring a new customer — and on the other, you have the importance of attracting high-value customers. 

    1. Eliminate friction points in the customer onboarding process

    One of the first things financial institutions should do is examine their existing digital onboarding process and look for friction points that might cause potential customers to drop off. After all, a streamlined onboarding process will minimise barriers to conversion, increasing the number of new customers acquired and improving overall customer satisfaction. 

    Keep in mind that, at the 30-day mark, finance mobile apps have an average user retention rate of 3% : 

    That says a lot about the importance of providing a frictionless onboarding experience as a retail bank or any other financial institution. 

    Granted, a single point of friction is rarely enough to cause customers to churn. It’s typically a combination of several factors — a lengthy sign-up process with complicated password requirements and time-consuming customer identification or poor customer service, for example — that occur during the key moments of the customer journey.

    In order to keep tabs on customer experiences across different touchpoints and spot potential barriers in their journey, you’ll need a reliable source of data. Matomo’s Funnels report can show you exactly where your website visitors are dropping off. 

    2. Get more personalised with your marketing efforts 

    Generic experiences are rarely the way to go — especially when you’re contending for the attention of prospective customers in such a competitive sector. 

    Besides, 62% of people who made an online purchase within the last six months have said that brands would lose their loyalty following a non-personalised experience. 

    What’s more shocking is that only a year earlier, that number stood at 45%.

    When it comes to improving marketing efficiency and sales strategies, 94% of marketers agree that personalisation is key : 

    It’s evident that personalised marketing supported by behavioural segmentation can significantly improve conversion rates — and, most importantly, reduce acquisition costs. 

    Of course, it’s virtually impossible to deliver targeted, personalised marketing messaging without creating audience segments and detailed buyer personas. Matomo’s Segmentation feature can help by allowing you to split website visitors into smaller groups and get much-needed insights for behavioural segmentation. 

    3. Build an omnichannel marketing strategy 

    Customer expectations, behaviours and preferences are constantly evolving, making it crucial for financial services to adapt their customer acquisition strategies accordingly. Meeting prospective customers on their preferred channels is a big part of that. 

    The issue is that modern banking customers tend to move across different channels. That’s one of the reasons why it’s becoming increasingly more difficult to deliver a unified experience throughout the entire customer journey and close the gap between digital and in-person customer interactions. 

    Omnichannel marketing gives you a way to keep up with customers’ ever-evolving expectations :

    Adopting this marketing strategy will allow you to meet customers where they are and deliver a seamless experience across a wide range of digital channels and touchpoints, leading to more exposure — and, ultimately, increasing the number of acquired customers.

    Matomo can support your omnichannel efforts by providing accurate, unsampled data needed for cross-channel analytics and marketing attribution

    4. Work on your social media presence 

    Social networks are among the most popular — and successful — digital marketing channels, with millions (even billions, depending on the platform) of active users. 

    In fact, 89% of marketers report using Facebook as their main platform for social media marketing, while another 80% use Instagram to reach their target audience and promote their business. 

    And according to The State of Social Media in Banking 2023 report, nine out of ten banks (89%) consider social media is important, while another 88% are active on their social media accounts. 

    That is to say, even traditionally conservative industries — like banking and finance — realise the crucial role of social media in promoting their services and engaging with customers on their preferred channels : 

    It’s an excellent way for businesses in the financial sector to gain exposure, drive traffic to their website and acquire new customers. 

    If you’re ready to improve social media visibility as part of your multichannel efforts, Matomo can help you track social media activity across 70 different platforms. 

    5. Shift the focus on customer loyalty and retention 

    Up until this point, the focus has mainly been on building new business relationships. However, one thing to keep in mind is that retaining existing customers is generally cheaper than investing in customer acquisition activities to attract new ones. 

    Of course, customer retention won’t directly impact your CAC. But what it can do is increase customer lifetime value, contributing to your company’s revenue and profits — which, in turn, can “balance out” your acquisition costs in the long run.

    That’s not to say that you should stop trying to bring in new clients ; far from it. 

    However, focusing on increasing customer loyalty — namely, delivering excellent customer service and building lasting business relationships — could motivate satisfied customers to become brand advocates. 

    As this survey of customer satisfaction for leading banks in the UK has shown, when clients are satisfied with a bank’s products and services, they’re more likely to recommend it. 

    Positive word-of-mouth recommendations can be a powerful way to drive customer acquisition. You can leverage that by launching a customer referral program and incentivising loyal customers to refer new ones to your business. 

    6. A/B test different elements to find ones that work 

    We’ve already underlined the importance of understanding your audience ; it’s the foundation for optimising the customer journey and delivering targeted marketing efforts that will attract more customers. 

    Another proven method that can be used to refine your customer acquisition strategy is A/B or split testing

    It involves testing different versions of specific elements of your marketing content — such as language, CTAs and visuals — to determine the most effective combinations that resonate with your target audience. 

    Besides your marketing campaigns, you can also split test different variants of your website or mobile app to see which version gets them to convert. 

    Matomo’s A/B Testing feature can be of huge help here : 

    7. Track other relevant customer acquisition metrics 

    To better assess your company’s profitability, you’ll have to go beyond CAC and factor in other critical metrics — namely, customer lifetime value (CLTV), churn rate and return on investment (ROI). 

    Here are the most important KPIs you should monitor in addition to CAC : 

    • Customer lifetime value (CLTV), which represents the revenue generated by a single customer throughout the duration of their relationship with your company and is another crucial indicator of customer profitability 
    • Churn rate — the rate at which your company loses clients within a given timeframe — can indicate how well you’re retaining customers 
    • Return on investment (ROI) — the revenue generated by new clients compared to the initial costs of acquiring them — can help you identify the most effective customer acquisition channels 

    These metrics work hand in hand. There needs to be a balance between the revenue the customer generates over their lifetime and the costs related to attracting them.

    Ideally, you should be aiming for lower CAC and customer churn and higher CLTV ; that’s usually a solid indicator of financial health and sustainable growth. 

    Lower bank customer acquisition costs with Matomo 

    Acquiring new customers will require a lot of time and resources, regardless of the industry you’re working in — but can be even more challenging in the financial sector, where you have to adapt to the ever-changing customer expectations and demands. 

    The strategies outlined above — combined with a thorough understanding of your customer’s behaviours and preferences — can help you lower the cost of bank customer acquisition.

    On that note, you can learn a lot about your customers through web analytics — and use those insights to support your customer acquisition process and ensure you’re delivering a seamless online banking experience. 

    If you need an alternative to Google Analytics that doesn’t rely on data sampling and ensures compliance with the strictest privacy regulations, all while being easy to use, choose Matomo — the go-to web analytics platform for more than 1 million websites around the globe. 

    CTA : Start your 21-day free trial today to see how Matomo’s all-in-one solution can help you understand and attract new customers — all while respecting their privacy.