Appearance
Promotion module overview
Introduction
The promotion module deals with the management, placement and statistics (?) of internal promotional advertisements, placed throughout the content of our platform. We call these Onsite Ads, opposed to external promotion campaigns we may run on 3rd party sites.
Onsite Ads
Onsite ads are visual elements in our platform, that are injected into various places throughout the site. They are visibly composed of:
- a static CTA Url, often linked to a Campaign and offer we are running
- one of three Ad images: Banner Image, Portrait Image, Column Image, depending on the current screen size

Placement
Onsite ads can be shown in the following areas of our platform:
- Home page: above ‘Global Companies Who Trust Us’ section and in the footer
- Courses page: above “Intermediate User Experience Courses” section and in the footer
- Masterclass page: in the footer
- Community page: at the bottom of the upcoming webinars section and in the footer
- Literature page: in the sidebar and in the footer
- All About Us pages: in the footer
- All articles: below the 3rd paragraph
NOTE
At the moment of writing all Onsite ads are inactive.
Please refer to the Visibility restrictions for more detailed information.
There is also an ongoing discussion on slack deciding what to with Onsite in the future.
Dynamic RTE placements in articles
Onsite ads may be placed explicitly using the rich text editor, when adding or editing an article.
If an ad placement is included in an article, an additional ad will not be added after the 3rd paragraph, ads will only load at the indicated spaces.
This is not a guarantee that an ad will be visible to all users but does indicate the location(s) ads will be placed if available.

Geo restrictions
We can serve a Onsite ads to guests and/or members based on their location. Geo targeted ads will only be displayed for guests/members in one of the selected counties.
To manage geo targets, please use the Nova panel and assign .
Management
Onsite ads are managed on Nova. You can create as many onsite ads as you wish. Each one will be injected at random when a page loads that has an ad injection spot on it.

Visibility restrictions
Onsite Ads have different properties that allow to configure under which conditions they are shown in our portal.
Enabled is a general switch that allows to deactivate the ad, regardless all other visibility settings.
Visible to guests? and Visible to members? allow to define if its is shown to guest and/or members
The expiration date defines the day and time after which this ad become invisible.
In PHP
php
/*
* @property bool $is_enabled
* @property bool $is_visible_to_members
* @property bool $is_visible_to_guests
* @property \Illuminate\Support\Carbon|null $expires_at
*/Images
Each ad has 3 different images assigned at its creation
Banner Image
The banner image is 1024px by 126px in size. It is only shown on large screen devices.

Portrait Image
The portrait image is 256px by 339px in size. It is shown in place of banner ads, when using a small-screen mobile device.

Column Image
The column image is 464px by 126px in size. It is displayed within sidebars, such as on the literature page.

Statistics
Clicks could be tracked via OnsiteAdClicked Event, buts its Listener UpdateOnsiteAdClicks seems to be unused.