This premium tutorial provides the steps to add a custom condition using which elements in Oxygen can be output based on the value of specific URL parameter like /?referrer=facebook.
Use Case
Let's say you want to output a section having for example, a welcome message on the front end only for users that visit your site from Facebook and you want to output another Section only for visitors that land on your Page after clicking through a link in Twitter.
To achieve this personalization, you could
define "referrer" query variable in WordPress
register a condition that returns true if the URL parameter matches with the one user enters in the condition
set condition for your Oxygen sections i.e., enter facebook as the value of referrer URL parameter for the Facebook section and twitter as the value of referrer URL parameter for Twitter section.
use referrer query variable in your URLs like example.com/?referrer=facebook and example.com/?referrer=twitter