Recherche avancée

Médias (0)

Mot : - Tags -/alertes

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

Autres articles (90)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

  • Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur

    8 février 2011, par

    La visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
    Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
    Configuration de la boite multimédia
    Dès (...)

Sur d’autres sites (5909)

  • How to track Google AdWords campaigns with Matomo

    19 décembre 2017, par InnoCraft

    In 2016, Google AdWords was the most popular ad service on earth. As a result, it may be your first source for ad spending. Are you interested in knowing whether you are making a profit out of it ? Would you like to know how to track users coming from AdWords with Matomo (Piwik) efficiently ? This is what this article is about.

    What you need to know about Google AdWords

    By default, each ad you create in Google AdWords is not tracked. Even worse than that, every click on your ad is identified in Matomo (Piwik) as an organic result coming from Google with the following value : “Keyword not defined”.

    To make it simple, if you do not track your AdWords campaigns both your paid and organic traffic will be biased within your Matomo (Piwik) account. It will be impossible for you to measure your return on investment and it means that you are throwing your money down the drain.

    In order to avoid this, we will show you how to track Google AdWords traffic into Matomo (Piwik).

    How to track paid Google AdWords campaigns into Matomo

    If you want to analyze Google AdWords campaigns within Matomo (Piwik) properly, you need to add additional tracking parameters to the final URL of each of your ads.

    We recommend using the following tool to add the needed additional tracking parameters : https://matomo.org/docs/tracking-campaigns-url-builder/

    You will then be able to push additional data to Matomo (Piwik) such as :

    • pk_campaign : the name of your ad campaign
    • pk_kwd : the keyword associated to this campaign
    • pk_source : the source of your campaign
    • pk_medium : the type of source, in our case either cpc, cpm, cpa
    • pk_content : the content of your ad

    If your campaign URL looks like this : https://your-website.com/, your campaign URL will then look like this after adding the campaign parameters :

    https://your-website.com/?pk_campaign=Name-Of-Your-Campaign&pk_kwd=Your-Keyword&pk_source=google&pk_medium=cpc&pk_content=My-Ad-Headline

    As each ad URL can be fired by different keywords and can correspond to different campaigns or headlines, you will need to customize the campaign parameters for each URL.

    Customizing all of your URLs individually would take you a lot of time under circumstances. That’s why you should know, that each URL parameter can be filled automatically in AdWords with a feature called “Tracking template”.

    Simplifying the campaign URL parameters with tracking templates

    You can define tracking templates either at the account, campaign or ad group level. For example, by using a tracking template at the account level, all your campaigns will have the same landing page with the URL parameters you defined in the tracking template. By defining it at the campaign level, it means that all your ad groups within the campaign will have the same landing page and so on and so forth. Any tracking template defined in a campaign, will overwrite a tracking template defined at the account level.

    Tracking template at the account level

    To edit the template at the account level, you need to click on “Settings”, then click on the “Account” settings tab and define your tracking template pattern. For example :

    https://your-website.com/?url={lpurl}&pk_campaign=AdWords&pk_kwd=Your-Keyword&pk_source=google&pk_medium=cpc&pk_content=My-Ad-Headline

    This will apply to all your URLs within your account. So it is only useful if your website domain is the same across all your ads. The URL parameter is compulsory here.

    It can be limiting to have a static value for “pk_campaign” and “pk_kwd” so Google allows you to use dynamic insertion, such as follows :

    https://your-landing-page.com/?url={lpurl}&pk_campaign={campaignid}&pk_kwd={keyword}&pk_source=google&pk_medium=cpc&pk_content={creative}

    The “keyword” means that the data is automatically replaced with the keyword which fired the ad within your account.

    Visit the following page if you want to know more about the different dynamic tags that AdWords supports : https://support.google.com/adwords/answer/6305348#urlinsertion

    Tracking template at the campaign level

    If you wish to define a tracking template at the campaign level, you will find this option within the “Campaign” settings under the campaign URL options :

    Tracking template at the Ad Group level

    You can also set it at the Ad Group level within the “Ad Group” settings :

    As Google mentions : “If you set up URL options at the campaign level, ad group level, or ad level, those settings will override the account-level options“.

    Now that your URLs are properly configured, you will be able to analyze AdWords traffic performances within Matomo (Piwik) once a click is coming from those sources.

    Did you like this article ? If yes, do not hesitate to share it or give us your feedback about the topic you would like us to write about.

  • How to track Google AdWords campaigns with Piwik

    19 décembre 2017, par InnoCraft

    In 2016, Google AdWords was the most popular ad service on earth. As a result, it may be your first source for ad spending. Are you interested in knowing whether you are making a profit out of it ? Would you like to know how to track users coming from AdWords with Piwik efficiently ? This is what this article is about.

    What you need to know about Google AdWords

    By default, each ad you create in Google AdWords is not tracked. Even worse than that, every click on your ad is identified in Piwik as an organic result coming from Google with the following value : “Keyword not defined”.

    To make it simple, if you do not track your AdWords campaigns both your paid and organic traffic will be biased within your Piwik account. It will be impossible for you to measure your return on investment and it means that you are throwing your money down the drain.

    In order to avoid this, we will show you how to track Google AdWords traffic into Piwik.

    How to track paid Google AdWords campaigns into Piwik

    If you want to analyze Google AdWords campaigns within Piwik properly, you need to add additional tracking parameters to the final URL of each of your ads.

    We recommend using the following tool to add the needed additional tracking parameters : https://piwik.org/docs/tracking-campaigns-url-builder/

    You will then be able to push additional data to Piwik such as :

    • pk_campaign : the name of your ad campaign
    • pk_kwd : the keyword associated to this campaign
    • pk_source : the source of your campaign
    • pk_medium : the type of source, in our case either cpc, cpm, cpa
    • pk_content : the content of your ad

    If your campaign URL looks like this : https://your-website.com/, your campaign URL will then look like this after adding the campaign parameters :

    https://your-website.com/?pk_campaign=Name-Of-Your-Campaign&pk_kwd=Your-Keyword&pk_source=google&pk_medium=cpc&pk_content=My-Ad-Headline

    As each ad URL can be fired by different keywords and can correspond to different campaigns or headlines, you will need to customize the campaign parameters for each URL.

    Customizing all of your URLs individually would take you a lot of time under circumstances. That’s why you should know, that each URL parameter can be filled automatically in AdWords with a feature called “Tracking template”.

    Simplifying the campaign URL parameters with tracking templates

    You can define tracking templates either at the account, campaign or ad group level. For example, by using a tracking template at the account level, all your campaigns will have the same landing page with the URL parameters you defined in the tracking template. By defining it at the campaign level, it means that all your ad groups within the campaign will have the same landing page and so on and so forth. Any tracking template defined in a campaign, will overwrite a tracking template defined at the account level.

    Tracking template at the account level

    To edit the template at the account level, you need to click on “Settings”, then click on the “Account” settings tab and define your tracking template pattern. For example :

    https://your-website.com/?url={lpurl}&pk_campaign=AdWords&pk_kwd=Your-Keyword&pk_source=google&pk_medium=cpc&pk_content=My-Ad-Headline

    This will apply to all your URLs within your account. So it is only useful if your website domain is the same across all your ads. The URL parameter is compulsory here.

    It can be limiting to have a static value for “pk_campaign” and “pk_kwd” so Google allows you to use dynamic insertion, such as follows :

    https://your-landing-page.com/?url={lpurl}&pk_campaign={campaignid}&pk_kwd={keyword}&pk_source=google&pk_medium=cpc&pk_content={creative}

    The “keyword” means that the data is automatically replaced with the keyword which fired the ad within your account.

    Visit the following page if you want to know more about the different dynamic tags that AdWords supports : https://support.google.com/adwords/answer/6305348#urlinsertion

    Tracking template at the campaign level

    If you wish to define a tracking template at the campaign level, you will find this option within the “Campaign” settings under the campaign URL options :

    Tracking template at the Ad Group level

    You can also set it at the Ad Group level within the “Ad Group” settings :

    As Google mentions : “If you set up URL options at the campaign level, ad group level, or ad level, those settings will override the account-level options“.

    Now that your URLs are properly configured, you will be able to analyze AdWords traffic performances within Piwik once a click is coming from those sources.

    Did you like this article ? If yes, do not hesitate to share it or give us your feedback about the topic you would like us to write about.

  • FileSystemWatcher not firing events for files opened in ffmpeg

    2 février 2018, par kozima

    I’m trying to check the last time a file has changed its size using FileSystemWatcher but the file is still opened in another program(ffmpeg.exe). I don’t know why the changed event is not fired.
    Following is my code :

    using (var proc = new Process())
               {

                   Console.WriteLine("Iniciando gravação da stream:"+url);
                   proc.StartInfo.FileName = AppDomain.CurrentDomain.BaseDirectory + @"\ffmpeg.exe";
                   proc.StartInfo.Arguments = @"-y -i " + url + @" -ab 32k -ac 1 -ar 11025 " + idStation + "_" + DateTime.Now.ToString("yyyyMMddHHmmss") + ".mp3";

                   proc.StartInfo.RedirectStandardOutput = true;

                   proc.StartInfo.RedirectStandardError = true;
                   proc.StartInfo.RedirectStandardInput = true;

                   proc.StartInfo.UseShellExecute = false;
                   proc.StartInfo.CreateNoWindow = true;

                   proc.EnableRaisingEvents = true;

                   proc.Start();

                   proc.BeginOutputReadLine();
                   proc.BeginErrorReadLine();


                   proc.ErrorDataReceived += new DataReceivedEventHandler(CheckOutput);

                   FileSystemWatcher fileSizeChecker = new FileSystemWatcher();
                   fileSizeChecker.Changed += WatchFile;
                   fileSizeChecker.Path = Path.GetDirectoryName(AppDomain.CurrentDomain.BaseDirectory + @"\" + idStation + "_" + DateTime.Now.ToString("yyyyMMddHHmmss") + ".mp3");
                   fileSizeChecker.Filter = Path.GetFileName(AppDomain.CurrentDomain.BaseDirectory + @"\" + idStation + "_" + DateTime.Now.ToString("yyyyMMddHHmmss") + ".mp3");
                   fileSizeChecker.EnableRaisingEvents = true;
                   fileSizeChecker.BeginInit();
               }
    static void WatchFile(object sender, FileSystemEventArgs e)
       {
           Console.WriteLine(DateTime.Now.ToString("T") + "] Watcher changed!");
       }

    WatchFile is never called.