Support "Evaluate as Javascript" option

Created on 20 March 2013, over 12 years ago
Updated 20 July 2025, 28 days ago

I need to place a javascript function in a targeter value. The DART module has a checkbox "Evaluate as javascript" that allows this. The Google Publisher Tags module appears to support this as well.

As I understand it, dfp_format_targeting() will convert quotes and such to their html entities and add quotation marks around the whole thing-- even stuff added with hook_dfp_tag_alter() and hook_dfp_tag_load_alter().

Am I seeing this correctly? Is there a way currently to have targeting values treated as javascript?

Thanks!

✨ Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States scottatdrake

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024