Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Promo.php « ProfessionalServices « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 36f8ae155d8a4153010f2424f9372d4ff94bb630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?php
/**
 * Piwik - free/libre analytics platform
 *
 * @link http://piwik.org
 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
 */

namespace Piwik\Plugins\ProfessionalServices;

class Promo
{
    protected $linkTitles = array('Read more', 'Learn more');

    protected $content = array(
        array(
            'campaignContent' => 'discoverPower',
            'text' => 'Discover the power of open-source combined with enterprise-grade support and premium functionalities.'
        ),
        array(
            'campaignContent' => 'bringEnterpriseLevel',
            'text' => 'Bring your analytics to enterprise level. Upgrade your Piwik platform and receive access to numerous premium features and assistance from experts.'
        ),
        array(
            'campaignContent' => 'funnelAnalytics',
            'text' => 'Want Funnel Analytics? Get Premium features and enterprise-grade support.'
        ),
        array(
            'campaignContent' => 'monitoringAndIncident',
            'text' => 'Do you need 24/7 Monitoring and Incident Handling for your Piwik? Get Premium features and enterprise-grade support.'
        ),
        array(
            'campaignContent' => 'slowingDown',
            'text' => 'Is your Piwik slowing down? Piwik experts can help with your server setup!'
        ),
        array(
            'campaignContent' => 'excitingFeatures',
            'text' => 'Want to know how to use all the exciting features in Piwik? Try a User training to be up to speed with working with Piwik.'
        ),
        array(
            'campaignContent' => 'slowingDown',
            'text' => 'Did you know you can adjust the look and feel of Piwik to your brand, and even replace "Piwik" with your product name? Try the White Label product!',
        ),
        array(
            'campaignContent' => 'metaSites',
            'text' => 'Did you know you can aggregate the tracked data across hundreds of sites and display it in a single dashboard? Get Premium features and enterprise-grade support.',
        ),
    );

    public function getLinkTitle()
    {
        $titles = $this->linkTitles;
        shuffle($titles);

        return array_shift($titles);
    }

    public function getContent()
    {
        $content = $this->content;
        shuffle($content);

        return array_shift($content);
    }
}