What You’ll Learn in This Article
In this guide, you’ll learn how to:
-
Embed a Digioh Inline campaign directly into your website without developer support
-
Use your browser’s Inspect tool to find the correct CSS selector
-
Configure your campaign as Inline in the Digioh editor
-
Adjust placement using the selector and insertion settings
Overview
Digioh Inline campaigns can be embedded directly into your website using a CSS selector, no developer required.
By targeting a specific element on your page, you can control exactly where your campaign appears.
Follow the steps below to set this up.
Step 1: Find the CSS Selector on Your Website
- Go to the page where you want to embed the Inline campaign.
- Right-click on the section of the page where the campaign should appear.
- Click Inspect. This will open your browser’s Developer Tools.

-
In the highlighted HTML element inside the Elements panel, right-click the correct container element.
-
Select Copy → Copy Selector. This copies the full CSS selector for that element.
Tip: Make sure you select the correct container element (for example, a div that wraps the section), not just a text element inside it.

Step 2: Add the Selector to Your Inline Campaign
- In Digioh, open your campaign in the Editor.
- Go to: Settings → Campaign Settings
- Change the campaign type to Inline.
- Under Position, select: CSS Selector (Advanced).

- Paste the selector you copied in Step 1 into the selector field.
- Choose your preferred Insertion Method (e.g., append, prepend, before, after).
The insertion method determines how the campaign is placed relative to the selected element.
- Click Apply & Close.
- Click Publish.
Important: Add a Display Rule
Your campaign must have at least one Display Rule in order to appear on the site.
Even if the selector is correct, the campaign will not display unless its targeting conditions are met.
You’re All Set
Your Inline campaign will now embed into the selected section of your site whenever:
-
The selector exists on the page
-
Display conditions are met
Need Help Finding the Right Selector?
If you’re having trouble identifying the correct selector:
-
Try Digioh’s Selector Generator
-
Or contact us at support@digioh.com – we’re happy to help