Abuja Digital Studio · Est. 2018
Start a Project
DocsOCodeInsertTargeting rules
Reference

Targeting rules

OCodeInsertorravo.com/docs/ocodeinsert/targeting

Page-type targeting

ValueMatches
allEvery page (default)
frontis_front_page()
singleis_singular()
archiveCategory, tag, date archives, blog index
searchis_search()
404is_404()

URL pattern targeting

Comma-separated URL paths relative to the domain root. Use * as a wildcard. Case-insensitive; trailing slashes ignored.

/about, /blog/*, /shop/product-category/*

User condition

ValueBehavior
allEvery visitor (default)
logged_inOnly logged-in users
logged_outOnly logged-out visitors

Check order

All conditions must pass before the snippet fires:

  1. Plugin globally enabled?
  2. Safe Mode off?
  3. ?oci_safe=1 not in URL?
  4. Page type matches?
  5. User condition matches?
  6. URL pattern matches?
  7. Snippet itself is active?

If any check fails, the snippet stays out of the page.

Targeting rules · OCodeInsert Docs | Orravo