2017 © Pedro Peláez
 

library sf-gemius-traffic-plugin

symfony 1.x plugin to add Gemius integration

image

tomasz-rup/sf-gemius-traffic-plugin

symfony 1.x plugin to add Gemius integration

  • Thursday, October 5, 2017
  • by tomasz.rup
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

sfGemiusTrafficPlugin plugin

Easily add Gemius Traffic tracking code to your presentation layer., (*1)

StyleCI, (*2)

Installation

  • Install plugin:, (*3)

    $ composer require tomasz-rup/sf-gemius-traffic-plugin
    
  • Add the sfGemiusTrafficFilter to your filter chain:, (*4)

    rendering: ~
    security:  ~
    
    # insert your own filters here
    gemius_traffic:
      class: sfGemiusTrafficFilter
    
    cache:     ~
    common:    ~
    execution: ~
    

Configure

  • Enable plugin in your application's app.yml file:, (*5)

    all:
      gemius_traffic_plugin:
        enabled: true
    
  • Optionally set the position of Gemius Traffic code:, (*6)

    all:
      gemius_traffic_plugin:
        insertion: 
    

    Note: POSITION_HEAD is the default position., (*7)

  • set the action identifier in module.yml:, (*8)

    all:
      index:
        gemius_traffic:
          params:
            identifier: 4re4r.4s4d55d2r5ff5.g1
    

    or set the module identifier:, (*9)

    all:
      gemius_traffic:
        params:
          identifier: 4re4r.4s4d55d2r5ff5.g1
    

Insertion positions

  • POSITION_HEAD, (*10)

    Insert in <head>, (*11)

  • POSITION_BODY_TOP, (*12)

    Insert as first element in <body>, (*13)

  • POSITION_BODY_BOTTOM, (*14)

Insert as last element in <body>, (*15)

Note

Plugin code is fork of sfGoogleAnalyticsPlugin., (*16)

The Versions

05/10 2017

dev-master

9999999-dev

symfony 1.x plugin to add Gemius integration

  Sources   Download

MIT

The Requires

 

by Tomasz Jakub Rup

symfony1 gemius symfony1-plugin

05/10 2017

1.0.0

1.0.0.0

symfony 1.x plugin to add Gemius integration

  Sources   Download

MIT

The Requires

 

by Tomasz Jakub Rup

symfony1 gemius symfony1-plugin