1) Create the Rule
From the Launch overview page, click on Rules within the main navigation.
On the Rules page, click on the Add Rule button on the right side of the page.
The Create Rule page will load. In the Name field, enter a descriptive name such as “Schema App Tag” so that the tag can be easily found if needed.
2) Configure the Event
In Launch, an Event defines when a tag should fire. In this case, we will have the tag fire once each page is loaded.
Click on the Add button under the “Events” section of the Create Rule page.
The Event Configuration page will load. There are several fields on this page. Under Extension, select “Core” if not already selected. Under Event Type, select “Page Bottom” (it will be near the end of the drop-down). The Name field should then populate automatically with “Core - Page Bottom” and Order is set to 50 by default; these fields can be left as is. Once your setup looks like the screenshot below, click on the “Keep Changes” button on the right side of the page.
The Events section of the Create Rule page should now look like this:
3) Configure the Action
The Action is where the Schema App code will be configured. On the Create Rule page, click on the Add button under the “Actions” section.
The Action Configuration page will load. Under Extension, selection “Core” if not already selected. Under Action Type, select “Custom Code” from the dropdown. The Name field should automatically be filled with “Core – Custom Code” so that the fields look like this:
Under Language, toggle the selection from JavaScript to HTML, and then click on the Open Editor button.
A code box will appear; enter the Schema App code in this box and then press the Save button in the upper right.
After saving the code, click on the Keep Changes button on the Action Configuration page.
4) Save Tag
After configuring the Action, the Create Rule age will load again. Even though the Event and the Action are saved, the tag is not yet created. Click on the Save button in the upper right to save the tag.
The tag should now be listed on the Rules page.
5) Validate and Publish Changes