Is it possible to include html such as an anchor tag in the modal offer window extension?

Gold Contributor
Gold Contributor
 
1 REPLY 1

Is it possible to include html such as an anchor tag in the modal offer window extension?

Tealium Employee

Hi @joseph_brown,

Yes, it is possible, if you use the Custom Modal Publish Mode, rather than the Standard Mode.

 

For example, if you just wanted a link to Google, you could have a HTML Code filled in as follows, using the Custom Mode;

 

<div id="_tealiumModalWindow">
<div id="_tealiumModalHeader">##MDLHD##</div>
<div id="_tealiumModalBody">##MDLBDY##Custom Body<a href="http://www.google.com">Click</a></div>
<div id="_tealiumModalFooter">##MDLFT##</div>
<div id="_tealiumModalClose" class="tClsIcn" onclick="utag.extn.mdlW.dismiss()">X</div>
<div>

 

See https://community.tealiumiq.com/t5/Developers/Modal-Offer-Extension/m-p/1726/highlight/true#M3871 for more detail on the Modal Offer Extension.

 

Note that

1. ##MDLBDY## is a placeholder for whatever you entered (if anything) in the standard publish mode for the body.

2. You need to use double quotes, not single quotes, for the HTML attribute properties in the HTML you want to insert into the Modal.

 

Thanks

Mark

Public