The values you enter in a text field are literal, with the exception of %data_element%
syntax, which signifies a reference to a Data Element (there are a couple of other built-in variable references, as well).
Point is, if you want to populate your Adobe Analytics variable from scraping page content, you need to create a Data Element that returns the desired value, and then reference the Data Element in the text field for the Adobe Analytics variable.
That aside, your selector is wrong. What you've done is some weird mix of css selector and javascript syntax.
Below is an example of what you can do, based on your posted HTML:
<div class="field field-name-title">
<h2>Online Education</h2>
<div class="field field-name-body">
<p>
<em> by Author Name</em>
</p>
</div>
</div>
Data Element: Article Title
First, create a Data Element to get the article title from the page, based on your html structure.
Go to Rules >
Data Elements >
Create New Data Element
Fill out the fields with the following:
- Name:
article_title
- Type:
CSS Selector
- CSS Selector Chain:
div.field-name-title h2
- get the value of:
text
[X]
Scrub whitespace and linebreaks using cleanText
Then, click Save Changes

Data Element: Article Author
Next, create another Data Element to get the article author from the page, based on your html structure.
Go to Rules >
Data Elements >
Create New Data Element
Fill out the fields with the following:
- Name:
article_author
- Type:
CSS Selector
- CSS Selector Chain:
div.field-name-body em
- get the value of:
text
[X]
Scrub whitespace and linebreaks using cleanText
Then, click Save Changes

Page Load Rule: Populate Variables
Finally, within the various form fields of your Page Load Rule, you can now reference your Data Elements with %data_element_name%
syntax.
Tip: Once you start typing the Data Element name out (starting with %
prefix), DTM will show an auto-complete dialog, listing Data Elements matched.

If you need to reference the Data Element within a javascript custom code box within the Page Load Rule, you can use the following syntax:
_satellite.getVar('data_element_name');
Where 'data_element_name'
is the name of your Data Element.
Example:
s.prop1 = _satellite.getVar('article_title');
Note: Unlike the form field syntax, you should not wrap your Data Element's name with %