2017 © Pedro Peláez
 

silverstripe-vendormodule silverstripe-interactives

A simple mechanism for implementing tracked interactive elements

image

nyeholt/silverstripe-interactives

A simple mechanism for implementing tracked interactive elements

  • Monday, July 30, 2018
  • by nyeholt
  • Repository
  • 1 Watchers
  • 1 Stars
  • 761 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 12 Versions
  • 13 % Grown

The README.md

SilverStripe Interactives Management module

A simple module to manage dynamic, interactive elements (including advertisements) on pages., (*1)

Maintainer Contact

Marcus Nyeholt, (*2)

, (*3)

Requirements

SilverStripe 4.x, (*4)

See the 1.x branch for SilverStripe 3 compatible code, (*5)

Documentation

Add, (*6)

PageController:
  extensions:
    - Symbiote\Interactives\Extension\InteractiveControllerExtension

to your project's configuration yml file., (*7)

Note that interactives are inherited hierarchically, so setting ads on the Site Config will mean those ads are used across all pages unless specified for a content tree otherwise., (*8)

  • Navigate to the "Interactives" section
  • Create an Interactive Campaign
  • Configure the campaign - "Use items as" refers to how items are displayed, based on
    • Always random - every time the campaign is displayed, one item is chosen randomly
    • Sticky random - the first time the campaign is displayed, one item is chosen randomly and always shown to that user on subsequent loads
    • All - all items are returned and displayed (think a multi-item ad list)
  • For the campaign site options, you can choose to display on the whole site, specific pages, or choose the whole site and exclude specific URLs
  • Once configured at the top level, add the interactive items themselves.

Interactives

A single interactive has a few options with how it is displayed., (*9)

  • Automatically generated link (Do not enter anything in the "HTMLContent" text area). If an image is attached to the interactive, this image is linked, otherwise the text in the Title field is linked
  • Custom entered HTML (provide in the HTMLContent field)
  • Binding to existing DOM nodes (only applicable if Location in / near element is set to "Existing content")

Target URLs for the interactive can be set as a fully qualified link, or an internal page object, (*10)

  • Relative Element is a jquery selector for inserting the interactive against; the "Location in" option provides the relative positioning to that element
  • Display frequency allows for displaying to only a subset of users (ie to display to 20 percent of people, set this value to 5)
  • The "Completion Element" is another jquery selector indicating the element on the target page that, if clicked, triggers a "complete" event for the given interactive. The usecase here being an interactive pointing to a userdefined form page, by setting this to the form submit button (eg #UserForm_Form_action_process) the submit of the form will be tracked
  • If HTMLContent is filled out, this is used as the content of the interactive.

Elements

To use elements as the content source, add the following to your project config, (*11)

Symbiote\Interactives\Model\Interactive:
  extensions:
    - Symbiote\Interactives\Extension\InteractiveElementalExtension

The Versions

30/07 2018

dev-master

9999999-dev https://github.com/nyeholt/silverstripe-interactives

A simple mechanism for implementing tracked interactive elements

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe advertisements ad campaign interactives

30/07 2018

2.1.2

2.1.2.0 https://github.com/nyeholt/silverstripe-interactives

A simple mechanism for implementing tracked interactive elements

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe advertisements ad campaign interactives

25/07 2018

2.1.1

2.1.1.0 https://github.com/nyeholt/silverstripe-interactives

A simple mechanism for implementing tracked interactive elements

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe advertisements ad campaign interactives

25/07 2018

2.1.0

2.1.0.0 https://github.com/nyeholt/silverstripe-interactives

A simple mechanism for implementing tracked interactive elements

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe advertisements ad campaign interactives

25/07 2018

2.0.1

2.0.1.0 https://github.com/nyeholt/silverstripe-interactives

A simple mechanism for implementing tracked interactive elements

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe advertisements ad campaign interactives

24/07 2018

2.0.0

2.0.0.0 https://github.com/nyeholt/silverstripe-interactives

A simple mechanism for implementing tracked interactive elements

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe advertisements ad campaign interactives

24/07 2018

dev-feature-ss4-upgrade

dev-feature-ss4-upgrade https://github.com/nyeholt/silverstripe-interactives

A simple mechanism for implementing tracked interactive elements

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe advertisements ad campaign interactives

21/12 2017

1.2.1

1.2.1.0 https://github.com/nyeholt/silverstripe-interactives

A simple mechanism for implementing tracked interactive elements

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe advertisements ad campaign interactives

20/12 2017

1.2.0

1.2.0.0 https://github.com/nyeholt/silverstripe-interactives

A simple mechanism for implementing tracked interactive elements

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe advertisements ad campaign interactives

15/12 2017

1.1.0

1.1.0.0 https://github.com/nyeholt/silverstripe-interactives

A simple mechanism for implementing tracked interactive elements

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe advertisements ad campaign interactives

20/02 2017

dev-feature-campaign-save-source

dev-feature-campaign-save-source https://github.com/nyeholt/silverstripe-interactives

A simple mechanism for implementing tracked interactive elements

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe advertisements ad campaign interactives

16/02 2017

dev-feature-js-inserted

dev-feature-js-inserted https://github.com/nyeholt/silverstripe-interactives

A simple mechanism for implementing tracked interactive elements

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe advertisements ad campaign interactives