{"id":2945,"date":"2023-02-14T17:42:35","date_gmt":"2023-02-14T17:42:35","guid":{"rendered":"https:\/\/obo.zoj.mybluehost.me\/uncategorized\/global-script-library\/"},"modified":"2025-01-09T12:39:01","modified_gmt":"2025-01-09T12:39:01","slug":"global-script-library","status":"publish","type":"post","link":"https:\/\/ioninteractive.com\/ionacademy\/global-script-library\/","title":{"rendered":"Global Script Library"},"content":{"rendered":"\n<p>Ion&#8217;s global script library enables you to store and manage your third-party tracking scripts and\/or custom Javascript solutions for use on your ion experiences. You&#8217;ll organize your scripts in categories and, once saved, pull them into the &lt;head&gt; &nbsp;or before the closing &lt;\/body&gt; tag at the campaign, creative or page-level. Any changes made to script stored in the library automatically rolls out to the pages it&#8217;s implemented on.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">&nbsp;If you have a script ready-for-use, follow the steps below to add it to the global library, then implement on an ion experience.<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\n<h4><strong><a href=\"#library\" rel=\"noopener\">Add script to ion library<\/a><\/strong><\/h4>\n<\/li>\n\n\n\n<li><h4><strong><a href=\"#experience\" rel=\"noopener\">Add script to ion experience(s)<\/a><\/strong><\/h4>\n<ol class=\"wp-block-list\">\n<li>\n<h4><strong><a href=\"#campaign\" rel=\"noopener\">Add script to an entire Campaign<\/a><\/strong><\/h4>\n<\/li>\n\n\n\n<li>\n<h4><strong><a href=\"#creative\" rel=\"noopener\">Add script to a Creative<\/a><\/strong><\/h4>\n<\/li>\n\n\n\n<li> <h4><a href=\"#script-page\"><strong>Add script to a page<\/strong><\/a><\/h4> <\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Let&#8217;s get started!<\/strong><\/h3>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"library\"><strong>1. Add script to ion library<\/strong><\/h3>\n\n\n\n<p><em>Follow the steps below to store scripts for use in ion experiences.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"550\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.44.28-PM-1024x550.png\" alt=\"\" class=\"wp-image-6383\" srcset=\"https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.44.28-PM-1024x550.png 1024w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.44.28-PM-300x161.png 300w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.44.28-PM-768x412.png 768w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.44.28-PM-585x314.png 585w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.44.28-PM.png 1498w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Click the Libraries&#8217; icon on the left side navigation and click Scripts<\/li>\n\n\n\n<li>To add a new category, click the blue \u201cNew script category\u201d button, add a title, optional description and save\n<ul class=\"wp-block-list\">\n<li>We recommend using the script vendor&#8217;s name as the title<\/li>\n<\/ul>\n<\/li>\n\n\n\n<li>Click the blue \u201cNew script,\u201d button, add a label, select the Cookie Category, paste the script into the editor and save<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"544\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.48.57-PM-1024x544.png\" alt=\"\" class=\"wp-image-6384\" srcset=\"https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.48.57-PM-1024x544.png 1024w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.48.57-PM-300x159.png 300w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.48.57-PM-768x408.png 768w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.48.57-PM-585x311.png 585w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.48.57-PM.png 1498w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>i.e. Google Analytics &#8211; Campaign &#8211; Closing body<\/li>\n\n\n\n<li>We recommend using the scope and position of the script as the label<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"experience\"><strong>2. Add script to ion experience(s)<\/strong><\/h3>\n\n\n\n<p><em>Follow the steps below to add scripts to your ion experiences.<\/em><\/p>\n\n\n\n<p><em>Scripts added to the campaign will be implemented on every page in every creative within that campaign.<\/em><\/p>\n\n\n\n<p><em>Scripts added to the creative will be implemented on every page within the creative.<\/em><\/p>\n\n\n\n<p><em>You can also add scripts to individual pages using Creative Studio.<\/em><\/p>\n\n\n\n<p id=\"campaign\"><strong>A. Add script to an entire Campaign<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Navigate to an existing Campaign Management screen or add a new campaign to a portfolio<\/li>\n\n\n\n<li>Click on the actions dropdown and click edit campaign<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"530\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.51.47-PM-1024x530.png\" alt=\"\" class=\"wp-image-6385\" srcset=\"https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.51.47-PM-1024x530.png 1024w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.51.47-PM-300x155.png 300w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.51.47-PM-768x397.png 768w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.51.47-PM-585x303.png 585w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.51.47-PM.png 1514w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"554\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.58.11-PM-1024x554.png\" alt=\"\" class=\"wp-image-6386\" srcset=\"https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.58.11-PM-1024x554.png 1024w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.58.11-PM-300x162.png 300w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.58.11-PM-768x416.png 768w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.58.11-PM-585x317.png 585w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-4.58.11-PM.png 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>From the head or closing body editor, select the script category and script from the drop-down menus<\/li>\n\n\n\n<li>Save<\/li>\n<\/ul>\n\n\n\n<p id=\"creative\"><strong>B. Add script to a Creative<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Navigate to an existing Creative Management screen or add a new creative to a campaign<\/li>\n\n\n\n<li>Click on the the &#8220;Edit creative properties&#8221; button if adding to an existing creative<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"540\" loading=\"lazy\" src=\"https:\/\/obo.zoj.mybluehost.me\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-5.01.35-PM-1024x540.png\" alt=\"\" class=\"wp-image-6387\" srcset=\"https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-5.01.35-PM-1024x540.png 1024w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-5.01.35-PM-300x158.png 300w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-5.01.35-PM-768x405.png 768w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-5.01.35-PM-585x308.png 585w, https:\/\/ioninteractive.com\/ionacademy\/wp-content\/uploads\/2023\/02\/Screen-Shot-2024-04-05-at-5.01.35-PM.png 1497w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>From the head or closing body editor, select the script category and script from the drop-down menus<\/li>\n\n\n\n<li>Save<\/li>\n<\/ul>\n\n\n\n<p id=\"script-page\"><strong>C. Add script to a page<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Navigate into creative studio<\/li>\n\n\n\n<li>Under the Page tab, click +Scripts<\/li>\n\n\n\n<li>Select the script category then script from the head, form or closing body editor<\/li>\n\n\n\n<li>Save<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Nice work!<\/strong><\/h3>\n\n\n\n<p>Feel free to reach out to your account manager if you run into any questions around using ion&#8217;s global script library to store and manage Javascript for use in ion experiences.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\" \/>\n\n\n\n<p>If you have any questions, please contact us on <a href=\"mailto:help@ioninteractive.com\" rel=\"noopener noreferrer nofollow\">help@ioninteractive.com<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ion&#8217;s global script library enables you to store and manage your third-party tracking scripts and\/or custom Javascript solutions for use on your ion experiences. You&#8217;ll organize your scripts in categories and, once saved, pull [&hellip;]<\/p>\n","protected":false},"author":9,"featured_media":5749,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","footnotes":""},"categories":[2097,2078],"tags":[2147,2202],"class_list":["post-2945","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scripts","category-the-advanced-capabilites","tag-ion-libraries","tag-script"],"_links":{"self":[{"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/posts\/2945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/users\/9"}],"replies":[{"embeddable":true,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/comments?post=2945"}],"version-history":[{"count":4,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/posts\/2945\/revisions"}],"predecessor-version":[{"id":7132,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/posts\/2945\/revisions\/7132"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/media\/5749"}],"wp:attachment":[{"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/media?parent=2945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/categories?post=2945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ioninteractive.com\/ionacademy\/wp-json\/wp\/v2\/tags?post=2945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}