Open jkerbaugh opened 1 month ago
Thank you for highlighting this request. We will review it internally and keep you informed of any developments.
Hello @jkerbaugh, I would like to ask you to specify some things more in detail please.
What do you mean by WebPageLayout with a UI page ? Is that administration layout as there should be a section in a page builder which is a placeholder for a Tag, or one subpage in the pagebuilder, where you can add multiple tags to that site ? Is it an admin module, where you could manage all tags and each tag would display all webpageitems where it is used ?
In the tag configuration, should you be able to select a specific DOM event on which the tag loads ?
On top of this, you talk about "I as a marketer would like to add sharing buttons via JavaScript integration to specific pages on the site". Do you want to configure where the button would be added through pagebuilder ?
@bkapustik
Please see below, let me know if there is anything else I need to go further into detail on
DOMContentLoaded
, or loaded immediately where it was placed (top head, bottom head, top body, bottom body)
Expand on the current functionality for Tag Management to relate Custom Snippet items to Web Page Items to reduce the need for deployments to add custom JavaScript functionality to a specific page or pages in the Website Channel.
Technical Requirements
This feature request would be utilized to extend the site to add new client side functionality or style changes to a page or site overall without the need for deployments.
Use Cases
I have created a landing page utilizing a current prebuilt template on the site, I as a marketer would like to add custom tracking events to the page which would require a developer to add JavaScript functionality to the main sites JavaScript file or create a Custom LandingPage.js file that loads on that specific page template warranting a deployment to take place.
With the expanded functionality I would be able to ask the developer to add this custom code to the site and they would be able to upload a LandingPage.js file to the media library and then Navigate to the webpage in the channel and the appropriate script tag to that page.
I have created a landing page utilizing a current prebuilt template on the site, I as a marketer would like to add an external form via Marketo to the site which utilizes the Marketo JavaScript library to load the form on page load.
With the expanded functionality I would be able to ask the developer to add this custom code to the site and they would be able to add a snippet to the new landing page with the appropriate loaded that would load on DOMContentLoaded at the end of the body content.
I as a marketer would like to add sharing buttons via JavaScript integration to specific pages on the site, I would like to be able to create a snippet for the ShareThis.js library once that I can link to as many pages as I would like throughout the Website Channel, if I need to go back and enable/disable/modify this snippet I can.
With the expanded functionality I would be able to add a Code Snippet to the Tag Management Module and then be able to select an existing one to add to the Web Page Items of my choosing, then if the need arises and I need to disable this functionality I can go back to the Tag Management module to disable this tag or delete it
Optional Use Case - Inherit/Load tags from parent
I as the developer have gotten a request to add Social Sharing buttons to every page under a Blogs section on the site, this would require me currently to modify the rendering view for the Blog Post content type and then deploy the code to production.
With the expanded functionality I would be able to navigate to the blogs path in the Tree and have to ability to apply that snippet to all children under that path